SwitchingValve43

    SwitchingValve43

Library

HydraulicsByFluidon/Components/Valves/DirectionalValves

Description

The component SwitchingValve43 is a model of a 3-way valve where the flow (at 100 % valve stroke) is set by Nominal volume flow and Nominal pressure difference.

For Input ≥ Input threshold to open the valve the valve switches in positive direction up to right position, for Input ≤ - Input threshold to open the valve the valve switches in negative direction up to left position. For - Input threshold to open the valve < Input < Input threshold to open the valve it switches into resting position (middle position).

The opening of the valve lasts always Time to open 0 % - 100 %, the closing always Time to close 100 % - 0 %, i. e. the switching from one end stop position to the other lasts Time to close 100 % - 0 % + Time to open 0 % - 100 %.

The valve stroke can be shifted by Valve edge general relative overlap. In accordance with common valve parameters a negative overlap will open the valve edge. Valve edge general relative overlap is applied to all valve edges simultaneously. If at least one of the edge-specific values, e. g. Valve edge PA relative overlap is set to a value different from 0, then Valve edge general relative overlap is ignored and the individual overlaps are used.

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

SwitchingValve43_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_forwardFluidPropertiesBT

forwardFluidPropertiesBT

Scalar

true
false

mo_eps

eps

Scalar

mo_gradientOpen

gradientOpen

Scalar

mo_gradientClose

gradientClose

Scalar

mo_deadVolume

deadVolume

Dead volume at ports

Scalar

mo_initType

initType

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

Structure

mo_initType/choice1

No initialization (start values are used as guess values with fixed=false)

Number

0
1

mo_initType/choice2

Steady state initialization (derivatives of states are zero)

Number

0
1

mo_initType/choice3

Initialization with initial states

Number

0
1

mo_initType/choice4

Initialization with initial outputs (and steady state of the states if possible)

Number

0
1

SwitchingValve43_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 general relative overlap

Scalar

mo_OverlapPA

OverlapPA

Valve edge PA relative overlap

Scalar

mo_OverlapPB

OverlapPB

Valve edge PB relative overlap

Scalar

mo_OverlapAT

OverlapAT

Valve edge AT relative overlap

Scalar

mo_OverlapBT

OverlapBT

Valve edge BT relative overlap

Scalar

mo_ZeroVolumeFlow

ZeroVolumeFlow

Volume flow due to leakage

Scalar

mo_ZeroFlowPressureDifference

ZeroFlowPressureDifference

Pressure difference for leakage flow

Scalar

SwitchingValve43_2

NameLabelDescriptionData TypeValid Values

mo_QFactorPA

QFactorPA

Factor for edge PA specific flow adjustment

Scalar

mo_tableFromFilePA

tableFromFilePA

Table is provided by file

Scalar

true
false

mo_fileNamePA

fileNamePA

File where look-up table is stored

String

mo_tableNamePA

tableNamePA

Table name on file

String

mo_manualTablePA

manualTablePA

Manually provided look-up table

Matrix

mo_QFactorPB

QFactorPB

Factor for edge PB specific flow adjustment

Scalar

mo_tableFromFilePB

tableFromFilePB

Table is provided by file

Scalar

true
false

mo_fileNamePB

fileNamePB

File where look-up table is stored

String

mo_tableNamePB

tableNamePB

Table name on file

String

mo_manualTablePB

manualTablePB

Manually provided look-up table

Matrix

SwitchingValve43_3

NameLabelDescriptionData TypeValid Values

mo_QFactorAT

QFactorAT

Factor for edge AT specific flow adjustment

Scalar

mo_tableFromFileAT

tableFromFileAT

Table is provided by file

Scalar

true
false

mo_fileNameAT

fileNameAT

File where look-up table is stored

String

mo_tableNameAT

tableNameAT

Table name on file

String

mo_manualTableAT

manualTableAT

Manually provided look-up table

Matrix

mo_QFactorBT

QFactorBT

Factor for edge BT specific flow adjustment

Scalar

mo_tableFromFileBT

tableFromFileBT

Table is provided by file

Scalar

true
false

mo_fileNameBT

fileNameBT

File where look-up table is stored

String

mo_tableNameBT

tableNameBT

Table name on file

String

mo_manualTableBT

manualTableBT

Manually provided look-up table

Matrix

SwitchingValve43_4

NameLabelDescriptionData TypeValid Values

mo_valveStrokeOut

valveStrokeOut

valveStrokeOut

Structure

mo_valveStrokeOut/fixed

fixed

Cell of scalars

true
false

mo_valveStrokeOut/start

start

Cell of scalars

mo_pP

pP

pP

Structure

mo_pP/fixed

fixed

Cell of scalars

true
false

mo_pP/start

start

Cell of scalars

mo_pT

pT

pT

Structure

mo_pT/fixed

fixed

Cell of scalars

true
false

mo_pT/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_pB

pB

pB

Structure

mo_pB/fixed

fixed

Cell of scalars

true
false

mo_pB/start

start

Cell of scalars

mo_Input

Input

Input

Structure

mo_Input/fixed

fixed

Cell of scalars

true
false

mo_Input/start

start

Cell of scalars

mo_stroke

stroke

stroke

Structure

mo_stroke/fixed

fixed

Cell of scalars

true
false

mo_stroke/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

portA

implicit

Hydraulic port A

input

1

portB

implicit

Hydraulic port B

input

2

portP

implicit

Hydraulic port P

input

3

portT

implicit

Hydraulic port T

input

4

Input

implicit

Set value of valve position

input

5

Port 6

implicit

Valve Stroke

output

mo_enableStrokeOut