Skip to content

Bug in PITemp of ideal heater #1641

Description

@HvanderStok

The AixLib.Controls.Continuous.PITemp model used in the Ideal Heaters will output a spike higher than the min output value on the switch from on to off even if the measured value is constantly above the set point. This should not be the case and is caused by setting the measured value to the set value, which makes the P-value of the PI-Controller zero, but numeric problems cause a small I-value, which is normally compensated by the P-value when the measured value is higher than the set point. The output value goes back to zero because of the triggeredTrapezoid block, whose parameters are not propagated to the top level.

Image

To solve this behavior, the PI block should always get the real measured value, and the triggeredTrapezoid block should bring the continuous PI controller output to zero.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions