modelSubstationParallelInterface
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.MassFlowRate | m1_flow_nominal | Nominal mass flow rate | |
| Modelica.SIunits.MassFlowRate | m2_flow_nominal | Nominal mass flow rate | |
| Modelica.SIunits.MassFlowRate | m3_flow_nominal | Nominal mass flow rate | |
| Advanced | |||
| Medium.MassFlowRate | m1_flow_small | 1E-4*abs(m1_flow_nominal) | Small mass flow rate for regularization of zero flow |
| Medium.MassFlowRate | m2_flow_small | 1E-4*abs(m2_flow_nominal) | Small mass flow rate for regularization of zero flow |
| Medium.MassFlowRate | m3_flow_small | 1E-4*abs(m3_flow_nominal) | Small mass flow rate for regularization of zero flow |
| Nominal condition | |||
| Modelica.SIunits.PressureDifference | dp1_nominal | Nominal pressure difference | |
| Flow resistance › Primary side | |||
| Boolean | from_dp1 | false | = true, use m_flow = f(dp) else dp = f(m_flow) |
| Boolean | linearizeFlowResistance1 | false | = true, use linear relation between m_flow and dp for any flow rate |
| Assumptions | |||
| Boolean | allowFlowReversal1 | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
| Boolean | allowFlowReversal2 | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
| Boolean | allowFlowReversal3 | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
| Advanced › Diagnostics | |||
| Boolean | show_T | false | = true, if actual temperature at port is computed |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_a | port_a2 | Fluid connector a for station1 (positive design flow direction is from port_a2 to port_b2) | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_b2 | Fluid connector b for station1 (positive design flow direction is from port_a2 to port_b2) | |
| Modelica.Fluid.Interfaces.FluidPort_a | port_a3 | Fluid connector a for station2 (positive design flow direction is from port_a3 to port_b3) | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_b3 | Fluid connector b for station2 (positive design flow direction is from port_a3 to port_b3) | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_b1 | Fluid connector b at primary side for district heating network (positive design flow direction is from port_a1 to port_b1) | |
| Modelica.Fluid.Interfaces.FluidPort_a | port_a1 | Fluid connector a for district heating network (positive design flow direction is from port_a1 to port_b1) | |
| Modelica.Blocks.Interfaces.RealOutput | P | Electric power |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.MassFlowRate | m1_flow | port_a1.m_flow | Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction) |
| Modelica.SIunits.PressureDifference | dp1 | port_a1.p - port_b1.p | Pressure difference between port_a and port_b |
| Medium.ThermodynamicState | sta_a1 | Medium.setState_phX(port_a1.p, noEvent(actualStream(port_a1.h_outflow)), noEvent(actualStream(port_a1.Xi_outflow))) | Medium properties in port_a |
| Medium.ThermodynamicState | sta_b1 | Medium.setState_phX(port_b1.p, noEvent(actualStream(port_b1.h_outflow)), noEvent(actualStream(port_b1.Xi_outflow))) | Medium properties in port_b |
| Medium.MassFlowRate | m2_flow | port_a2.m_flow | Mass flow rate from port_a2 to port_b2 (m_flow > 0 is design flow direction) |
| Modelica.SIunits.PressureDifference | dp2 | port_a2.p - port_b2.p | Pressure difference between port_a2 and port_b2 |
| Medium.ThermodynamicState | sta_a2 | Medium.setState_phX(port_a2.p, noEvent(actualStream(port_a2.h_outflow)), noEvent(actualStream(port_a2.Xi_outflow))) | Medium properties in port_a2 |
| Medium.ThermodynamicState | sta_b2 | Medium.setState_phX(port_b2.p, noEvent(actualStream(port_b2.h_outflow)), noEvent(actualStream(port_b2.Xi_outflow))) | Medium properties in port_b2 |
| Medium.MassFlowRate | m_flow3 | port_a3.m_flow | Mass flow rate from port_a3 to port_b3 (m_flow > 0 is design flow direction) |
| Modelica.SIunits.PressureDifference | dp3 | port_a3.p - port_b3.p | Pressure difference between port_a3 and port_b3 |
| Medium.ThermodynamicState | sta_a3 | Medium.setState_phX(port_a3.p, noEvent(actualStream(port_a3.h_outflow)), noEvent(actualStream(port_a3.Xi_outflow))) | Medium properties in port_a3 |
| Medium.ThermodynamicState | sta_b3 | Medium.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.RealExpression | total_power | sum of all power consumption/generation in component | |
| IBPSA.Fluid.Sensors.RelativePressure | senRelPre |
Contents
| Name | Description |
|---|---|
| Medium in the component |