modelFlowSensor
Extends from OpenHydraulics.Interfaces.PartialFluidComponent (Base model for any component involving fluid).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Initialization › Fluid | |||
| SI.AbsolutePressure | p_init (from PartialFluidComponent) | environment.p_ambient | Initial pressure of the component |
| Advanced | |||
| SI.Diameter | D | 1 | Diameter at the ports |
| Real | zeta | 2 | Loss factor for flow of port_a -> port_b |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| OpenHydraulics.Interfaces.FluidPort | port_a | ||
| OpenHydraulics.Interfaces.FluidPort | port_b | ||
| Modelica.Blocks.Interfaces.RealOutput | y |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| OpenHydraulics.Fluids.BaseClasses.PartialFluid | oil (from PartialFluidComponent) | This model must be defined in each circuit; the type must be a subtype of PartialFluid | |
| Basic.GenericPressureLoss | genericPressureLoss |