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. rati Fuel type Air fuel ratio (AF) Natural gas 1.2 - 1.3 Diesel 1.6 - 1.7 Biomass 1.8 - 19 CTM UIM TM Following equation shows the calculation of air fuel ratio (AF) AF = "air TMUTM IM where mair is the mass flowrate of air (kg/s) and mpuet is the mass flowrate of fuel (kg/s). Develop a program (based on if-ekse 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. Command Window >> TeatAirrlow Select fuel type Natural Gas - NG Diesel - D Biomana-B TMUT Fuel type : NG Fuel consumption (kg/a): 10 LTM T Suggested air flowrate Minimum mass flowrate of air (kg/s) : 12.00 Maximum masa flowrate of air (ka/a) i 13.00
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. rati Fuel type Air fuel ratio (AF) Natural gas 1.2 - 1.3 Diesel 1.6 - 1.7 Biomass 1.8 - 19 CTM UIM TM Following equation shows the calculation of air fuel ratio (AF) AF = "air TMUTM IM where mair is the mass flowrate of air (kg/s) and mpuet is the mass flowrate of fuel (kg/s). Develop a program (based on if-ekse 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. Command Window >> TeatAirrlow Select fuel type Natural Gas - NG Diesel - D Biomana-B TMUT Fuel type : NG Fuel consumption (kg/a): 10 LTM T Suggested air flowrate Minimum mass flowrate of air (kg/s) : 12.00 Maximum masa flowrate of air (ka/a) i 13.00
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
100%
Matlab

Transcribed Image Text:Command Window
>> TestAirFlow
Select fuel type
IM
Natural Gas = NG
TM
Diesel = D
Biomass = B
TM
*UIM
Fuel type : X
Error for the fuel input
TM
*UTM
Figure 3.2 Command Windows for invalid fuel type
TM UTM
Workspace
EUTM TM!
Name -
Value
|AFRmax
| AFRmin
Fuel
TM
1.3000
1.2000
mairmax
'NG'
13
TM
mairmin
12
EUTM
mfuel
10
UTM
Figure 3.3 Example workspace for the program
* UTM
田田田

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)
Natural gas
1.2 - 1.3
Diesel
1.6 - 1.7
Biomass
1.8 – 1.9
TM UIM TM
Following equation shows the calculation of air fuel ratio (AF)
AF =
mair
UTMUTM IM
where mair is the mass flowrate of air (kg/s) and mruet 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 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.
TM
Command Window
>> TestAirFlow
Select fuel type
Natural Gas - NG
Diesel - D
Biomass -B
Fuel type : NG
Fuel consumption (kg/a): 10
LTM T
Suggeated air flowrate
Minimum mass flowrate of air (kg/s) : 12.00
Maximum mass flowrate of air (ka/a) : 13.00
Figure 3.1 Command Windows for valid fuel type
Expert Solution

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 3 steps with 2 images

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY