//Steam Table //calculated value unit is kmol/m3, t unit is K public static double CalculateWaterDensity(double p, double t) { SteamTable steamTable = SteamTable.GetInstance(); double density = steamTable.GetDensityFromPressureAndTemperature(p, t); return(density); }