Develop a program (based on if-else structure) to recommend the optimum range of air flow for a given fuel and flowrate. The program shall request the users to select fuel type and enter the mass flowrate of fuel (fuel consumption). The system shall then recommend the optimum range of air flow (as per Figure 3.1). For invalid fuel type, the system shall prompt the error message (as per Figure 3.2). Utilise the variable in Figure 3.3 to develop the program. The input and output of program needs to be followed strictly as per Figure 3.1 and 3.2. LTMIM IMPIT Command Window >> TestAirFlow Select fuel type Natural Gas - NG Diesel - D Biomass =B Duel ime MG
Develop a program (based on if-else structure) to recommend the optimum range of air flow for a given fuel and flowrate. The program shall request the users to select fuel type and enter the mass flowrate of fuel (fuel consumption). The system shall then recommend the optimum range of air flow (as per Figure 3.1). For invalid fuel type, the system shall prompt the error message (as per Figure 3.2). Utilise the variable in Figure 3.3 to develop the program. The input and output of program needs to be followed strictly as per Figure 3.1 and 3.2. LTMIM IMPIT Command Window >> TestAirFlow Select fuel type Natural Gas - NG Diesel - D Biomass =B Duel ime MG
Operations Research : Applications and Algorithms
4th Edition
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Wayne L. Winston
Chapter8: Network Models
Section8.5: Minimum-cost Network Flow Problems
Problem 8P
Related questions
Question
![|Command Window
>> TestAirFlow
Select fuel type
Natural Gas = NG
LTM UIM
Diesel = D
TM
Biomass = B
Fuel type : X
*UIM UT
TM ITM
Error for the fuel input
Figure 3.2 Command Windows for invalid fuel type
UTM UT
TM
ITM UTM LTM
Workspace
Name -
UTM
IM UT
ITM
Value
AFRmax
AFRmin
1.3000
UTMUIM
1.2000
Fuel
mairmax
'NG
mairmin
13
mfuel
12
10
ITM IM
UTM LT
UIM LIM
Figure 3.3 Example workspace for the program
LIM
UTMUT
ITM](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F937cd561-0b39-40c6-81eb-a5604b246d57%2F94a7b56d-4973-442c-a5ea-8842d39b2f44%2Fyu101hs_processed.jpeg&w=3840&q=75)
Transcribed Image Text:|Command Window
>> TestAirFlow
Select fuel type
Natural Gas = NG
LTM UIM
Diesel = D
TM
Biomass = B
Fuel type : X
*UIM UT
TM ITM
Error for the fuel input
Figure 3.2 Command Windows for invalid fuel type
UTM UT
TM
ITM UTM LTM
Workspace
Name -
UTM
IM UT
ITM
Value
AFRmax
AFRmin
1.3000
UTMUIM
1.2000
Fuel
mairmax
'NG
mairmin
13
mfuel
12
10
ITM IM
UTM LT
UIM LIM
Figure 3.3 Example workspace for the program
LIM
UTMUT
ITM
![A boiler operator would like optimise the boiler operating condition. Table 3.1 shows the
recommend the air fuel ratio based on the fuel type.
Table 3.1 Recommended air fuel ratio for different fuel
Fuel type
Air fuel ratio (AF)
TMFUTM TM
Natural gas
UTM
LTMUT
1.2 – 1.3
Diesel
UTM
1.5 - 1.6
Biomass
UTM UTM LIM
1.8 – 1.9
UTA TM
Following equation shows the calculation of air fuel ratio (AF)
UTM UTM TM
AF =
mair
mfuel
where mair is the mass flowrate of air (kg/s) and mfuet is the mass flowrate of fuel (kg/s).
Develop a program (based on if-else structure) to recommend the optimum range of air flow
for a given fuel and flowrate. The program shall request the users to select fuel type and enter
the mass flowrate of fuel (fuel consumption). The system shall then recommend the optimum
range of air flow (as per Figure 3.1). For invalid fuel type, the systèm shall prompt the error
message (as per Figure 3.2). Utilise the variable in Figure 3.3 to develop the program. The
input and output of program needs to be followed strictly as per Figure 3.1 and 3.2.
Command Window
LTMETM
ITM PIT
> TestAirFlow
Select fuel type
UTM T
Natural Gas - NG
Diesel - D
Biomass - B
Fuel type : NG
LTMUT
Fuel consumption (kg/s): 10
Suggested air flowrate
Minimum mass flowrate of air (kg/s) : 12.00
Maximum mass flowrate of air (kq/s) : 13.00o
Figure 3.1 Command Windows for valid fuel type](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F937cd561-0b39-40c6-81eb-a5604b246d57%2F94a7b56d-4973-442c-a5ea-8842d39b2f44%2Fqnp5ztd_processed.jpeg&w=3840&q=75)
Transcribed Image Text:A boiler operator would like optimise the boiler operating condition. Table 3.1 shows the
recommend the air fuel ratio based on the fuel type.
Table 3.1 Recommended air fuel ratio for different fuel
Fuel type
Air fuel ratio (AF)
TMFUTM TM
Natural gas
UTM
LTMUT
1.2 – 1.3
Diesel
UTM
1.5 - 1.6
Biomass
UTM UTM LIM
1.8 – 1.9
UTA TM
Following equation shows the calculation of air fuel ratio (AF)
UTM UTM TM
AF =
mair
mfuel
where mair is the mass flowrate of air (kg/s) and mfuet is the mass flowrate of fuel (kg/s).
Develop a program (based on if-else structure) to recommend the optimum range of air flow
for a given fuel and flowrate. The program shall request the users to select fuel type and enter
the mass flowrate of fuel (fuel consumption). The system shall then recommend the optimum
range of air flow (as per Figure 3.1). For invalid fuel type, the systèm shall prompt the error
message (as per Figure 3.2). Utilise the variable in Figure 3.3 to develop the program. The
input and output of program needs to be followed strictly as per Figure 3.1 and 3.2.
Command Window
LTMETM
ITM PIT
> TestAirFlow
Select fuel type
UTM T
Natural Gas - NG
Diesel - D
Biomass - B
Fuel type : NG
LTMUT
Fuel consumption (kg/s): 10
Suggested air flowrate
Minimum mass flowrate of air (kg/s) : 12.00
Maximum mass flowrate of air (kq/s) : 13.00o
Figure 3.1 Command Windows for valid fuel type
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![Operations Research : Applications and Algorithms](https://www.bartleby.com/isbn_cover_images/9780534380588/9780534380588_smallCoverImage.gif)
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
![Operations Research : Applications and Algorithms](https://www.bartleby.com/isbn_cover_images/9780534380588/9780534380588_smallCoverImage.gif)
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage