functiongetIdealGasGCV_xi

Adaptive function for gross calorific value calculation for ideal gases, input xi

Extends from TransiEnt.Basics.Icons.Function.

Information

1. Purpose of model

This model is used to calculate the gross calorific value (GCV), also known as higher heating value (HHV) of a fuel gas mixture based on the mass fractions and respective mass weighted calorific values from a record.

2. Level of detail, physical effects considered, and physical insight

(no remarks)

3. Limits of validity

(no remarks)

4. Interfaces

(no remarks)

5. Nomenclature

(no elements)

6. Governing Equations

(no remarks)

7. Remarks for Usage

If there are components in the gas which don't have a corresponding entry in the GCV values record, they will just be ignored, giving a faulty calorific value. The function will throw a warning.

GCVIn was added to give the possibility to define a constant calorific value. If this value is set to 0, the GCV will be calculated by the composition of the defined medium.

8. Validation

Tested in check model "TransiEnt.Basics.Functions.GasProperties.Check.TestGCVCalculation"

9. References

(no remarks)

10. Version History

Created by Lisa Andresen (andresen@tuhh.de), Sep 2016

Inputs

TypeNameDefaultDescription
TILMedia.GasTypes.BaseGasidealGasTypeIdeal gas type
SI.MassFractionxi_inMass fractions
SI.SpecificEnthalpyGCVInSet this to a specific value for a constant GCV or to zero for GCV-calculation

Outputs

TypeNameDefaultDescription
SI.SpecificEnthalpyGCVOutReturned GCV

Contents

NameDescription
getIdealGasGCVVectorprotected