Orifice ISO 6358 with Pressure-Dependency - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MapleSim : MapleSim Component Library : Pneumatics : Restrictions : Orifice ISO 6358 with Pressure-Dependency

Orifice ISO 6358 with Pressure Dependency

Orifice with table-based pressure dependency

Description

Equations

Variables

Connections

Parameters

Description

The Orifice ISO 6358 with Pressure Dependency component models a sharp-edged orifice adhering to ISO 6358 where the opening varies with the pressure across the device.

The conductance and the critical pressure ratio are computed as a function of the pressure difference between port A and port B using a data table containing values of the pressure difference vs. the corresponding C and b. Based on C and b, the pressure vs. flow rate relationship is derived by the formulation used in the Orifice ISO 6358 component.

If C,bdp=C,bdp, then the Symmetric boolean parameter can be assigned true and only the first quadrant of the C, b vs. dp curve needs to be defined in the table.

Formulation Approaches

Two approaches are taken for formulation of the flow equation inside the component. When the boolean parameter Use Restriction Area is true, the sonic conductance is calculated from the restriction area using Gidlund's approximation.

Pressure vs. C and b

For this component, the conductance and the critical pressure ratio of the orifice must be specified as a function of the pressure difference in the form of a table. The following parameters allow users to specify the necessary data for this calculation.

Data Source: This parameter allows users to specify the nature of the source file for the Pressure vs. C and b table. The available options are file, attachment, and inline.

file: Use this option to specify a source file (an Excel or a CSV file) located on the hard drive. Use the C,BdP parameter to browse to and/or select the data file. The data file will not be attached to the MapleSim model.

attachment: Use this option to specify a data file (an Excel or a CSV file) that is attached to the MapleSim model. To be used as an attachment, data files must be attached to the MapleSim model and be categorized under Data Sets. The attached files in a MapleSim model can be viewed in the Attachments pane under the Data Sets section. For more information, see Attaching a File to a Model. If the required file is not already attached to the MapleSim model, use the C,bdP parameter to attach a new file.

Note:

If the file option is used, subsequent changes to the source file will be reflected in the MapleSim simulations

If the attachment option is used, subsequent changes to the source file will not affect the version attached to the MapleSim model. To ensure updates to the source files are reflected in the simulation, the file must be re-attached.

The Data Generation App can be used to generate table data from mathematical functions using Maple code. For more information about MapleSim apps, see Using MapleSim Apps.

inline: Use this option to directly specify the pressure vs. area relationship in the form of a table. In the C,bdP parameter, enter an m×3 matrix. The first column must contain values of pressure difference, the second column must contain corresponding values of the conductance, and the third column must contain the critical pressure ratio, b.

Note: To change the dimensions of table, right-click (Control-click for Mac®) the parameter field and select Edit Matrix Dimensions. In the Matrix Dimensions dialog, enter values for the number or rows and columns and then click OK.

Skip rows: This option allows users to specify the number of top rows to be ignored during the calculations. This option can be useful when the Excel file contains header information.

Smoothness: The smoothness option specifies how the data table is interpolated.

Pressure difference unit: This option specifies the unit of pressure used in the supplied data.

Equations

Ci=Interpolate1D(C,bdP,({psymmetricpotherwise), column, smoothness,skipRows),column = 2 B__i =Interpolate1D(C,bdP,({psymmetricpotherwise),column, smoothness,skipRows),column = 3

Csonic=max0, C__i bcr=max0, B__i

p=pApB  hflow__X  = inStreamportXhflow 

Orifice Gas Equations

mflow = {kp11p__2p__1T__envT__refp2p1b__lamregp__1Cρ__0T__envT__ref (1p__2p__1b1b2b__lamreg> p__2p__1>bp__1Cρ__0T__0T__1p__2P__1b Where,  p__1  Upstream pressure,  p__2  Downstream pressure 

Linear Gain k is given by

k = C1b__lamregρ__01 b__lamregb1b2

 

When Use Restriction Area is checked, Gidlund's approximation is used to calculate C using Ar


Ai=Interpolate1D(A,bdP,({psymmetricpotherwise), column, smoothness,skipRows),column = 2

C=0.1254Arπ 

Variables

Name

Units

Description

Modelica ID

p

Pa

Pressure drop from A to B

p

pX

Pa

Pressure at port X

pX

hflowX

Jkg

Specific Enthalpy into port X

hflowX

mflow

kgs

Flow rate from A to B

mflow

Connections

Name

Description

Modelica ID

portA

Upstream Pneumatic port

portA

portB

Downstream Pneumatic port

portB

Parameters

Fluid Medium Parameters

The Gas parameters used in the equations, are properties defined in the Gas Model component used in the model.

Name

Default

Units

Description

Modelica ID

Use default medium

true

When true the default gas properties defined for Air will be used.

useDefaultMedium

medium

When Use default medium is false this option gets turned on. The user can specify the name of the Gas model dragged into the canvas.

medium

 

Orifice Parametrization

Name

Default

Units

Description

Modelica ID

Use Restriction Area

false

 

True (checked) means sonic conductance is calculated from restriction area using Gidlund's approximation

UseRestrictionArea

b__lamreg

0.999

 

Flow transition from turbulent to laminar

b_lamreg

Valve Characteristics

Name

Default

Description

Modelica ID

symmetric

true

True (checked) means the data for positive pressure difference is used for both directions

symmetric

Orifice Data vs. Pressure

Name

Default

Description

Modelica ID

Data source

inline

Data source

datasourcemode

C,bdP

[1]

Data set

table

A

[2]

Data set

A

Data source

inline

Data source

datasourcemode_2

Skip rows

0

Number of rows to skip

skipRows

Smoothness

linear

Smoothness of table interpolation

smoothness

Pressure difference unit

kPa

Unit of pressure used in the data

pressUnit

[1] 100,1e−13,0.54;200,3.2ⅇ−9,0.54;300, 6.4ⅇ−9, 0.54; 600, 9.6ⅇ−9, 0.54

[2] 100,1e−12,0.54;200,1e−4,0.54;300, 1e−4, 0.54; 600, 1e−4, 0.54

See Also

Pneumatics Library

Restrictions