SwitchingValve22

    SwitchingValve22

Library

HydraulicsByFluidon/Components/Valves/DirectionalValves

Description

The component SwitchingValve22 is a model of a 2-way valve which will open for input signals equal or above Input threshold to open the valve.

Opening and closing times of the valve are set by Time to close 100 % - 0 %/Time to open 0 % - 100 %, the movement is linear with constant speed until the respective end stop is reached.

The valve stroke can be shifted by Relative overlap. In accordance with common valve parameters a negative overlap will open the valve edge.

The default relationship between input signal and flow rate of the metering edge is linear, but can be changed through the use of a 1D look-up table. The look-up table is provided either manually or by importing a text file. If the parameter Table is provided by file is set to false, the manually entered datapoints from Manually provided look-up table will be used. If it is set to true, the table Table name on file from the file File where look-up table is stored will be utilized.

The text file must follow a specific syntax such that it can be read by Modelica. The input values as well as the output values must lie within the range from 0 to 1. An output value of 1 (100 %) corresponds to a fully-opened metering edge. An example for a properly formatted text file with two tables is given in the figure below:

A table is declared by its datatype (e. g. double), followed by the table name (e. g. tab1) and its dimensions in brackets (e. g. (5,2)). As can be seen, multiple tables can be defined in the same text file. The table declaration is followed by the actual data. The first column of the table represents the input of the 1D table, whereas the second column lists the corresponding output values. The input values of the table must be in increasing order. The component interpolates linearly between the listed input values. More information regarding the format of tables can be found at CombiTable1D.

Parameters

SwitchingValve22_0

NameLabelDescriptionData TypeValid Values

mo_SwitchingThreshold

SwitchingThreshold

input threshold to open the valve

Scalar

mo_Topen

Topen

Time to open 0 % - 100 %

Scalar

mo_Tclose

Tclose

Time to close 100 % - 0 %

Scalar

mo_enableStrokeOut

enableStrokeOut

Enable Stroke Output

Number

0
1

mo_inputMaxPartial

inputMaxPartial

Scalar

mo_gradientOpen

gradientOpen

Scalar

mo_gradientClose

gradientClose

Scalar

mo_deadVolume

deadVolume

Dead volume at ports

Scalar

mo_pP

pP

pP

Structure

mo_pP/fixed

fixed

Cell of scalars

true
false

mo_pP/start

start

Cell of scalars

mo_pA

pA

pA

Structure

mo_pA/fixed

fixed

Cell of scalars

true
false

mo_pA/start

start

Cell of scalars

mo_initType

initType

Type of initialization (1: no init, 2: steady state, 3/4: initial output)

Structure

mo_initType/choice1

Modelica.Blocks.Types.Init.NoInit

Number

0
1

mo_initType/choice2

Modelica.Blocks.Types.Init.SteadyState

Number

0
1

mo_initType/choice3

Modelica.Blocks.Types.Init.InitialState

Number

0
1

mo_initType/choice4

Modelica.Blocks.Types.Init.InitialOutput

Number

0
1

mo_stroke

stroke

stroke

Structure

mo_stroke/fixed

fixed

Cell of scalars

true
false

mo_stroke/start

start

Cell of scalars

mo_gradient

gradient

gradient

Structure

mo_gradient/fixed

fixed

Cell of scalars

true
false

mo_gradient/start

start

Cell of scalars

SwitchingValve22_1

NameLabelDescriptionData TypeValid Values

mo_NominalVolumeFlow

NominalVolumeFlow

Nominal volume flow

Scalar

mo_NominalPressureDifference

NominalPressureDifference

Nominal pressure difference

Scalar

mo_ReferenceDensity

ReferenceDensity

Reference density for volume flow and pressure difference

Scalar

mo_Overlap

Overlap

Valve edge relative overlap

Scalar

mo_QFactorPA

QFactorPA

Factor for edge specific flow adjustment

Scalar

mo_tableFromFile

tableFromFile

Table is provided by file

Scalar

true
false

mo_fileName

fileName

File where look-up table is stored

String

mo_tableName

tableName

Table name on file

String

mo_manualTable

manualTable

Manually provided look-up table

Matrix

mo_ZeroVolumeFlow

ZeroVolumeFlow

Volume flow due to leakage

Scalar

mo_ZeroFlowPressureDifference

ZeroFlowPressureDifference

Pressure difference for leakage flow

Scalar

SwitchingValve22_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

'volumeFlowP'
'volumeFlowA'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

portA

implicit

Hydraulic port A

input

1

portP

implicit

Hydraulic port P

input

2

Input

implicit

Set value of valve position

input

3

Port 4

implicit

Valve Stroke

output

mo_enableStrokeOut

See Also