modelPIDWithResetScale

Test model for PID controller with reset and scaling of the control error

Information

Validation test for the block Buildings.Controls.OBC.CDL.Reals.PIDWithReset with and without setting of the parameter that scales the control error.

The test has two combinations of a PID controller and a plant. In PIDSca, the control error is scaled inside the controller, whereas in the configuration that has PIDNoSca, the setpoint signal and the measurement signal is scaled outside of the controller. Both controllers and plants have the same trajectory, thereby validating that the scaling is implemented correctly.

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Reals.Sources.PulsepulseSetpoint
Buildings.Controls.OBC.CDL.Reals.PIDWithResetpidScaPID controller with scaling of control input
Buildings.Controls.OBC.CDL.Reals.IntegratorWithResetpla1Plant model
Reals.Sources.ConstantresValReset value
Logical.Sources.ConstantresSigReset signal
Buildings.Controls.OBC.CDL.Reals.PIDWithResetpidNoScaPID controller without scaling of control input
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametergaiGain to scale setpoint
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametergai1Gain to scale measured value
Buildings.Controls.OBC.CDL.Reals.IntegratorWithResetpla2Plant model
Logical.Sources.PulsebooPulPulse for controller reset

Revisions