modelRealGasNCV_xi_Block

Block for net calorific value calculation for real gases, input xi

Extends from TransiEnt.Basics.Icons.Block, TransiEnt.Basics.Media.Base.RealGas_MediaBaseNCV.

Information

1. Purpose of model

This model is used to calculate the mass specific net calorific value (NCV), also known as lower heating value (LHV) of a fuel gas mixture based on mass fractions and repective 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

xi_in is the mass fraction

NCV is the net calorific value

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 NCV values record, they will just be ignored, giving a faulty calorific value. The function will throw a warning.

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

8. Validation

(no validation or testing necessary)

9. References

(no remarks)

10. Version History

Created by Jan Westphal (j.westphal@tuhh.de), June 2019, based on a model of Lisa Andresen

Parameters

TypeNameDefaultDescription
TILMedia.VLEFluidTypes.BaseVLEFluidrealGasType (from RealGas_MediaBaseNCV)
SI.SpecificEnthalpyNCVIn (from RealGas_MediaBaseNCV)0.0Set this to a specific value for a constant NCV or to zero for NCV calculation
SI.SpecificEnthalpyNCV_vec (from RealGas_MediaBaseNCV)Functions.GasProperties.getRealGasNCVVector(realGasType, realGasType.nc)

Connectors

TypeNameDefaultDescription
Interfaces.General.MassFractionIn[realGasType.nc - 1]xi_inputMass fraction
TransiEnt.Basics.Interfaces.General.SpecificEnthalpyOutNCVNet calorific value

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter (from RealGas_MediaBaseNCV)
SI.MassFractionxi_in (from RealGas_MediaBaseNCV)Mass fractions