modelVarTSupplyDp

Substation with variable dT for fixed return temperature

Extends from AixLib.Fluid.Interfaces.PartialTwoPortInterface.

Information

A simple substation model using a fixed return temperature 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.
  • March 4, 2018, by Marcus Fuchs:
    First implementation.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.HeatFlowRateQ_flow_nominalNominal heat flow rate added to medium
Modelica.Units.SI.TemperatureDifferencedTDesignDesign temperature difference for the substation's heat exchanger
Modelica.Units.SI.TemperatureTReturnFixed return temperature
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.AdddeltaTDifferernce of flow and return line temperature in K
Modelica.Blocks.Sources.ConstanttemRetTemperature of return line in °C
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.ConstantmindeltaTTemperature of return line in °C
Modelica.Blocks.Math.Maxmax
Modelica.Blocks.Math.Minmin
Modelica.Blocks.Sources.ConstanttemRet_nominalTemperature of return line in °C
Modelica.Blocks.Math.AdddeltaT1Differernce of flow and return line temperature in K