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

TypeNameDefaultDescription
Modelica.Units.SI.MassFlowRatem_flow_nominalNominal mass flow rate
Modelica.Units.SI.TemperatureT_CHWR_nominalNominal temperature of CHW return
Modelica.Units.SI.PressureDifferencedp_nominalNominal pressure drop when valve is fully open

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputmPre_flowLoad in terms of flow rate prescription
Modelica.Blocks.Interfaces.RealOutputyVal_actualConsumer control valve actuator position
Modelica.Blocks.Interfaces.RealOutputdpDifferential pressure from the sensor
Modelica.Fluid.Interfaces.FluidPort_aport_aFluid connector a (positive design flow direction is from port_a to port_b)
Modelica.Fluid.Interfaces.FluidPort_bport_bFluid connector b (positive design flow direction is from port_a to port_b)

Components

TypeNameDefaultDescription
Buildings.Fluid.Actuators.Valves.TwoWayEqualPercentagevalUser control valve
Buildings.Controls.Continuous.LimPIDconPIPI controller
Buildings.Fluid.Sensors.RelativePressuresenRelPreDifferential pressure sensor
Buildings.Fluid.Sensors.MassFlowRatesenMasFloMass flow rate sensor
Buildings.Fluid.Sources.PropertySource_TproSouIdeal temperature source
Modelica.Blocks.Sources.ConstantTRetConstant CHW return temperature

Contents

NameDescription
MediumMedium 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.