modelCylinder
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Area | A | Cylinder cross section | |
| Modelica.SIunits.Volume | Vref | Cylinder volume at reference level | |
| Modelica.SIunits.Length | yref | Reference level | |
| Modelica.SIunits.Length | ystart | Start value of the level | |
| Modelica.SIunits.Length | ymin | 1e-3 | Minimum level |
| Modelica.SIunits.Length | ymax | Maximum level | |
| Types.RelativePressure | pstart | 0 | Start value of relative pressure |
| Boolean | init_y | false | Initialize the level |
| Boolean | init_p | false | Initialize the pressure |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.PneumaticPort_a | inlet | ||
| Interfaces.PneumaticPort_b | outlet | ||
| Modelica.Mechanics.Translational.Interfaces.Flange_a | pistonFlange |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Ambient | ambient | ||
| Modelica.SIunits.Mass | M | Mass | |
| Modelica.SIunits.Length | y | Level | |
| Types.Volume | V | Volume | |
| Types.RelativePressure | p | Relative air pressure in the cylinder | |
| Modelica.SIunits.Force | F | Net force applied to the piston, discounting external atmospheric pressure | |
| Types.MassFlowRate | w_in | Entering mass flow rate | |
| Types.MassFlowRate | w_out | Leaving mass flow rate | |
| Types.AbsolutePressure | pamb | ambient.p | Ambient pressure |
| Media.AirAdiabatic | air |