Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation

Collection of models that validate the blocks in the AutoTuner

Information

This package contains models that validate the blocks in Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.

Package Content

Name Description
Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI PI Test model for calculating parameters of a PI controller
Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID PID Test model for calculating parameters of a PID controller

Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI

Test model for calculating parameters of a PI controller

Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI

Information

Validation test for the block Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.PI.

The input kp varies from 1 to 2, input T varies from 0.5 to 1, and input L varies from 0.3 to 0.6.

The control gain and the time constant of the integral term are calculated based on the equations shown in Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.AutoTuner.BaseClasses.AMIGO.PIGain and Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.AutoTuner.AMIGO.BaseClasses.PIIntegralTime.

Modelica definition

model PI "Test model for calculating parameters of a PI controller" Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.PI PI "Blocks that calculates the control gain and the integral time"; Buildings.Controls.OBC.CDL.Reals.Sources.Ramp kp( duration=1, offset=1, height=1) "Gain of a first-order plus time-delay (FOPTD) model"; Buildings.Controls.OBC.CDL.Reals.Sources.Ramp T( duration=1, offset=0.5, height=0.5) "Time constant of the FOPTD model"; Buildings.Controls.OBC.CDL.Reals.Sources.Ramp L( duration=1, offset=0.3, height=0.3) "Time delay of the FOPTD model"; equation connect(L.y, PI.L); connect(T.y, PI.T); connect(kp.y, PI.kp); end PI;

Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID

Test model for calculating parameters of a PID controller

Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID

Information

Validation test for the block Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.PID.

The input kp varies from 1 to 2, input T varies from 0.5 to 1, and input L varies from 0.3 to 0.6.

The control gain, the time constant of the integral term, and the time constant of the derivative term are calculated based on the equations shown in Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.AutoTuner.BaseClasses.AMIGO.PIDGain, Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.AutoTuner.AMIGO.BaseClasses.PIDIntegralTime, and Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.AutoTuner.AMIGO.BaseClasses.PIDDerivativeTime.

Modelica definition

model PID "Test model for calculating parameters of a PID controller" Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.PID PID "Block that calculates the control gain, the integral time, and the derivative time"; Buildings.Controls.OBC.CDL.Reals.Sources.Ramp kp( duration=1, offset=1, height=1) "Gain of a first-order plus time-delay (FOPTD) model"; Buildings.Controls.OBC.CDL.Reals.Sources.Ramp T( duration=1, offset=0.5, height=0.5) "Time constant of the FOPTD model"; Buildings.Controls.OBC.CDL.Reals.Sources.Ramp L( duration=1, offset=0.3, height=0.3) "Time delay of the FOPTD model"; equation connect(kp.y, PID.kp); connect(T.y, PID.T); connect(PID.L, L.y); end PID;