modelIdealGasCompositionMolToWtFractions
Boundary for ideal gas composition, input: mole fractions, output: mass fractions
Extends from TransiEnt.Basics.Icons.TableIcon.
Information
1. Purpose of model
Define mole fractions of ideal gas composition and convert them into mass fractions.
2. Level of detail, physical effects considered, and physical insight
(Purely technical component without physical modeling.)
3. Limits of validity
(Purely technical component without physical modeling.)
4. Interfaces
xi: RealOutput of mass fractions in [kg/kg]
5. Nomenclature
x is the mole fraction in
M is the molar mass of the mixture
6. Governing Equations
(no equations)
7. Remarks for Usage
(no remarks)
8. Validation
(no validation or testing necessary)
9. References
(no remarks)
10. Version History
Created by Lisa Andresen (andresen@tuhh.de), Apr 2014
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| TILMedia.GasTypes.BaseGas | medium | simCenter.gasModel2 | Medium model to be used |
| SI.MoleFraction | x_in | Mole fraction vector of size(nc-1) | |
| SI.MolarMass | M_i | TILMedia.GasFunctions.molarMass_n(medium, 0:medium.nc - 1) | Molar mass vector for components of mixture |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.General.MassFractionOut[medium.nc - 1] | xi | Mass composition of gas to be set |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.SimCenter | simCenter | ||
| SI.MolarMass | M | Molar mass of mixture | |
| SI.MoleFraction | x |