Exemple #1
0
        public void DoCalculation()
        {
            Outlet.Copy(Inlet);

            //Update to H2s state
            Outlet.UpdatePT(Inlet.Pressure, Inlet.Tsat + SuperHeat);
        }
Exemple #2
0
        public void DoCalculation()
        {
            Outlet.Copy(Inlet);

            //Update to H2s state
            Outlet.UpdatePX(Inlet.Pressure, 0);
        }
Exemple #3
0
        public void DoCalculation()
        {
            Outlet.Copy(Inlet);

            //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);
        }
Exemple #4
0
        public void DoCalculation()
        {
            Outlet.Copy(Inlet);

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