| Boolean | homotopyInitialization (from Pipe) | true | = true, use homotopy method |
| Integer | nSeg (from Pipe) | 10 | Number of volume segments |
| Modelica.Units.SI.Length | thicknessIns (from Pipe) | | Thickness of insulation |
| Modelica.Units.SI.ThermalConductivity | lambdaIns (from Pipe) | | Heat conductivity of insulation |
| Modelica.Units.SI.Length | diameter (from Pipe) | | Pipe diameter (without insulation) |
| Modelica.Units.SI.Length | length (from Pipe) | | Length of the pipe |
| Modelica.SIunits.PressureDifference | dpStraightPipe_nominal | Modelica.Fluid.Pipes.BaseClasses.WallFriction.Detailed.pressureLoss_m_flow(m_flow = m_flow_nominal, rho_a = rho_default, rho_b = rho_default, mu_a = mu_default, mu_b = mu_default, length = length_set, diameter = diameter_internal, roughness = roughness, m_flow_small = m_flow_small) | Pressure loss of a straight pipe at m_flow_nominal |
| Modelica.SIunits.PressureDifference | dp_nominal_internal | (if dpType == dhcSim.DHC.Submodules.TwoPortModules.Pipe.Types.dpTypes.no_dp then 0 elseif dpType == dhcSim.DHC.Submodules.TwoPortModules.Pipe.Types.dpTypes.dp_nominal then dp_nominal_set
elseif dpType == dhcSim.DHC.Submodules.TwoPortModules.Pipe.Types.dpTypes.lengthDiameter then dpStraightPipe_nominal
elseif dpType == dhcSim.DHC.Submodules.TwoPortModules.Pipe.Types.dpTypes.v_nominal then dpStraightPipe_nominal else 0) | Pressure difference for internal calculations |
| Modelica.SIunits.MassFlowRate | m_flow_nominal_internal | (if dpType == dhcSim.DHC.Submodules.TwoPortModules.Pipe.Types.dpTypes.no_dp then 1 else m_flow_nominal_set) | Nominal mass flow rate for internal calculations |
| Modelica.SIunits.Length | diameter_internal | (if dpType == dhcSim.DHC.Submodules.TwoPortModules.Pipe.Types.dpTypes.lengthDiameter then diameter_set elseif dpType == dhcSim.DHC.Submodules.TwoPortModules.Pipe.Types.dpTypes.v_nominal then sqrt(4*m_flow_nominal_internal/rho_default/v_nominal/Modelica.Constants.pi) else diameter_set) | |
| Dynamics › Conservation equations |
| Modelica.Fluid.Types.Dynamics | energyDynamics (from LumpedVolumeDeclarations) | Modelica.Fluid.Types.Dynamics.DynamicFreeInitial | Type of energy balance: dynamic (3 initialization options) or steady state |
| Modelica.Fluid.Types.Dynamics | substanceDynamics (from LumpedVolumeDeclarations) | energyDynamics | Type of independent mass fraction balance: dynamic (3 initialization options) or steady state |
| Modelica.Fluid.Types.Dynamics | traceDynamics (from LumpedVolumeDeclarations) | energyDynamics | Type of trace substance balance: dynamic (3 initialization options) or steady state |
| Advanced › Dynamics |
| Modelica.Fluid.Types.Dynamics | massDynamics (from LumpedVolumeDeclarations) | energyDynamics | Type of mass balance: dynamic (3 initialization options) or steady state, must be steady state if energyDynamics is steady state |
| Initialization |
| Medium.AbsolutePressure | p_start (from LumpedVolumeDeclarations) | Medium.p_default | Start value of pressure |
| Medium.Temperature | T_start (from LumpedVolumeDeclarations) | Medium.T_default | Start value of temperature |
| Medium.MassFraction[Medium.nX] | X_start (from LumpedVolumeDeclarations) | Medium.X_default | Start value of mass fractions m_i/m |
| Medium.ExtraProperty[Medium.nC] | C_start (from LumpedVolumeDeclarations) | fill(0, Medium.nC) | Start value of trace substances |
| Medium.ExtraProperty[Medium.nC] | C_nominal (from LumpedVolumeDeclarations) | fill(1E-2, Medium.nC) | Nominal value of trace substances. (Set to typical order of magnitude.) |
| Dynamics |
| Real | mSenFac (from LumpedVolumeDeclarations) | 1 | Factor for scaling the sensible thermal mass of the volume |
| Assumptions |
| Boolean | allowFlowReversal (from PartialTwoPort) | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
| Nominal condition |
| Modelica.Units.SI.MassFlowRate | m_flow_nominal (from PartialTwoPortInterface) | | Nominal mass flow rate |
| Modelica.Units.SI.PressureDifference | dp_nominal (from TwoPortFlowResistanceParameters) | | Pressure difference |
| Advanced |
| Modelica.Units.SI.MassFlowRate | m_flow_small (from PartialTwoPortInterface) | 1E-4*abs(m_flow_nominal) | Small mass flow rate for regularization of zero flow |
| Advanced › Diagnostics |
| Boolean | show_T (from PartialTwoPortInterface) | false | = true, if actual temperature at port is computed |
| Flow resistance |
| Boolean | computeFlowResistance (from TwoPortFlowResistanceParameters) | true | =true, compute flow resistance. Set to false to assume no friction |
| Boolean | from_dp (from TwoPortFlowResistanceParameters) | false | = true, use m_flow = f(dp) else dp = f(m_flow) |
| Boolean | linearizeFlowResistance (from TwoPortFlowResistanceParameters) | false | = true, use linear relation between m_flow and dp for any flow rate |
| Real | deltaM (from TwoPortFlowResistanceParameters) | 0.1 | Fraction of nominal flow rate where flow transitions to laminar |
| Real | ReC (from Pipe) | 4000 | Reynolds number where transition to turbulence starts |
| Pressure drop |
| dhcSim.DHC.Submodules.TwoPortModules.Pipe.Types.dpTypes | dpType | dhcSim.DHC.Submodules.TwoPortModules.Pipe.Types.dpTypes.dp_nominal | Define pressure drop calculation |
| Modelica.SIunits.Length | diameter_set | 0.1 | Pipe diameter |
| Modelica.SIunits.Length | length_set | 1 | Length of the pipe |
| Modelica.SIunits.Velocity | v_nominal | 0.15 | Velocity at m_flow_nominal (used to compute default diameter) |
| Modelica.SIunits.Length | roughness | 2.5e-5 | Absolute roughness of pipe, with a default for a smooth steel pipe (dummy if use_roughness = false) |
| Modelica.SIunits.PressureDifference | dp_nominal_set | 10 | Pressure difference |
| Modelica.SIunits.MassFlowRate | m_flow_nominal_set | 1 | Pressure difference |
| Modelica.SIunits.PressureDifference | dp_fixed_nominal | 0 | Additional nominal pressure drop of installations and fitting |