Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Due at 11:59 pm, Monday, November 5th, in the BrightSpace Dropbox You will be writing one Python program, and you will upload the .py file
Due at 11:59 pm, Monday, November 5th, in the BrightSpace Dropbox You will be writing one Python program, and you will upload the .py file to the Homework 8 Upload dropbox The TS diagram for the single-turbine Non-ideal Rankine Cycle (shown on the left) has been modified to allow for a process called "reheat" (shown on the right). The reheat process requires a second turbine, and the addition of heat to the fluid between the first and second turbines.The reheat process occurs at an intermediate pressure (shown on the diagram as p mid), and occurs between state-2 and state-Ib on the diagram, and usually raises the temperature of the fluid toa temperature named t_mid. Therefore, state-lb usually has known properties ( p-p-mid, t mid) in the superheated region. (I said "usually" twice, because sometime we simply reheat the fluid to the x-100% state) 1b p high p mid low P low 2bs2b 2s 2 Notes for Reheat: a) Since there are two turbines, the Rankine efficiency equation has two turbine work terms: (hl minus h2) and (hlb minus h2b) b) Since there are two places where heat is added to the fluid, the Rankine efficiency equation has two heat added terms: (h minus h4) and (hlb minus h2) Problem Statement a) Write a Rankine_efficiency0 function will have 2 required inputs and 5 optional inputs, as shown below. The function will calculate and return the efficiency of the non-ideal Rankine cycle, with (optional) reheat. def Rankine_ efficiency(p_high, plow Lhigh-None, p_mid-None, mid-None, turbine efficiency 1.0, pump_efficiency-1.0) If thigh is None, then assume that X1-10096. If p mid is None, then assume that there is no reheat process If p-mid is not None but t-mid is None, then assume that Xib Assume that both turbines have the same efficiency 100% Due at 11:59 pm, Monday, November 5th, in the BrightSpace Dropbox You will be writing one Python program, and you will upload the .py file to the Homework 8 Upload dropbox The TS diagram for the single-turbine Non-ideal Rankine Cycle (shown on the left) has been modified to allow for a process called "reheat" (shown on the right). The reheat process requires a second turbine, and the addition of heat to the fluid between the first and second turbines.The reheat process occurs at an intermediate pressure (shown on the diagram as p mid), and occurs between state-2 and state-Ib on the diagram, and usually raises the temperature of the fluid toa temperature named t_mid. Therefore, state-lb usually has known properties ( p-p-mid, t mid) in the superheated region. (I said "usually" twice, because sometime we simply reheat the fluid to the x-100% state) 1b p high p mid low P low 2bs2b 2s 2 Notes for Reheat: a) Since there are two turbines, the Rankine efficiency equation has two turbine work terms: (hl minus h2) and (hlb minus h2b) b) Since there are two places where heat is added to the fluid, the Rankine efficiency equation has two heat added terms: (h minus h4) and (hlb minus h2) Problem Statement a) Write a Rankine_efficiency0 function will have 2 required inputs and 5 optional inputs, as shown below. The function will calculate and return the efficiency of the non-ideal Rankine cycle, with (optional) reheat. def Rankine_ efficiency(p_high, plow Lhigh-None, p_mid-None, mid-None, turbine efficiency 1.0, pump_efficiency-1.0) If thigh is None, then assume that X1-10096. If p mid is None, then assume that there is no reheat process If p-mid is not None but t-mid is None, then assume that Xib Assume that both turbines have the same efficiency 100%
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started