Identify what is unknown and create property calls or additional equations to get that information.

Words: 261
Pages: 1
Subject: Engineering

Engineering Equation Solver (EES) code to solve problem

  1. 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 ratio
  1. Create a parametric table by changing the pressure across the boiler from 20 MPa to 1 MPa. (There will be 20 runs)
  2. In the table should be the six values that you found above.
  3. 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?
  1. Plot the cycle on a T-s diagram
  • a. Using a look-up table plot the points on the
  • b. 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:

  1. Create variables for all your given information.
  2. Write the governing equations to solve the processes in EES.
  3. Identify what is unknown and create property calls or additional equations to get that information.