modelSupply_pT

Differential pressure and temperature supply

Extends from DisHeatLib.Supply.BaseClasses.BaseSupply, DisHeatLib.Supply.BaseClasses.ThermalElectricInterface.

Information

General

This supply unit is modeled as a pressure source with a prescribed supply temperature. The delivered pressure lift of this unit is either determined by a fixed set-point or via a PI-controller that receives measurements from the network, e.g., from the weakest point in the network. The supply temperature can be set to be outside temperature controlled or constant. The main supply unit is considered as an ideal heating unit without any constraints regarding mass fow or ramp rates. The maximum heat generation is, however, limited by its nominal heat flow parameter (Q_flow_nominal).

Heat and power

The unit can be modelled as a simple heat and power unit using the characteristic powerCha. Electric power consumption/generation is then set according to the power values corresponding to current heat flow using table entries from the characteristic (and linearly interpolating). Electric power consumption of the pump is also considered. Since the pump is considered to be cooled by the fluid, a one to one conversion between heat added to the fluid and pumping power is considered.

Parameters

TypeNameDefaultDescription
General › Ports
IntegernPorts (from PartialTwoPortVector)Number of ports
Assumptions
BooleanallowFlowReversal (from PartialTwoPortVector)true= true to allow flow reversal, false restricts to design direction (port_a -> port_b)
Nominal condition
Modelica.SIunits.MassFlowRatem_flow_nominal (from BaseSupply)Q_flow_nominal/((TemSup_nominal - TemRet_nominal)*cp_default)Nominal mass flow rate
Modelica.SIunits.PowerQ_flow_nominal (from BaseSupply)Nominal heat flow rate
Modelica.SIunits.TemperatureTemSup_nominal (from BaseSupply)Nominal supply temperature
Modelica.SIunits.TemperatureTemRet_nominal (from BaseSupply)Nominal return temperature
Modelica.SIunits.PressureDifferencedp_nominalNominal pressure difference of pump
Advanced
Modelica.SIunits.MassFlowRatem_flow_small (from BaseSupply)1E-4*abs(m_flow_nominal)Small mass flow rate for regularization of zero flow
Electric power
BooleanisElectric (from ThermalElectricInterface)trueUnit has electric interface
DisHeatLib.Supply.BaseClasses.BasePowerCharacteristicpowerCha (from ThermalElectricInterface)Characteristic for heat and power units
Supply temperature
DisHeatLib.Supply.BaseClasses.InputTypeSupplyTempSupplyTemperatureDisHeatLib.Supply.BaseClasses.InputTypeSupplyTemp.ConstantSupply temperature type
Modelica.SIunits.TemperatureTemOut_minOutside temperature where maximum supply temperature is used
Modelica.SIunits.TemperatureTemOut_maxOutside temperature where minimum supply temperature is used
Modelica.SIunits.TemperatureTemSup_minMinimum supply temperature
Modelica.SIunits.TemperatureTemSup_maxMaximum supply temperature
Differential pressure
Booleandp_controllertrueUse differential pressure controller (otherwise constant pressure head, using nominal pressure, between supply and demand is used)
Modelica.SIunits.Pressuredp_minMinimum differential pressure
Modelica.SIunits.Pressuredp_setDifferential pressure setpoint
Modelica.SIunits.Pressuredp_maxMaximum differential pressure
Realk50Gain of controller

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_a (from PartialTwoPortVector)Fluid connector a (positive design flow direction is from port_a to ports_b)
Modelica.Fluid.Interfaces.FluidPorts_b[nPorts]ports_b (from PartialTwoPortVector)Fluid connectors b (positive design flow direction is from port_a to ports_b)
Modelica.Blocks.Interfaces.RealOutputP (from ThermalElectricInterface)Active power consumption (positive)/generation(negative)
Modelica.Blocks.Interfaces.RealInputdp_measure
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aport_ht
Modelica.Blocks.Interfaces.RealInputTSup_in

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.RealExpressionotherPowerUnits (from ThermalElectricInterface)Reserved for other power units (e.g., pumps); negative is generation, positive is consumption
Modelica.Blocks.Sources.RealExpressionTSetConst
Controls.dp_controldp_control
Controls.TemSup_controlTsupController
Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensoroutsideTemperatureSensor
IBPSA.Fluid.Movers.FlowControlled_dppump
IBPSA.Fluid.HeatExchangers.Heater_Theater
IBPSA.Fluid.Storage.ExpansionVesselexp

Revisions

  • Feburary 27, 2019, by Benedikt Leitner:
    Implementation and added User's guide.