Engee documentation

Translational Mechanical Converter (G)

The interface between the gas and mechanical translational networks.

blockType: AcausalFoundation.Gas.Elements.TranslationalMechanicalConverter

Path in the library:

/Physical Modeling/Fundamental/Gas/Elements/Translational Mechanical Converter (G)

Description

Block Translational Mechanical Converter (G) It is an interface (converter) between the gas and mechanical translational networks. The unit converts the gas pressure into mechanical force and vice versa. It can be used as a base for linear gas drives and compressors.

The converter contains a variable volume of gas. Pressure and temperature vary depending on the compressibility and heat capacity of the gas. Parameter Mechanical orientation allows you to specify whether an increase in gas volume leads to a positive or negative displacement of port R relative to port C.

Port A is the gas port corresponding to the input of the converter. Port H is a thermal port connected to the temperature of the gas inside the converter. Ports R and C are mechanical translational ports corresponding to the stem and body of the converter.

Conservation of mass

The equation of conservation of mass is similar to the equation for the block Constant Volume Chamber (G) with an additional term related to the change in gas volume:

where

  • is the partial derivative of the gas mass in terms of pressure at constant temperature and volume;

  • is the partial derivative of the mass of a gas with respect to temperature at constant pressure and volume;

  • — gas pressure. The pressure at port A is considered to be equal to this pressure, ;

  • — gas temperature. It is assumed that the temperature at port H is equal to this temperature, ;

  • — gas density;

  • — gas volume;

  • — time;

  • — mass consumption at the port A. The flow rate through the port is positive if gas flows into the unit.

Energy conservation

The energy conservation equation relates the expenditure of energy and heat to the dynamics of pressure and temperature of the internal unit representing the volume of gas:

where

  • is the partial derivative of the internal energy of a gas in terms of pressure at constant temperature and volume;

  • is the partial derivative of the internal energy of a gas with respect to temperature at constant pressure and volume;

  • — power consumption on port A;

  • — the rate of heat flow at the port H;

  • — specific enthalpy of the gas.

Partial derivatives for models of ideal and semi-ideal gases

Partial derivatives of mass M and internal energy U The gas pressure and temperature at constant volume depend on the model of the gas properties. For models of an ideal and semi-ideal gas, the equations have the following form:

,

,

,

,

where

  • — gas density;

  • — gas volume;

  • — specific enthalpy of the gas;

  • — the coefficient of compressibility;

  • — universal gas constant;

  • — specific heat capacity at constant gas pressure.

Partial derivatives for the real gas model

For a real gas model, partial derivatives of mass and internal energy The gases are equal in pressure and temperature at constant volume:

,

,

,

,

where

  • — isothermal volumetric gas compression module;

  • — isobaric coefficient of thermal expansion of the gas.

Gas volume

The volume of gas depends on the displacement of the piston:

where

  • — dead volume;

  • — displacement of the piston (gas part of the converter);

  • — movement of the rod (mechanical part of the converter);

  • — orientation of the converter. If the parameter Mechanical orientation set to the value Pressure at A causes positive displacement of R relative to C Then . If the parameter Mechanical orientation set to the value Pressure at A causes negative displacement of R relative to C that .

The offset varies depending on the parameter value Mechanical orientation:

  • If the parameter Mechanical orientation set to the value Pressure at A causes positive displacement of R relative to C the displacement of the rod increases as the gas volume increases from the dead volume.

  • If the parameter Mechanical orientation set to the value Pressure at A causes negative displacement of R relative to C, the displacement of the rod decreases when the gas volume increases from the dead volume.

The balance of power

The balance of forces between the moving rod and the gas volume is as follows:

where

  • — the force acting in the direction from port R to port C;

  • — ambient pressure.

Assumptions and limitations

  • The converter housing is absolutely rigid.

  • There is no flow resistance between the A port and the inside of the converter.

  • There is no thermal resistance between the H port and the inside of the converter.

  • There are no gas leaks.

  • The block does not simulate mechanical effects such as hard stopping, friction, and inertia.

Ports

Conserving

# A — gas inlet
gas

Details

The gas port corresponds to the input of the converter.

Program usage name

port

# R — stock
translational mechanics

Details

Mechanical translational port, corresponds to the stem.

Program usage name

rod_flange

# H — temperature inside the converter
heat

Details

The thermal port is connected to the temperature of the gas inside the converter.

Program usage name

thermal_port

# C — housing
translational mechanics

Details

Mechanical translational port, corresponds to the body of the converter.

Program usage name

case_flange

Parameters

Parameters

# Mechanical orientation — orientation of the converter
Pressure at A causes positive displacement of R relative to C | Pressure at A causes negative displacement of R relative to C

Details

Sets the orientation of the movement of the mechanical part in relation to the change in gas volume:

  • Pressure at A causes positive displacement of R relative to C — an increase in gas volume leads to a positive displacement of port R relative to port C.

  • Pressure at A causes negative displacement of R relative to C — an increase in gas volume leads to a negative displacement of port R relative to port C.

Values

Pressure at A causes positive displacement of R relative to C | Pressure at A causes negative displacement of R relative to C

Default value

Pressure at A causes positive displacement of R relative to C

Program usage name

orientation

Evaluatable

No

# Initial interface displacement — the initial offset of port R relative to port C
m | um | mm | cm | km | in | ft | yd | mi | nmi

Details

The initial offset of port R relative to port C. Meaning 0 corresponds to an initial volume of gas equal to Dead volume.

Dependencies

If Mechanical orientation it matters Pressure at A causes positive displacement of R relative to C, the parameter value must be greater than or equal to 0.

If Mechanical orientation it matters Pressure at A causes negative displacement of R relative to C, the parameter value must be less than or equal to 0.

Units

m | um | mm | cm | km | in | ft | yd | mi | nmi

Default value

0.0 m

Program usage name

interface_displacement_start

Evaluatable

Yes

# Interface cross-sectional area — the area on which the gas exerts pressure
m^2 | um^2 | mm^2 | cm^2 | km^2 | in^2 | ft^2 | yd^2 | mi^2 | ha | ac

Details

The area on which the gas exerts pressure to create force.

Units

m^2 | um^2 | mm^2 | cm^2 | km^2 | in^2 | ft^2 | yd^2 | mi^2 | ha | ac

Default value

0.01 m^2

Program usage name

piston_area

Evaluatable

Yes

# Dead volume — gas volume at zero displacement of the rod
m^3 | um^3 | mm^3 | cm^3 | km^3 | ml | l | gal | igal | in^3 | ft^3 | yd^3 | mi^3

Details

The volume of gas at the displacement of the rod, equal to 0.

Units

m^3 | um^3 | mm^3 | cm^3 | km^3 | ml | l | gal | igal | in^3 | ft^3 | yd^3 | mi^3

Default value

1e-5 m^3

Program usage name

dead_volume

Evaluatable

Yes

# Cross-sectional area at port A — the area normal to the flow section at the inlet to the converter
m^2 | um^2 | mm^2 | cm^2 | km^2 | in^2 | ft^2 | yd^2 | mi^2 | ha | ac

Details

The cross-sectional area of the transducer inlet in the direction normal to the gas flow path.

Units

m^2 | um^2 | mm^2 | cm^2 | km^2 | in^2 | ft^2 | yd^2 | mi^2 | ha | ac

Default value

0.01 m^2

Program usage name

port_area

Evaluatable

Yes

# Environment pressure specification — the method of setting the ambient pressure
Atmospheric pressure | Specified pressure

Details

Sets the method for setting the ambient pressure:

  • Atmospheric pressure — atmospheric pressure set by the unit Gas Properties (G), connected to the network.

  • Specified pressure — the value set by the parameter Environment pressure.

Values

Atmospheric pressure | Specified pressure

Default value

Atmospheric pressure

Program usage name

pressure_type

Evaluatable

No

# Environment pressure — pressure outside the transducer
Pa | uPa | hPa | kPa | MPa | GPa | kgf/m^2 | kgf/cm^2 | kgf/mm^2 | mbar | bar | kbar | atm | ksi | psi | mmHg | inHg

Details

The pressure outside the transducer that counteracts the pressure of the transducer’s gas volume. Meaning 0 This means that the converter operates in a vacuum.

Dependencies

To use this parameter, set for the parameter Environment pressure specification meaning Specified pressure.

Units

Pa | uPa | hPa | kPa | MPa | GPa | kgf/m^2 | kgf/cm^2 | kgf/mm^2 | mbar | bar | kbar | atm | ksi | psi | mmHg | inHg

Default value

0.101325 MPa

Program usage name

environment_pressure

Evaluatable

Yes