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
Chapter20: Queuing Theory
Section20.6: The M/m/s/gd/∞/∞ Queuing System
Problem 14P
icon
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
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
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
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Probability Problems
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole