modelPlenum
Rigid adiabatic volume
Extends from Icons.Gas.Mixer.
Information
This model describes a rigid, adiabatic control volume.
Modelling options
The actual gas used in the component is determined by the replaceable Medium package. In the case of multiple component, variable composition gases, the start composition is given by Xstart, whose default value is Medium.reference_X .
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Volume | V | Inner volume | |
| Boolean | allowFlowReversal | system.allowFlowReversal | = true to allow flow reversal, false restricts to design direction |
| Initialisation | |||
| Medium.AbsolutePressure | pstart | 1e5 | Pressure start value |
| Medium.Temperature | Tstart | 300 | Temperature start value |
| Medium.MassFraction[Medium.nX] | Xstart | Medium.reference_X | Start gas composition |
| Choices.Init.Options | initOpt | system.initOpt | Initialisation option |
| Boolean | noInitialPressure | false | Remove initial equation on pressure |
| Boolean | noInitialTemperature | false | Remove initial equation on temperature |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| FlangeA | inlet | ||
| FlangeB | outlet | ||
| Thermal.HT | thermalPort |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.BaseProperties | gas | ||
| ThermoPower.System | system | System wide properties | |
| SI.Mass | M | Total mass | |
| SI.InternalEnergy | E | Total internal energy | |
| Medium.SpecificEnthalpy | hi | Inlet specific enthalpy | |
| Medium.SpecificEnthalpy | ho | Outlet specific enthalpy | |
| Medium.MassFraction[Medium.nXi] | Xi_i | Inlet composition | |
| Medium.MassFraction[Medium.nXi] | Xi_o | Outlet composition | |
| SI.Time | Tr | Residence Time |
Contents
| Name | Description |
|---|---|
Revisions
- 30 May 2005
by Francesco Casella:
Initialisation support added. - 19 Nov 2004
by Francesco Casella:
Adapted to Modelica.Media - 5 Mar 2004
by Francesco Casella:
First release.