modelPartialEightPortInterface
Partial model transporting fluid between eight ports without storing mass or energy
Extends from IBPSA.Fluid.Interfaces.EightPort.
Information
This component defines the interface for models that transport four fluid streams between eight ports. It is similar to IBPSA.Fluid.Interfaces.PartialTwoPortInterface, but it has eight ports instead of two.
The model is used by other models in this package that add heat transfer, mass transfer and pressure drop equations.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Nominal condition | |||
| 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 | |
| Modelica.SIunits.MassFlowRate | m4_flow_nominal | Nominal mass flow rate | |
| Advanced | |||
| Medium1.MassFlowRate | m1_flow_small | 1E-4*abs(m1_flow_nominal) | Small mass flow rate for regularization of zero flow |
| Medium2.MassFlowRate | m2_flow_small | 1E-4*abs(m2_flow_nominal) | Small mass flow rate for regularization of zero flow |
| Medium3.MassFlowRate | m3_flow_small | 1E-4*abs(m3_flow_nominal) | Small mass flow rate for regularization of zero flow |
| Medium4.MassFlowRate | m4_flow_small | 1E-4*abs(m4_flow_nominal) | Small mass flow rate for regularization of zero flow |
| Advanced › Diagnostics | |||
| Boolean | show_T | false | = true, if actual temperature at port is computed |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium1.MassFlowRate | m1_flow | port_a1.m_flow | Mass flow rate from port_a1 to port_b1 (m1_flow > 0 is design flow direction) |
| Modelica.SIunits.Pressure | dp1 | Pressure difference between port_a1 and port_b1 | |
| Medium2.MassFlowRate | m2_flow | port_a2.m_flow | Mass flow rate from port_a2 to port_b2 (m2_flow > 0 is design flow direction) |
| Modelica.SIunits.Pressure | dp2 | Pressure difference between port_a2 and port_b2 | |
| Medium3.MassFlowRate | m3_flow | port_a3.m_flow | Mass flow rate from port_a3 to port_b3 (m3_flow > 0 is design flow direction) |
| Modelica.SIunits.Pressure | dp3 | Pressure difference between port_a3 and port_b3 | |
| Medium2.MassFlowRate | m4_flow | port_a4.m_flow | Mass flow rate from port_a4 to port_b4 (m4_flow > 0 is design flow direction) |
| Modelica.SIunits.Pressure | dp4 | Pressure difference between port_a4 and port_b4 | |
| Medium1.ThermodynamicState | sta_a1 | Medium1.setState_phX(port_a1.p, noEvent(actualStream(port_a1.h_outflow)), noEvent(actualStream(port_a1.Xi_outflow))) | Medium properties in port_a1 |
| Medium1.ThermodynamicState | sta_b1 | Medium1.setState_phX(port_b1.p, noEvent(actualStream(port_b1.h_outflow)), noEvent(actualStream(port_b1.Xi_outflow))) | Medium properties in port_b1 |
| Medium2.ThermodynamicState | sta_a2 | Medium2.setState_phX(port_a2.p, noEvent(actualStream(port_a2.h_outflow)), noEvent(actualStream(port_a2.Xi_outflow))) | Medium properties in port_a2 |
| Medium2.ThermodynamicState | sta_b2 | Medium2.setState_phX(port_b2.p, noEvent(actualStream(port_b2.h_outflow)), noEvent(actualStream(port_b2.Xi_outflow))) | Medium properties in port_b2 |
| Medium3.ThermodynamicState | sta_a3 | Medium3.setState_phX(port_a3.p, noEvent(actualStream(port_a3.h_outflow)), noEvent(actualStream(port_a3.Xi_outflow))) | Medium properties in port_a3 |
| Medium3.ThermodynamicState | sta_b3 | Medium3.setState_phX(port_b3.p, noEvent(actualStream(port_b3.h_outflow)), noEvent(actualStream(port_b3.Xi_outflow))) | Medium properties in port_b3 |
| Medium4.ThermodynamicState | sta_a4 | Medium4.setState_phX(port_a4.p, noEvent(actualStream(port_a4.h_outflow)), noEvent(actualStream(port_a4.Xi_outflow))) | Medium properties in port_a4 |
| Medium4.ThermodynamicState | sta_b4 | Medium4.setState_phX(port_b4.p, noEvent(actualStream(port_b4.h_outflow)), noEvent(actualStream(port_b4.Xi_outflow))) | Medium properties in port_b4 |
Revisions
- July 2014, by Damien Picard:
First implementation.