This model is used to get the vector the mass specific net calorific values (NCV), also known as lower heating values (LHV), 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 NCV 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 getIdealGasNCVVector extends TransiEnt.Basics.Icons.Function; import X = Modelica.Utilities.Strings; import S = Modelica.Utilities.Streams; input TILMedia.GasTypes.BaseGas idealGasType "Ideal gas type" annotation( choicesAllMatching = true); input Integer nc; output SI.SpecificEnthalpy[nc] NCV_vec "Vector containing gross calorific values of specified medium components"; end getIdealGasNCVVector;