ValveEdge
Library
HydraulicsByFluidon/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
Name | Label | Description | Data Type | Valid 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 |
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 |
mo_inputMin | inputMin | Minimum value of the input for look-up table | Scalar |
Name | Label | Description | Data Type | Valid 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 | 'dp' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
Input | implicit | input | 1 | |
Offset | implicit | input | 2 | |
InputMax | implicit | input | 3 | |
portA | implicit | input | 4 | |
portB | implicit | input | 5 |