This model is used to get the vector the molar net calorific values (NCVm), also known as lower heating values (LHVm), 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 NCVm 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 getRealGasNCVmVector 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 Real[nc] NCVm_vec "Vector containing gross calorific values of specified medium components"; end getRealGasNCVmVector;