LIBRARY
Interfaces.FluidPort ​
Interface for quasi one-dimensional fluid flow in a piping network.
Usage ​
FluidComponents.Interfaces.FluidPort()
Source ​
dyad
"Interface for quasi one-dimensional fluid flow in a piping network."
connector FluidPort
# Immutable medium definition carried by the connector [-]
structural parameter medium_data::MediaComponents.Interfaces.AbstractMediumData
# Number of independent mass fractions [-]
final structural parameter nXi::Integer = MediaComponents.Interfaces.medium_nXi(medium_data)
# Number of extra transported properties [-]
final structural parameter nC::Integer = MediaComponents.Interfaces.medium_nC(medium_data)
# Connector dimension for independent mass fractions [-]
final structural parameter nXi_connector::Integer = nXi == 0 ? 1 : nXi
# Connector dimension for extra transported properties [-]
final structural parameter nC_connector::Integer = nC == 0 ? 1 : nC
# Mass flow rate from the connection point into the component [kg/s]
flow m_flow::MediaComponents.Types.MassFlowRate
# Thermodynamic pressure at the connection point [Pa]
potential p::MediaComponents.Types.AbsolutePressure
# Specific thermodynamic enthalpy near the connection point for outflow [J/kg]
stream h_outflow::MediaComponents.Types.SpecificEnthalpy
# Independent mixture mass fractions near the connection point for outflow [kg/kg]
stream Xi_outflow::MediaComponents.Types.MassFraction[nXi_connector]
# Extra transported properties near the connection point for outflow [-]
stream C_outflow::MediaComponents.Types.ExtraProperty[nC_connector]
endRelated ​
Examples
Experiments
Analyses
Tests