modelSupply_QT

Heat flow and temperature controlled supply unit

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

Information

General

This supply unit is modelled as a perfect heater delivering a prescribed supply temperature. The mass flow is controlled by a PI-controller using a set point for heat generation. The unit is constraint by a maximum heat flow capacity.

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
Nominal parameters
Modelica.SIunits.Efficiencypump_eff0.4Total efficiency of the pump
Supply temperature
Booleanuse_T_infalseGet the supply temperature from the input connector, otherwise use nominal value
Heat supply
Booleanuse_Q_infalseGet the heat supply from the input connector, otherwise use nominal value
Booleanuse_m_flow_limitfalseLimit mass flow to input signal

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.RealInputTSetConnector of Real input signal
Modelica.Blocks.Interfaces.RealInputQSet
Modelica.Blocks.Interfaces.RealInputm_flow_limit

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.RealExpressionotherPowerUnits (from ThermalElectricInterface)Reserved for other power units (e.g., pumps); negative is generation, positive is consumption
IBPSA.Fluid.HeatExchangers.Heater_Theater
IBPSA.Fluid.Movers.FlowControlled_m_flowpump
Controls.Q_flow_controlq_flow_control

Revisions

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