public void DoCalculation() { Outlet.Copy(Inlet); //Update to H2s state Outlet.UpdatePT(Inlet.Pressure, Inlet.Tsat + SuperHeat); }
public void DoCalculation() { Outlet.Copy(Inlet); //Update to H2s state Outlet.UpdatePX(Inlet.Pressure, 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); }
public void DoCalculation() { Outlet.Copy(Inlet); Outlet.UpdatePH(EvapPressure, Inlet.Enthalpy); }