modelSubstationParallelInterface

Parameters

TypeNameDefaultDescription
Modelica.SIunits.MassFlowRatem1_flow_nominalNominal mass flow rate
Modelica.SIunits.MassFlowRatem2_flow_nominalNominal mass flow rate
Modelica.SIunits.MassFlowRatem3_flow_nominalNominal mass flow rate
Advanced
Medium.MassFlowRatem1_flow_small1E-4*abs(m1_flow_nominal)Small mass flow rate for regularization of zero flow
Medium.MassFlowRatem2_flow_small1E-4*abs(m2_flow_nominal)Small mass flow rate for regularization of zero flow
Medium.MassFlowRatem3_flow_small1E-4*abs(m3_flow_nominal)Small mass flow rate for regularization of zero flow
Nominal condition
Modelica.SIunits.PressureDifferencedp1_nominalNominal pressure difference
Flow resistance › Primary side
Booleanfrom_dp1false= true, use m_flow = f(dp) else dp = f(m_flow)
BooleanlinearizeFlowResistance1false= true, use linear relation between m_flow and dp for any flow rate
Assumptions
BooleanallowFlowReversal1true= false to simplify equations, assuming, but not enforcing, no flow reversal
BooleanallowFlowReversal2true= false to simplify equations, assuming, but not enforcing, no flow reversal
BooleanallowFlowReversal3true= false to simplify equations, assuming, but not enforcing, no flow reversal
Advanced › Diagnostics
Booleanshow_Tfalse= true, if actual temperature at port is computed

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_a2Fluid connector a for station1 (positive design flow direction is from port_a2 to port_b2)
Modelica.Fluid.Interfaces.FluidPort_bport_b2Fluid connector b for station1 (positive design flow direction is from port_a2 to port_b2)
Modelica.Fluid.Interfaces.FluidPort_aport_a3Fluid connector a for station2 (positive design flow direction is from port_a3 to port_b3)
Modelica.Fluid.Interfaces.FluidPort_bport_b3Fluid connector b for station2 (positive design flow direction is from port_a3 to port_b3)
Modelica.Fluid.Interfaces.FluidPort_bport_b1Fluid connector b at primary side for district heating network (positive design flow direction is from port_a1 to port_b1)
Modelica.Fluid.Interfaces.FluidPort_aport_a1Fluid connector a for district heating network (positive design flow direction is from port_a1 to port_b1)
Modelica.Blocks.Interfaces.RealOutputPElectric power

Components

TypeNameDefaultDescription
Medium.MassFlowRatem1_flowport_a1.m_flowMass flow rate from port_a to port_b (m_flow > 0 is design flow direction)
Modelica.SIunits.PressureDifferencedp1port_a1.p - port_b1.pPressure difference between port_a and port_b
Medium.ThermodynamicStatesta_a1Medium.setState_phX(port_a1.p, noEvent(actualStream(port_a1.h_outflow)), noEvent(actualStream(port_a1.Xi_outflow)))Medium properties in port_a
Medium.ThermodynamicStatesta_b1Medium.setState_phX(port_b1.p, noEvent(actualStream(port_b1.h_outflow)), noEvent(actualStream(port_b1.Xi_outflow)))Medium properties in port_b
Medium.MassFlowRatem2_flowport_a2.m_flowMass flow rate from port_a2 to port_b2 (m_flow > 0 is design flow direction)
Modelica.SIunits.PressureDifferencedp2port_a2.p - port_b2.pPressure difference between port_a2 and port_b2
Medium.ThermodynamicStatesta_a2Medium.setState_phX(port_a2.p, noEvent(actualStream(port_a2.h_outflow)), noEvent(actualStream(port_a2.Xi_outflow)))Medium properties in port_a2
Medium.ThermodynamicStatesta_b2Medium.setState_phX(port_b2.p, noEvent(actualStream(port_b2.h_outflow)), noEvent(actualStream(port_b2.Xi_outflow)))Medium properties in port_b2
Medium.MassFlowRatem_flow3port_a3.m_flowMass flow rate from port_a3 to port_b3 (m_flow > 0 is design flow direction)
Modelica.SIunits.PressureDifferencedp3port_a3.p - port_b3.pPressure difference between port_a3 and port_b3
Medium.ThermodynamicStatesta_a3Medium.setState_phX(port_a3.p, noEvent(actualStream(port_a3.h_outflow)), noEvent(actualStream(port_a3.Xi_outflow)))Medium properties in port_a3
Medium.ThermodynamicStatesta_b3Medium.setState_phX(port_b3.p, noEvent(actualStream(port_b3.h_outflow)), noEvent(actualStream(port_b3.Xi_outflow)))Medium properties in port_b3
Modelica.Blocks.Sources.RealExpressiontotal_powersum of all power consumption/generation in component
IBPSA.Fluid.Sensors.RelativePressuresenRelPre

Contents

NameDescription
MediumMedium in the component