Пример #1
0
        public double GetHumidEnthalpyFromDryBulbHumidityAndPressure(double temperature, double humidity, double pressure)
        {
            double airCp = gasProperties.GetSpecificHeatOfDryGas((273.15 + temperature) / 2.0);
            double specificEnthalpyOfDryGas = airCp * (temperature - 273.15);
            //pressure caused enthalpy diferene
            //double deltaEnthalpyOfDryGas = CalculateDeltaEnthalpy(gas, temperature, pressure);

            double dewPoint = GetDewPointFromHumidityAndPressure(humidity, pressure);
            //double pPartial = humidity * pressure / (moistureGasMolarMassRatio + humidity);
            double liquidMoistureCp = moistureProperties.GetSpecificHeatOfLiquid((273.15 + dewPoint) / 2.0);
            double vaporMoistureCp  = moistureProperties.GetSpecificHeatOfVapor((dewPoint + temperature) / 2.0);
            double evaporationHeat  = moistureProperties.GetEvaporationHeat(dewPoint);

            //double specificEnthalpyOfMoisture = humidity * (liquidMoistureCp * (dewPoint - 273.15) + evaporationHeat + vaporMoistureCp * (temperature - dewPoint));
            double specificEnthalpyOfMoisture = liquidMoistureCp * (dewPoint - 273.15) + evaporationHeat + vaporMoistureCp * (temperature - dewPoint);

            //double deltaEnthalpyOfMoisture = CalculateDeltaEnthalpy(moisture, temperature, pressure);
            //double specificEnthalpyOfMoisture = humidity * moistureProperties.GetEnthalpy(pPartial, temperature);
            //return specificEnthalpyOfDryGas + deltaEnthalpyOfDryGas + humidity * (specificEnthalpyOfMoisture + deltaEnthalpyOfDryGas);
            return(specificEnthalpyOfDryGas + humidity * (specificEnthalpyOfMoisture));
        }
Пример #2
0
 public double GetSpecificHeatOfLiquid()
 {
     return(moistureProperties.GetSpecificHeatOfLiquid());
 }