modelRealGasCompositionMolToWtFractions
Boundary for real gas composition, input: mole fractions, output: mass fractions
Extends from TransiEnt.Basics.Icons.TableIcon.
Information
1. Purpose of model
Define mole fractions of real 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
M is the molar mass of the mixture
X is the volume fraction
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.VLEFluidTypes.BaseVLEFluid | medium | simCenter.gasModel1 | |
| SI.MoleFraction | x_in | Mole fraction vector of size(nc-1) | |
| SI.MolarMass | M_i | TILMedia.Internals.VLEFluidConfigurations.FullyMixtureCompatible.VLEFluidFunctions.molarMass_n(medium, 0:medium.nc - 1) | Molar mass vector for components of mixture |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.General.MassFractionOut | xi | composition of gas to be set |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.SimCenter | simCenter | ||
| Modelica.Units.SI.MolarMass | M | Molar mass of mixture | |
| Modelica.Units.SI.VolumeFraction | x |