modeldecentralNetController

Parameters

TypeNameDefaultDescription
dhcSim.DHC.ControlSystems.Types.ControlerTypesctrlTypedhcSim.DHC.ControlSystems.Types.ControlerTypes.synchronDefine control type
IntegernPro1Number of producers
Modelica.SIunits.MassFlowRatem_flow_nominalNominal mass flow rate
Modelica.SIunits.MassFlowRatem_flow_min0.001*m_flow_nominalMinimal mass flow rate
Integer[nPro]seq1:nProSequence of producer control
Realsign_inp1Sign of input signals (1, -1). Use -1 for negetaive input values
RealctrlOffset0.01Offset between measured and set input value of controller if outside of cotrol range
Modelica.Blocks.Types.SimpleControllercontrollerTypeModelica.Blocks.Types.SimpleController.PIDType of controller
Realk1Gain of controller
Modelica.SIunits.TimeTi0.5Time constant of Integrator block
Modelica.SIunits.TimeTd0.1Time constant of Derivative block
Realwp1Set-point weight for Proportional block (0..1)
Realwd0Set-point weight for Derivative block (0..1)
RealNi0.9Ni*Ti is time constant of anti-windup compensation
RealNd10The higher Nd, the more ideal the derivative block
Initialization
Modelica.Blocks.Types.InitPIDinitTypeModelica.Blocks.Types.InitPID.DoNotUse_InitialIntegratorStateType of initialization (1: no init, 2: steady state, 3: initial state, 4: initial output)
Realxi_start0Initial or guess value value for integrator output (= integrator state)
Realxd_start0Initial or guess value for state of derivative block
Realy_start0Initial value of output
Advanced
Booleanstricttrue= true, if strict limits with noEvent(..)
Integrator reset
dhcSim.Types.ResetresetdhcSim.Types.Reset.DisabledType of controller output reset
Realy_resetxi_startValue to which the controller output is reset if the boolean trigger has a rising edge, used if reset == dhcSim.Types.Reset.Parameter

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputm_flow_input
Modelica.Blocks.Interfaces.RealOutputProCtrl_out

Components

TypeNameDefaultDescription
Real[nPro]ProCtrlControl variable of producers
Buildings.Controls.Continuous.LimPIDconPID
Modelica.Blocks.Sources.RealExpressionu_s_exp
Modelica.Blocks.Sources.RealExpressionu_m_exp
Modelica.Blocks.Sources.RealExpressionProCtrl_exp