DiffPressureSensor

    DiffPressureSensor

Library

HydraulicsByFluidon/Components/Sensors

Description

DiffPressureSensor measures the pressures at both fluid ports and outputs the difference.

Measured value = Pressure at fluidPortA minus pressure at fluidPortB

Parameters

DiffPressureSensor_1

NameLabelDescriptionData TypeValid Values

mo_forwardFluidProperties

forwardFluidProperties

Forward fluid properties between ports

Scalar

true
false

DiffPressureSensor_2

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

'volumeFlowA'
'volumeFlowB'
'fluidId'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

value

implicit

Measured value

output

1

fluidPortA

implicit

Hydraulic port A

input

1

fluidPortB

implicit

Hydraulic port B

input

2