der(der(Density derivative w.r.t enthalpy)) computation for all fluids (inputs: P, h, der(P), der(h), der(der(P)), der(der(h)), fluid)
function derderDensity_derh_derderP_derderh
input Units.SI.AbsolutePressure P "Pressure (Pa)";
input Units.SI.SpecificEnthalpy h "Specific enthalpy";
input Integer fluid "<html>Fluid number: <br>1 - Water/Steam <br>2 - C3H3F5 <br>3 - FlueGases <br>4 - MoltenSalt <br>5 - Oil <br>6 - DryAirIdealGas <br>7 - WaterSteamSimple </html>";
input Integer mode "IF97 region - 0:automatic computation";
input Real Xco2 "CO2 mass fraction";
input Real Xh2o "H2O mass fraction";
input Real Xo2 "O2 mass fraction";
input Real Xso2 "SO2 mass fraction";
input Real der_P "Pressure time derivative (J/(kg*s))";
input Real der_h "Specific Enthalpy time derivative (J/(kg*s))";
input Real der_Xco2 = 0 "CO2 mass fraction";
input Real der_Xh2o = 0 "H2O mass fraction";
input Real der_Xo2 = 0 "O2 mass fraction";
input Real der_Xso2 = 0 "SO2 mass fraction";
input Real der_2_P;
input Real der_2_h;
input Real der_2_Xco2 = 0;
input Real der_2_Xh2o = 0;
input Real der_2_Xo2 = 0;
input Real der_2_Xso2 = 0;
output Real der_2_ddhp "Time derivative of time derivative of Density derivative by enthalpy";
end derderDensity_derh_derderP_derderh;
Generated at 2024-11-22T19:25:38Z
by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos