Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are interested in visualizing the annual amount of electricity generated by wind turbines that are designed for small farms. There are two test sites.

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

You are interested in visualizing the annual amount of electricity generated by wind turbines that are designed for small farms. There are two test sites. Site #1 only has turbines with 5 ft diameter blades, while Site #2 only has turbines with 10 ft diameter blades. Each site has three identical wind turbines for redundancy The amount of electricity generated (in kilowatt-hours per year) is determined by, among other factors, the diameter of the turbine blade (in feet) and the wind velocity (in mph). Your engineering group has developed a new, more efficient generator subsystem that you believe should increase the amount of energy extracted from the wind. Data was collected from the wind turbines at both sites before ("pre") upgrading the subsystem to provide baseline data. After the new upgrade was completed ("post"), new measurements were taken for comparison. The data is stored in a single text file in this format: 105 5 610 110 5 10 3255 105 15 11100 110 5 20 25820 210 105 1645 210 10 10 13310 210 10 15 43850 21010 20 103980 FORMAT of each data block line: xyz BD WS EG Site #1, Turbine #1, pre-upgrade, 5 ft diameter xyz is the wind turbine ID code x is site# (1 or 2) Site #2, Turbine #1, pre-upgrade, 10 ft diameter y is turbine# (1, 2, or 3) z is upgrade state (e is pre, 1 is post) O120 5 5 605 BD is blade diareter 1205 10 3250 is wind speed EG is amount of electricity generated Site #1, Turbine #2, pre-upgrade, 5 ft diameter ws 120 5 1510970 1205 20 26000 220 10 5 1625 220 10 10 13280 220 10 15 43875 Site #2, Turbine #2, pre-upgrade, 10 ft diameter 12010 20 104005 30 5 5 605 130 5 10 3280 1305 15 10240 130 5 20 25890 230 105 1635 230 10 10 13220 230 10 15 43400 Site #1, Turbine #3, pre-upgrade, 5 ft diameter Site #2, Turbine #3, pre-upgrade, 10 ft diameter 1155 520 15 10 3420 115 15 12150 11520 27940 21 05 1535 211 10 10 14920 211 10 15 55905 Site #1, Turbine #1, post-upgrade, 5 ft diameter Site #2, Turbine #1, post-upgrade, 10 ft diameter 21 10 20 132020 Site #1 Site #2 121 55 535 121 5 10 3440 0 1215 15 12200 a 1215 20 28004 Site #1, Turbine #2, post-upgrade, 5 ft diameter 221 105 1495 22 0 10 14700 Site #2, Turbine #2, post-upgrade, 10 ft diameter 221 10 15 55005 221 1020 131100 31 5 5 525 131 5 10 3380 131 5 15 12950 131 5 2028100 231 105 1420 231 10 10 14340 231 10 15 55025 231 1020 132100 Site #1, Turbine #3, post-upgrade, 5 ft diameter Site #2, Turbine #3, post-upgrade, 10 ft diameter Requirements Write a MATLAB script to perform the following: 1. Read in the data file (e.g., using dlmread) . You can download the file from D2L. It is named wind_turbine_data.txt. 2. Using your knowledge of MATLAB vector and/or matrix operations, create new arrays that contain the averages of the data for the three turbines at each site. For example, the "pre" average for Site #1 (5 ft blades) and Turbines #1, #2, and #3 at 5 mph wind speed would be (610+605+605)/3 606.67 . 3. Display a table showing the averaged electricity generated versus the wind speed and blade diameter both before and after the subsystem upgrade Make graphs showing the averaged electricity generated versus the wind speed. Show the "pre" and "post" results for the 5 ft blades on one graph, and the "pre" and "post" data for the 10 ft blades on a separate graph. 4. Use the bar command to make the graphs. Add grid lines to the y-axis only to make it easier to read the values Provide good axes labels, titles, and legends. Name your MATLAB file: hw_a3p3.m Attach printouts of your graphs to your paper assignment. wind_turbine_data 110 5 5 610 110 5 10 3255 110 5 15 11100 110 5 20 25820 210 10 5 1645 210 10 10 13310 210 10 15 43850 210 10 20 103980 120 5 5 605 120 5 10 3250 120 5 15 10970 120 5 20 26000 220 10 5 1625 220 10 10 13280 220 10 15 43875 220 10 20 104005 130 5 5 605 130 5 10 3280 130 5 15 10240 130 5 20 25890 230 10 5 1635 230 10 10 13220 230 10 15 43400 230 10 20 103500 111 5 5 520 111 5 10 3420 111 5 15 12150 111 5 20 27940 211 10 5 1535 211 10 10 14920 211 10 15 55905 211 10 20 132020 121 5 5 535 121 5 10 3440 121 5 15 12200 121 5 20 28004 221 10 5 1495 221 10 10 14700 221 10 15 55005 221 10 20 131100 131 5 5 525 131 5 10 3380 131 5 15 12950 131 5 20 28100 231 10 5 1420 231 10 10 14340 231 10 15 55025 231 10 20 132100 Sample Output POST elec gen mean wind speed (mph) PRE elec gen mean blade diameter (ft) (kW-hr/yr) (kW-hr/yr) 606.67 3261.7 10778 25903 1635 1327e 43788 1.0383e+05 526.67 3413.3 12433 28015 1483.3 14653 55312 1.3174e+05 10 15 20 18 18 18 18 10 15 20 Generated electricity using 5 ft diameter wind mill blades 10 (Averaged values from three turbines at test site) 2.5 0.5 15 20 10 Wind Speed (mph) Generated electricity using 10 ft diameter wind mill blades 10 (Averaged values from three turbines at test site) 14 Post Upgrade 12 10 15 20 10 Wind Speed (mph) You are interested in visualizing the annual amount of electricity generated by wind turbines that are designed for small farms. There are two test sites. Site #1 only has turbines with 5 ft diameter blades, while Site #2 only has turbines with 10 ft diameter blades. Each site has three identical wind turbines for redundancy The amount of electricity generated (in kilowatt-hours per year) is determined by, among other factors, the diameter of the turbine blade (in feet) and the wind velocity (in mph). Your engineering group has developed a new, more efficient generator subsystem that you believe should increase the amount of energy extracted from the wind. Data was collected from the wind turbines at both sites before ("pre") upgrading the subsystem to provide baseline data. After the new upgrade was completed ("post"), new measurements were taken for comparison. The data is stored in a single text file in this format: 105 5 610 110 5 10 3255 105 15 11100 110 5 20 25820 210 105 1645 210 10 10 13310 210 10 15 43850 21010 20 103980 FORMAT of each data block line: xyz BD WS EG Site #1, Turbine #1, pre-upgrade, 5 ft diameter xyz is the wind turbine ID code x is site# (1 or 2) Site #2, Turbine #1, pre-upgrade, 10 ft diameter y is turbine# (1, 2, or 3) z is upgrade state (e is pre, 1 is post) O120 5 5 605 BD is blade diareter 1205 10 3250 is wind speed EG is amount of electricity generated Site #1, Turbine #2, pre-upgrade, 5 ft diameter ws 120 5 1510970 1205 20 26000 220 10 5 1625 220 10 10 13280 220 10 15 43875 Site #2, Turbine #2, pre-upgrade, 10 ft diameter 12010 20 104005 30 5 5 605 130 5 10 3280 1305 15 10240 130 5 20 25890 230 105 1635 230 10 10 13220 230 10 15 43400 Site #1, Turbine #3, pre-upgrade, 5 ft diameter Site #2, Turbine #3, pre-upgrade, 10 ft diameter 1155 520 15 10 3420 115 15 12150 11520 27940 21 05 1535 211 10 10 14920 211 10 15 55905 Site #1, Turbine #1, post-upgrade, 5 ft diameter Site #2, Turbine #1, post-upgrade, 10 ft diameter 21 10 20 132020 Site #1 Site #2 121 55 535 121 5 10 3440 0 1215 15 12200 a 1215 20 28004 Site #1, Turbine #2, post-upgrade, 5 ft diameter 221 105 1495 22 0 10 14700 Site #2, Turbine #2, post-upgrade, 10 ft diameter 221 10 15 55005 221 1020 131100 31 5 5 525 131 5 10 3380 131 5 15 12950 131 5 2028100 231 105 1420 231 10 10 14340 231 10 15 55025 231 1020 132100 Site #1, Turbine #3, post-upgrade, 5 ft diameter Site #2, Turbine #3, post-upgrade, 10 ft diameter Requirements Write a MATLAB script to perform the following: 1. Read in the data file (e.g., using dlmread) . You can download the file from D2L. It is named wind_turbine_data.txt. 2. Using your knowledge of MATLAB vector and/or matrix operations, create new arrays that contain the averages of the data for the three turbines at each site. For example, the "pre" average for Site #1 (5 ft blades) and Turbines #1, #2, and #3 at 5 mph wind speed would be (610+605+605)/3 606.67 . 3. Display a table showing the averaged electricity generated versus the wind speed and blade diameter both before and after the subsystem upgrade Make graphs showing the averaged electricity generated versus the wind speed. Show the "pre" and "post" results for the 5 ft blades on one graph, and the "pre" and "post" data for the 10 ft blades on a separate graph. 4. Use the bar command to make the graphs. Add grid lines to the y-axis only to make it easier to read the values Provide good axes labels, titles, and legends. Name your MATLAB file: hw_a3p3.m Attach printouts of your graphs to your paper assignment. wind_turbine_data 110 5 5 610 110 5 10 3255 110 5 15 11100 110 5 20 25820 210 10 5 1645 210 10 10 13310 210 10 15 43850 210 10 20 103980 120 5 5 605 120 5 10 3250 120 5 15 10970 120 5 20 26000 220 10 5 1625 220 10 10 13280 220 10 15 43875 220 10 20 104005 130 5 5 605 130 5 10 3280 130 5 15 10240 130 5 20 25890 230 10 5 1635 230 10 10 13220 230 10 15 43400 230 10 20 103500 111 5 5 520 111 5 10 3420 111 5 15 12150 111 5 20 27940 211 10 5 1535 211 10 10 14920 211 10 15 55905 211 10 20 132020 121 5 5 535 121 5 10 3440 121 5 15 12200 121 5 20 28004 221 10 5 1495 221 10 10 14700 221 10 15 55005 221 10 20 131100 131 5 5 525 131 5 10 3380 131 5 15 12950 131 5 20 28100 231 10 5 1420 231 10 10 14340 231 10 15 55025 231 10 20 132100 Sample Output POST elec gen mean wind speed (mph) PRE elec gen mean blade diameter (ft) (kW-hr/yr) (kW-hr/yr) 606.67 3261.7 10778 25903 1635 1327e 43788 1.0383e+05 526.67 3413.3 12433 28015 1483.3 14653 55312 1.3174e+05 10 15 20 18 18 18 18 10 15 20 Generated electricity using 5 ft diameter wind mill blades 10 (Averaged values from three turbines at test site) 2.5 0.5 15 20 10 Wind Speed (mph) Generated electricity using 10 ft diameter wind mill blades 10 (Averaged values from three turbines at test site) 14 Post Upgrade 12 10 15 20 10 Wind Speed (mph)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions