RCAIDE.Library.Attributes.Gases.Gas
Gas#
- class Gas(*args, **kwarg)[source]#
Bases:
Data
Base class for all gas implementations in RCAIDE. Provides fundamental gas properties and composition tracking.
- tag#
Identifier for the gas type (‘gas’ by default)
- Type:
str
- molecular_mass#
Molecular mass of the gas in kg/kmol
- Type:
float
- gas_specific_constant#
Specific gas constant in m²/s²-K
- Type:
float
- composition#
- Chemical composition container for tracking gas components
- gasfloat
Default mass fraction of primary gas component (1.0 by default)
- Type:
Notes
This class serves as the parent class for all specific gas implementations. The default values represent a generic gas and should be overridden by child classes with specific gas properties.
Definitions
- ‘Molecular Mass’
The mass of one mole of the gas molecules in kg/kmol
- ‘Specific Gas Constant’
The individual gas constant for the specific gas, calculated as the universal gas constant divided by the molecular mass
- ‘Mass Fraction’
The ratio of the mass of a component to the total mass of the gas mixture