Buildings.Applications.BaseClasses.Controls.Validation
Collection of validation models
Information
This package contains validation models for the classes in Buildings.Applications.BaseClasses.Controls.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Name | Description |
---|---|
VariableSpeedPumpStage | Test the model ChillerWSE.Examples.BaseClasses.VariableSpeedPumpStageControl |
Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage
Test the model ChillerWSE.Examples.BaseClasses.VariableSpeedPumpStageControl
Information
This model test the staging controller for variable-speed pumps. The staging controller is located in Buildings.Applications.BaseClasses.Controls.VariableSpeedPumpStage.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
Type | Name | Default | Description |
---|---|---|---|
MassFlowRate | m_flow_nominal | 100 | Nominal mass flowrate [kg/s] |
Modelica definition
model VariableSpeedPumpStage
"Test the model ChillerWSE.Examples.BaseClasses.VariableSpeedPumpStageControl"
extends Modelica.Icons.Example;
parameter Modelica.Units.SI.MassFlowRate m_flow_nominal=100
"Nominal mass flowrate";
Buildings.Applications.BaseClasses.Controls.VariableSpeedPumpStage
varSpePumSta(tWai=30, m_flow_nominal=m_flow_nominal,
criPoiSpe=0.6)
"Staging controller for variable speed pumps";
Modelica.Blocks.Sources.Pulse speSig(
amplitude=0.8,
period=180,
offset=0.2) "Speed signal";
Modelica.Blocks.Sources.Sine masFlo(
offset=0.5*m_flow_nominal,
f=1/360,
amplitude=0.5*m_flow_nominal) "Mass flowrate";
Modelica.Blocks.Sources.BooleanConstant on "Plant on signal";
equation
connect(speSig.y, varSpePumSta.speSig);
connect(masFlo.y, varSpePumSta.masFloPum);
connect(on.y, varSpePumSta.on);
end VariableSpeedPumpStage;