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
| Type | Name | Default | Description |
|---|---|---|---|
| Physiolibrary.Types.HydraulicConductance | Conductance (from Conductor) | 0 | Hydraulic conductance if useConductanceInput=false |
| Physiolibrary.Types.HydraulicResistance | Resistance | Modelica.Constants.inf | Hydraulic conductance if useConductanceInput=false |
| Advanced › Performance | |||
| Boolean | EnthalpyNotUsed (from OnePort) | false | |
| Conditional inputs | |||
| Boolean | useConductanceInput (from Conductor) | false | =true, if external conductance value is used |
| Boolean | useResistanceInput | false | =true, if external resistance value is used |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| FluidPort_a | q_in (from OnePort) | Inflow | |
| FluidPort_b | q_out (from OnePort) | Outflow | |
| Physiolibrary.Types.RealIO.HydraulicConductanceInput | cond (from Conductor) | c | |
| Physiolibrary.Types.RealIO.HydraulicResistanceInput | resistance | 1/c |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.System | system (from OnePort) | System wide properties | |
| Physiolibrary.Types.MassFlowRate | massFlowRate (from OnePort) | Mass flow | |
| Physiolibrary.Types.VolumeFlowRate | volumeFlowRate (from OnePort) | Volume flow | |
| Physiolibrary.Types.Pressure | dp (from OnePort) | Pressure gradient | |
| Modelica.Units.SI.Density | density (from OnePort) |