modelIdealUser
Ideal user model
Information
This is a simple ideal user model used by
Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource.
The load of the user is described by a varying mass flow rate setpoint.
The valve is controlled to maintain the requested mass flow rate.
The model sets its leaving water temperature to the user-specified temperature
T_CHWR_nominal.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.MassFlowRate | m_flow_nominal | Nominal mass flow rate | |
| Modelica.Units.SI.Temperature | T_CHWR_nominal | Nominal temperature of CHW return | |
| Modelica.Units.SI.PressureDifference | dp_nominal | Nominal pressure drop when valve is fully open |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | mPre_flow | Load in terms of flow rate prescription | |
| Modelica.Blocks.Interfaces.RealOutput | yVal_actual | Consumer control valve actuator position | |
| Modelica.Blocks.Interfaces.RealOutput | dp | Differential pressure from the sensor | |
| Modelica.Fluid.Interfaces.FluidPort_a | port_a | Fluid connector a (positive design flow direction is from port_a to port_b) | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_b | Fluid connector b (positive design flow direction is from port_a to port_b) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Fluid.Actuators.Valves.TwoWayEqualPercentage | val | User control valve | |
| Buildings.Controls.Continuous.LimPID | conPI | PI controller | |
| Buildings.Fluid.Sensors.RelativePressure | senRelPre | Differential pressure sensor | |
| Buildings.Fluid.Sensors.MassFlowRate | senMasFlo | Mass flow rate sensor | |
| Buildings.Fluid.Sources.PropertySource_T | proSou | Ideal temperature source | |
| Modelica.Blocks.Sources.Constant | TRet | Constant CHW return temperature |
Contents
| Name | Description |
|---|---|
| Medium package |
Revisions
-
July 31, 2023, by Michael Wetter:
Revised implementation, removed unused parameter. -
February 18, 2022 by Hongxiang Fu:
First implementation. This is for #2859.