FlowSensor

    FlowSensor

Library

HydraulicsByFluidon/Components/Sensors

Description

FlowSensor acts either as volume flow or mass flow sensor, depending on the parameter Sensor type. The sensor is lossless and causes no pressure drop.

Sensor type = massFlow: Measured value = Mass flow rate through sensor
Sensor type = volumeFlow: Measured value = Volume flow through sensor

Parameters

FlowSensor_0

NameLabelDescriptionData TypeValid Values

mo_sensorType

sensorType

Sensor type

Structure

mo_sensorType/choice1

HydraulicsByFluidon.Types.TFlowTypes.massFlow

Number

0
1

mo_sensorType/choice2

HydraulicsByFluidon.Types.TFlowTypes.volumeFlow

Number

0
1

FlowSensor_1

NameLabelDescriptionData TypeValid Values

mo_forwardFluidProperties

forwardFluidProperties

Forward fluid properties between ports

Scalar

true
false

FlowSensor_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

See Also