Extends from Modelica.Icons.UtilitiesPackage
(Icon for utility packages).
Name | Description |
---|---|
FixedAmbient | Ambient pressure, temperature and mass fraction source |
FixedMassFlowRate | Ideal pump that produces a constant mass flow rate from a large reservoir at fixed temperature and mass fraction |
FluidPort | Interface for quasi one-dimensional fluid flow in a piping network (incompressible or compressible, one or more phases, one or more substances) |
FluidPort_a | Fluid connector with filled icon |
FluidPort_b | Fluid connector with outlined icon |
PartialTestModel | Basic test model to test a medium |
PartialTestModel2 | Slightly larger test model to test a medium |
PortVolume | Fixed volume associated with a port by the finite volume method |
ShortPipe | Simple pressure loss in pipe |
Type | Name | Description |
---|---|---|
AbsolutePressure | p | Pressure in the connection point |
flow MassFlowRate | m_flow | Mass flow rate from the connection point into the component |
SpecificEnthalpy | h | Specific mixture enthalpy in the connection point |
flow EnthalpyFlowRate | H_flow | Enthalpy flow rate into the component (if m_flow > 0, H_flow = m_flow*h) |
MassFraction | Xi[Medium.nXi] | Independent mixture mass fractions m_i/m in the connection point |
flow MassFlowRate | mXi_flow[Medium.nXi] | Mass flow rates of the independent substances from the connection point into the component (if m_flow > 0, mX_flow = m_flow*X) |
ExtraProperty | C[Medium.nC] | Properties c_i/m in the connection point |
flow ExtraPropertyFlowRate | mC_flow[Medium.nC] | Flow rates of auxiliary properties from the connection point into the component (if m_flow > 0, mC_flow = m_flow*C) |
Modelica.Media.Examples.Tests.Components.FluidPort_a
Extends from Modelica.Media.Examples.Utilities.FluidPort
(Interface for quasi one-dimensional fluid flow in a piping network (incompressible or compressible, one or more phases, one or more substances)).
Type | Name | Description |
---|---|---|
AbsolutePressure | p | Pressure in the connection point |
flow MassFlowRate | m_flow | Mass flow rate from the connection point into the component |
SpecificEnthalpy | h | Specific mixture enthalpy in the connection point |
flow EnthalpyFlowRate | H_flow | Enthalpy flow rate into the component (if m_flow > 0, H_flow = m_flow*h) |
MassFraction | Xi[Medium.nXi] | Independent mixture mass fractions m_i/m in the connection point |
flow MassFlowRate | mXi_flow[Medium.nXi] | Mass flow rates of the independent substances from the connection point into the component (if m_flow > 0, mX_flow = m_flow*X) |
ExtraProperty | C[Medium.nC] | Properties c_i/m in the connection point |
flow ExtraPropertyFlowRate | mC_flow[Medium.nC] | Flow rates of auxiliary properties from the connection point into the component (if m_flow > 0, mC_flow = m_flow*C) |
Extends from Modelica.Media.Examples.Utilities.FluidPort
(Interface for quasi one-dimensional fluid flow in a piping network (incompressible or compressible, one or more phases, one or more substances)).
Type | Name | Description |
---|---|---|
AbsolutePressure | p | Pressure in the connection point |
flow MassFlowRate | m_flow | Mass flow rate from the connection point into the component |
SpecificEnthalpy | h | Specific mixture enthalpy in the connection point |
flow EnthalpyFlowRate | H_flow | Enthalpy flow rate into the component (if m_flow > 0, H_flow = m_flow*h) |
MassFraction | Xi[Medium.nXi] | Independent mixture mass fractions m_i/m in the connection point |
flow MassFlowRate | mXi_flow[Medium.nXi] | Mass flow rates of the independent substances from the connection point into the component (if m_flow > 0, mX_flow = m_flow*X) |
ExtraProperty | C[Medium.nC] | Properties c_i/m in the connection point |
flow ExtraPropertyFlowRate | mC_flow[Medium.nC] | Flow rates of auxiliary properties from the connection point into the component (if m_flow > 0, mC_flow = m_flow*C) |
This component models the volume of fixed size that is associated with the fluid port to which it is connected. This means that all medium properties inside the volume, are identical to the port medium properties. In particular, the specific enthalpy inside the volume (= medium.h) is always identical to the specific enthalpy in the port (port.h = medium.h). Usually, this model is used when discretizing a component according to the finite volume method into volumes in internal ports that only store energy and mass and into transport elements that just transport energy, mass and momentum between the internal ports without storing these quantities during the transport.
Type | Name | Default | Description |
---|---|---|---|
Volume | V | 1e-6 | Fixed size of junction volume |
Boolean | use_p_start | true | Select p_start or d_start |
AbsolutePressure | p_start | 101325 | Initial pressure |
Density | d_start | 1 | Initial density |
Boolean | use_T_start | true | Select T_start or h_start |
Temperature | T_start | Modelica.SIunits.Conversions.from_degC(20) | Initial temperature |
SpecificEnthalpy | h_start | 10000 | Initial specific enthalpy |
MassFraction | X_start[Medium.nX] | Initial mass fractions m_i/m |
Type | Name | Description |
---|---|---|
FluidPort_a | port |   |
Type | Name | Default | Description |
---|---|---|---|
MassFlowRate | m_flow | Fixed mass flow rate from an infinite reservoir to the fluid port | |
Boolean | use_T_ambient | true | Select T_ambient or h_ambient |
Temperature | T_ambient | Modelica.SIunits.Conversions.from_degC(20) | Ambient temperature |
SpecificEnthalpy | h_ambient | 10000 | Ambient specific enthalpy |
MassFraction | X_ambient[Medium.nX] | Ambient mass fractions m_i/m of reservoir |
Type | Name | Description |
---|---|---|
FluidPort_b | port |   |
Model FixedAmbient_pt defines constant values for ambient conditions:
Note, that ambient temperature and mass fractions have only an effect if the mass flow is from the ambient into the port. If mass is flowing from the port into the ambient, the ambient definitions, with exception of ambient pressure, do not have an effect.
Type | Name | Default | Description |
---|---|---|---|
Boolean | use_p_ambient | true | Select p_ambient or d_ambient |
AbsolutePressure | p_ambient | 101325 | Ambient pressure |
Density | d_ambient | 1 | Ambient density |
Boolean | use_T_ambient | true | Select T_ambient or h_ambient |
Temperature | T_ambient | Modelica.SIunits.Conversions.from_degC(20) | Ambient temperature |
SpecificEnthalpy | h_ambient | 10000 | Ambient specific enthalpy |
MassFraction | X_ambient[Medium.nX] | Ambient mass fractions m_i/m |
Type | Name | Description |
---|---|---|
FluidPort_b | port |   |
Model ShortPipe defines a simple pipe model with pressure loss due to friction. It is assumed that no mass or energy is stored in the pipe.
Type | Name | Default | Description |
---|---|---|---|
AbsolutePressure | dp_nominal | Nominal pressure drop | |
MassFlowRate | m_flow_nominal | Nominal mass flow rate at nominal pressure drop |
Type | Name | Description |
---|---|---|
FluidPort_a | port_a |   |
FluidPort_b | port_b |   |
Type | Name | Default | Description |
---|---|---|---|
AbsolutePressure | p_start | Medium.p_default | Initial value of pressure |
Temperature | T_start | Medium.T_default | Initial value of temperature |
SpecificEnthalpy | h_start | Medium.h_default | Initial value of specific enthalpy |
Real | X_start[Medium.nX] | Medium.X_default | Initial value of mass fractions |
Type | Name | Default | Description |
---|---|---|---|
AbsolutePressure | p_start | 100000 | Initial value of pressure |
Temperature | T_start | 300 | Initial value of temperature |
SpecificEnthalpy | h_start | 1 | Initial value of specific enthalpy |
Real | X_start[Medium.nX] | Medium.reference_X | Initial value of mass fractions |
Generated 2018-12-12 12:13:39 EST by MapleSim.