PressureSensor

    PressureSensor

Library

HydraulicsByFluidon/Components/Sensors

Description

PressureSensor acts either as an absolute or a relative pressure sensor, depending on the parameter Sensor type.

Sensor type = absolute: Measured value = Pressure at fluidPort
Sensor type = relative: Measured value = Pressure at fluidPort minus ambient pressure

Parameters

PressureSensor_0

NameLabelDescriptionData TypeValid Values

mo_sensorType

sensorType

Sensor type

Structure

mo_sensorType/choice1

absolute

Number

0
1

mo_sensorType/choice2

relative

Number

0
1

PressureSensor_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

fluidPort

implicit

Hydraulic port

input

1

value

implicit

Measured value

output

1