modelPartialResistancenew

Extends from PartialResistanceInterface (Minimal two-port resistance interface (Medium + ports) shared by the old and new resistance base classes).

Parameters

TypeNameDefaultDescription
Assumptions
BooleanallowFlowReversaltrue= true to allow flow reversal, false restricts to design direction (port_a -> port_b)
Visualization
BooleanshowNametrue= false to hide component name
Initialization
SI.MassFlowRatem_flow_start0Initial mass flow rate
Advanced
SI.MassFlowRatem_flow_smooth0.001Smoothing tolerance around zero flow rate
SI.MassFlowRatedp_smooth0.001Smoothing tolerance around zero flow rate
SI.ReynoldsNumberRe_lam2300Laminar transition Reynolds number
SI.ReynoldsNumberRe_turb4000Turbulent transition Reynolds number

Connectors

TypeNameDefaultDescription
Interfaces.FluidPort_Flowport_a (from PartialResistanceInterface)
Interfaces.FluidPort_Flowport_b (from PartialResistanceInterface)

Components

TypeNameDefaultDescription
Medium.ThermodynamicStatestate (from PartialResistanceInterface)
Medium.ThermodynamicStatestate_a
Medium.ThermodynamicStatestate_b
SI.PressureDifferencedp
SI.MassFlowRatem_flow