blockCtrThrottleQFlow

Volume Flow Set Point Controller for Throttles

Information

Simple controller for Throttle and ThrottlePump circuit that is based on a PID controller. The controlled variable needs to be connected to QFlowAct. The set point can be passed externally or as parameter.

The controller adjusts the valve to archieve the specified thermal Power

Parameters

TypeNameDefaultDescription
BooleanuseExternalQsetfalseIf True, set Volume Flow can be given externally
Modelica.Units.SI.PowerQ_flowSetCon0Power set point of consumer in W
Realk0.025Gain of controller
Modelica.Units.SI.TimeTi130Time constant of Integrator block
Modelica.Units.SI.TimeTd4Time constant of Derivative block
Modelica.Units.NonSI.AngularVelocity_rpmrpm_pump2000Rpm of the Pump
BooleanreverseActiontrueSet to true if heating system, and false for cooling system
PID
Modelica.Blocks.Types.InitinitType.Modelica.Blocks.Types.Init.InitialStateType 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

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputQ_flowMeaConnector of measurement input signal
Modelica.Blocks.Interfaces.RealInputQ_flowSetConnector of second Real input signal
BaseClasses.HydraulicBushydraulicBus
Modelica.Blocks.Sources.ConstantconstQ_flowSet
AixLib.Controls.Continuous.LimPIDPID
Modelica.Blocks.Logical.GreaterThresholdpumpSwitchOff
Modelica.Blocks.Sources.ConstantconstPumpSet

Revisions

  • April 14, 2021, by Phillip Stoffel:
    First implementation.