modelResistor

Hydraulic resistor

Extends from Physiolibrary.Fluid.Components.Conductor (Hydraulic resistor, where conductance=1/resistance).

Information

This hydraulic resistance element contains two connector sides. No hydraulic medium mass is changing in this element during simulation. That means that sum of flow in both connector sides is zero. The flow through element is determined by Ohm's law.

Parameters

TypeNameDefaultDescription
Physiolibrary.Types.HydraulicConductanceConductance (from Conductor)0Hydraulic conductance if useConductanceInput=false
Physiolibrary.Types.HydraulicResistanceResistanceModelica.Constants.infHydraulic conductance if useConductanceInput=false
Advanced › Performance
BooleanEnthalpyNotUsed (from OnePort)false
Conditional inputs
BooleanuseConductanceInput (from Conductor)false=true, if external conductance value is used
BooleanuseResistanceInputfalse=true, if external resistance value is used

Connectors

TypeNameDefaultDescription
FluidPort_aq_in (from OnePort)Inflow
FluidPort_bq_out (from OnePort)Outflow
Physiolibrary.Types.RealIO.HydraulicConductanceInputcond (from Conductor)c
Physiolibrary.Types.RealIO.HydraulicResistanceInputresistance1/c

Components

TypeNameDefaultDescription
Modelica.Fluid.Systemsystem (from OnePort)System wide properties
Physiolibrary.Types.MassFlowRatemassFlowRate (from OnePort)Mass flow
Physiolibrary.Types.VolumeFlowRatevolumeFlowRate (from OnePort)Volume flow
Physiolibrary.Types.Pressuredp (from OnePort)Pressure gradient
Modelica.Units.SI.Densitydensity (from OnePort)