Example #1
0
        //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);
        }