This model is used to get the vector the mass specific gross calorific values (GCV), also known as higher heating values (HHV), of a given fuel gas mixture from a record.
(no remarks)
(no remarks)
(no remarks)
(no elements)
(no remarks)
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.
(no validation or testing necessary)
(no remarks)
Created by Lisa Andresen (andresen@tuhh.de), Sep 2016
function getRealGasGCVVector extends TransiEnt.Basics.Icons.Function; import X = Modelica.Utilities.Strings; import S = Modelica.Utilities.Streams; input TILMedia.VLEFluidTypes.BaseVLEFluid realGasType "Real gas type" annotation( choicesAllMatching = true); input Integer nc; output SI.SpecificEnthalpy[nc] GCV_vec "Vector containing gross calorific values of specified medium components"; end getRealGasGCVVector;