Create a code to solve the following problem in.docx
1. Create a code to solve the following problem in EES.
Engineering Equation Solver (EES) code to solve problem1. Create a code to solve the
following problem in EES. Use property calls to get enthalpies or other data that would
usually be looked up in the tables.Problem Statement: A simple ideal Rankine cycle with
water as the working fluid operates between the pressure limits of 15 MPa in the boiler and
100 kPa in the condenser. Saturated steam enters the turbine.Find:a) The work produced by
the turbine.b) The heat transferred in the condenser.c) The work consumed by the pump.d)
The heat transferred in the boiler.e) The thermal efficiency of the cycle.f) The back-work
ratio2. Create a parametric table by changing the pressure across the boiler from 20 MPa to
1 MPa. (There will be 20 runs)a. In the table should be the six values that you found above.b.
As a comment in the code, analyze the table. Below are some questions to think about.i.
What trends do you see?ii. Why do you think those are happening?3. Plot the cycle on a T-s
diagrama. Using a look-up table plot the points on theb. As a comment in the code, describe
what you see in the plot. Does it match the Ideal Rankine cycle we talked about in
class?Make sure EES is set to the correct unit system for the problem. Recommended
approach:Create variables for all your given information.Write the governing equations to
solve the processes in EES.Identify what is unknown and create property calls or additional
equations to get that information.