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

Collection of validation models

Information

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

Package Content

Name Description
Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime PIDDerivativeTime Test model for calculating the derivative time for a PID controller
Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain PIDGain Test model for calculating the control gain for a PID controller
Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime PIDIntegralTime Test model for calculating the integral time for a PID controller
Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain PIGain Test model for calculating the gain for a PI controller
Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime PIIntegralTime Test model for calculating the integral time for a PI controller

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

Test model for calculating the derivative time for a PID controller

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

Information

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

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

Modelica definition

model PIDDerivativeTime "Test model for calculating the derivative time for a PID controller" Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.PIDDerivativeTime PIDDerTim "Blocks that calculates the integral time"; Buildings.Controls.OBC.CDL.Reals.Sources.Ramp T( duration=1, offset=0.5, height=0.5) "Time constant of a first-order plus time-delay (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(T.y, PIDDerTim.T); connect(L.y, PIDDerTim.L); end PIDDerivativeTime;

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

Test model for calculating the control gain for a PID controller

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

Information

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

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.

Modelica definition

model PIDGain "Test model for calculating the control gain for a PID controller" Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.PIDGain PIDGai "Blocks that calculates the control gain"; 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, PIDGai.kp); connect(T.y, PIDGai.T); connect(PIDGai.L, L.y); end PIDGain;

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

Test model for calculating the integral time for a PID controller

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

Information

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

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

Modelica definition

model PIDIntegralTime "Test model for calculating the integral time for a PID controller" Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.PIDIntegralTime PIDIntTim "Blocks that calculates the integral time"; Buildings.Controls.OBC.CDL.Reals.Sources.Ramp T( duration=1, offset=0.5, height=0.5) "Time constant of a first-order plus time-delay (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(T.y, PIDIntTim.T); connect(L.y, PIDIntTim.L); end PIDIntegralTime;

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

Test model for calculating the gain for a PI controller

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

Information

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

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.

Modelica definition

model PIGain "Test model for calculating the gain for a PI controller" Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.PIGain PIGai "Blocks that calculates the gain"; 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, PIGai.L); connect(T.y, PIGai.T); connect(kp.y, PIGai.kp); end PIGain;

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

Test model for calculating the integral time for a PI controller

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

Information

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

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

Modelica definition

model PIIntegralTime "Test model for calculating the integral time for a PI controller" Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.PIIntegralTime PIIntTim "Block that calculates the integral time"; Buildings.Controls.OBC.CDL.Reals.Sources.Ramp T( duration=1, offset=0.5, height=0.5) "Time constant of a first-order plus time-delay (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(T.y, PIIntTim.T); connect(L.y, PIIntTim.L); end PIIntegralTime;