Translational Mechanical Converter (G)
Interface between gas and mechanical translational networks
Libraries:
Simscape /
Foundation Library /
Gas /
Elements
Description
The Translational Mechanical Converter (G) block models an interface between a gas network and a mechanical translational network. The block converts gas pressure into mechanical force and vice versa. It can be used as a building block for linear actuators.
The converter contains a variable volume of gas. The pressure and temperature evolve based on the compressibility and thermal capacity of this gas volume. The Mechanical orientation parameter lets you specify whether an increase in the gas volume results in a positive or negative displacement of port R relative to port C.
Port A is the gas conserving port associated with the converter inlet. Port H is the thermal conserving port associated with the temperature of the gas inside the converter. Ports R and C are the mechanical translational conserving ports associated with the moving interface and converter casing, respectively.
Mass Balance
Mass conservation equation is similar to that for the Constant Volume Chamber (G) block, with an additional term related to the change in gas volume:
where:
is the partial derivative of the mass of the gas volume with respect to pressure at constant temperature and volume.
is the partial derivative of the mass of the gas volume with respect to temperature at constant pressure and volume.
pI is the pressure of the gas volume. Pressure at port A is assumed equal to this pressure, pA = pI.
TI is the temperature of the gas volume. Temperature at port H is assumed equal to this temperature, TH = TI.
ρI is the density of the gas volume.
V is the volume of gas.
t is time.
A is the mass flow rate at port A. Flow rate associated with a port is positive when it flows into the block.
Energy Balance
Energy conservation equation is also similar to that for the Constant Volume Chamber (G) block. The additional term accounts for the change in gas volume, as well as the pressure-volume work done by the gas on the moving interface:
where:
is the partial derivative of the internal energy of the gas volume with respect to pressure at constant temperature and volume.
is the partial derivative of the internal energy of the gas volume with respect to temperature at constant pressure and volume.
ФA is the energy flow rate at port A.
QH is the heat flow rate at port H.
hI is the specific enthalpy of the gas volume.
Partial Derivatives for Perfect and Semiperfect Gas Models
The partial derivatives of the mass M and the internal energy U of the gas volume, with respect to pressure and temperature at constant volume, depend on the gas property model. For perfect and semiperfect gas models, the equations are:
where:
ρI is the density of the gas volume.
V is the volume of gas.
hI is the specific enthalpy of the gas volume.
Z is the compressibility factor.
R is the specific gas constant.
cpI is the specific heat at constant pressure of the gas volume.
Partial Derivatives for Real Gas Model
For real gas model, the partial derivatives of the mass M and the internal energy U of the gas volume, with respect to pressure and temperature at constant volume, are:
where:
β is the isothermal bulk modulus of the gas volume.
α is the isobaric thermal expansion coefficient of the gas volume.
Gas Volume
The gas volume depends on the displacement of the moving interface:
where:
Vdead is the dead volume.
Sint is the interface cross-sectional area.
xint is the interface displacement.
εint is the mechanical orientation coefficient. If Mechanical orientation is
Pressure at A causes positive displacement of R relative to C
, εint = 1. If Mechanical orientation isPressure at A causes negative displacement of R relative to C
, εint = –1.
If you connect the converter to a Multibody joint, use the physical signal input port p to specify the displacement of port R relative to port C. Otherwise, the block calculates the interface displacement from relative port velocities. The interface displacement is zero when the gas volume is equal to the dead volume. Then, depending on the Mechanical orientation parameter value:
If
Pressure at A causes positive displacement of R relative to C
, the interface displacement increases when the gas volume increases from dead volume.If
Pressure at A causes negative displacement of R relative to C
, the interface displacement decreases when the gas volume increases from dead volume.
Force Balance
Force balance across the moving interface on the gas volume is
where:
Fint is the force from port R to port C.
penv is the environment pressure.
Variables
To set the priority and initial target values for the block variables prior to simulation, use the Initial Targets section in the block dialog box or Property Inspector. For more information, see Set Priority and Initial Target for Block Variables and Initial Conditions for Blocks with Finite Gas Volume.
Nominal values provide a way to specify the expected magnitude of a variable in a model. Using system scaling based on nominal values increases the simulation robustness. Nominal values can come from different sources, one of which is the Nominal Values section in the block dialog box or Property Inspector. For more information, see Modify Nominal Values for a Block Variable.
Assumptions and Limitations
The converter casing is perfectly rigid.
There is no flow resistance between port A and the converter interior.
There is no thermal resistance between port H and the converter interior.
The moving interface is perfectly sealed.
The block does not model mechanical effects of the moving interface, such as hard stop, friction, and inertia.
Examples
Ports
Input
Conserving
Parameters
Extended Capabilities
Version History
Introduced in R2016b