modelResistor
Extends from Bodylight.Hydraulic.Components.Conductor (Hydraulic resistor, where conductance=1/resistance).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Types.HydraulicConductance | Conductance (from Conductor) | 0 | Hydraulic conductance if useConductanceInput=false |
| Bodylight.Types.HydraulicResistance | Resistance | 0 | Hydraulic conductance if useConductanceInput=false |
| External inputs/outputs | |||
| Boolean | enable (from Conductor) | true | if false, no resistance is used |
| Boolean | useConductanceInput (from Conductor) | false | =true, if external conductance value is used |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| HydraulicPort_a | q_in (from OnePort) | Volume inflow | |
| HydraulicPort_b | q_out (from OnePort) | Volume outflow | |
| Types.RealIO.HydraulicConductanceInput | cond (from Conductor) | c |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Types.VolumeFlowRate | volumeFlowRate (from OnePort) | Volumetric flow | |
| Types.Pressure | dp (from OnePort) | Pressure gradient | |
| Types.HydraulicResistance | resistance (from Conductor) | 1/max(c, 1e-15) | Informative resistance value |