modelVarTSupplyDpFixedTempDifferenceBypass

Substation with variable supply temperature and fixed dT

Extends from AixLib.Fluid.Interfaces.PartialTwoPortInterface.

Information

A simple substation model using a fixed temperature difference and the actual supply temperature to calculate the mass flow rate drawn from the network. This model uses an open loop design to prescribe the required flow rate.

  • Novemver 22, 2019, by Nils Neuland:
    Revised variable names and documentation to follow guidelines.
  • October 23, 2018, by Tobias Blacha:
    First implementation.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.HeatFlowRateQ_flow_nominalNominal heat flow rate added to medium
Modelica.Units.SI.TemperatureDifferencedTDesignConstant temperature difference for the substation's heat exchanger
Modelica.Units.SI.MassFlowRatem_flo_bypassMinimum bypass flow through substation
Design parameter
Modelica.Units.SI.Pressuredp_nominal30000Pressure difference at nominal flow rate
Flow resistance
RealdeltaM0.1Fraction of nominal flow rate where flow transitions to laminar
Dynamics
Modelica.Units.SI.Timetau30Time constant at nominal flow (if energyDynamics <> SteadyState)
Modelica.Fluid.Types.DynamicsenergyDynamicsModelica.Fluid.Types.Dynamics.SteadyStateType of energy balance: dynamic (3 initialization options) or steady state
Modelica.Fluid.Types.DynamicsmassDynamicsenergyDynamicsType of mass balance: dynamic (3 initialization options) or steady state

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputQ_flow_inputPrescribed heat flow
Sensors.TemperatureTwoPortsenT_supplySupply flow temperature sensor
Sensors.TemperatureTwoPortsenT_returnReturn flow temperature sensor
Modelica.Blocks.Math.Gaingain
Modelica.Blocks.Math.Divisionhea2MasFlo
Sources.MassFlowSource_TsinkSink extracting prescribed flow from the network
Modelica.Blocks.Math.GainchangeSignChanges sign of prescribed flow for extraction from network
Sources.MassFlowSource_TsourceSource sending prescribed flow back to the network
Modelica.Blocks.Interfaces.RealOutputdpOutOutput signal of pressure difference
Modelica.Blocks.Sources.ConstantdeltaTFixed temperature difference between supply and return
Modelica.Blocks.Math.AddtemRet
Utilities.Math.SmoothMaxsmoothMax
Modelica.Blocks.Sources.RealExpressionm_flo_min
Utilities.Logical.SmoothSwitchswitch1
Modelica.Blocks.Logical.LessEqualThresholdlessEqualThreshold
MixingVolumes.MixingVolumevol