ValveEdge

    ValveEdge

Library

Components/Valves/Base

Description

The component ValveEdge is a model of a flow resistance that behaves either as an orifice or a throttle, depending on the parameter setting.

Flow is adjusted proportional to the Input signal starting from Minimum value of the input for look-up table with nominal flow (as given by nominal flow/nominal pressure difference) corresponding to an input value of InputMax. Unlike the Resistor component, the look-up table for valveEdge is declared for the input range from -1 to 1.

Input is shifted by Offset with within +/- 1. In accordance with common valve parameters a negative offset will open the valve edge.

Leakage is specified by Volume flow due to leakage/Pressure difference for leakage flow, this flow is permanent and the overall flow of the valve edge is calculated as max(Nominal volume flow, Volume flow due to leakage).

The default relationship between input signal and flow rate of the resistor 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 resistor. 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

ValveEdge_0

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_ZeroVolumeFlow

ZeroVolumeFlow

Volume flow due to leakage

Scalar

mo_ZeroFlowPressureDifference

ZeroFlowPressureDifference

Pressure difference for leakage flow

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_forwardFluidProperties

forwardFluidProperties

Forward fluid properties between ports

Scalar

true
false

mo_inputMin

inputMin

Minimum value of the input for look-up table

Scalar

ValveEdge_1

NameLabelDescriptionData TypeValid Values

mo_Input

Input

Input

Structure

mo_Input/fixed

fixed

Cell of scalars

true
false

mo_Input/start

start

Cell of scalars

mo_Offset

Offset

Offset

Structure

mo_Offset/fixed

fixed

Cell of scalars

true
false

mo_Offset/start

start

Cell of scalars

mo_InputMax

InputMax

InputMax

Structure

mo_InputMax/fixed

fixed

Cell of scalars

true
false

mo_InputMax/start

start

Cell of scalars

mo_dp

dp

dp

Structure

mo_dp/fixed

fixed

Cell of scalars

true
false

mo_dp/start

start

Cell of scalars

mo_volumeFlowA

volumeFlowA

volumeFlowA

Structure

mo_volumeFlowA/fixed

fixed

Cell of scalars

true
false

mo_volumeFlowA/start

start

Cell of scalars

mo_volumeFlowB

volumeFlowB

volumeFlowB

Structure

mo_volumeFlowB/fixed

fixed

Cell of scalars

true
false

mo_volumeFlowB/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

Input

implicit

input

1

Offset

implicit

input

2

InputMax

implicit

input

3

portA

implicit

input

4

portB

implicit

input

5