Esempio n. 1
0
        public void DoCalculation()
        {
            //Update to H2s state
            Outlet.UpdatePS(DischargePressure, Inlet.Entropy);

            //Calculating H2
            SpecificEnergy H2 = ((Outlet.Enthalpy - Inlet.Enthalpy) / EtaI) + Inlet.Enthalpy;

            //Setting the outlet condition to H2
            Outlet.UpdatePH(DischargePressure, H2);
        }
Esempio n. 2
0
        public void DoCalculation()
        {
            Outlet.Copy(Inlet);

            Outlet.UpdatePH(EvapPressure, Inlet.Enthalpy);
        }