modelPressureSensor
Extends from OpenHydraulics.Interfaces.PartialFluidComponent (Base model for any component involving fluid).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | absolute | true | Measure absolute pressure if true |
| Initialization › Fluid | |||
| SI.AbsolutePressure | p_init (from PartialFluidComponent) | environment.p_ambient | Initial temperature of the component |
| Advanced | |||
| SI.Volume | V | 0 | Volume for non-ideal pressure sensor |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| OpenHydraulics.Interfaces.FluidPort | port_a | ||
| 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.VolumeClosed | volumeClosed |