Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help. This needs 3 user-defined functions. Thanks. INTRODUCTION: Wind turbines convert the kinetic energy of moving air to electrical energy. It is key to

Please help. This needs 3 user-defined functions.
Thanks.
image text in transcribed
image text in transcribed
image text in transcribed
INTRODUCTION: Wind turbines convert the kinetic energy of moving air to electrical energy. It is key to know how much energy a wind turbine can produce for a given wind speed. A relation for the available power in wind is wind pAv3 2 where Pwind is the power available in the wind (W), pis the density of air (use 1.2754 kg/m3), A is the area swept by the blades (m')(hint: this will be a circle), and v is the velocity of the wind (m/s) (Cfor this problem, use 11 m/s). However, the available power in the wind is not the maximum power the wind turbine can produce. The maximum power that can be produced is Pwindmax pPwind re Cr is the power coefficient, which is also known as the Betz limit (unitless). Modern wind turbines have power coefficients ranging from 0.45 to 0.5 (for this problem, use 0.48). box, generator, and bearings impose energy losses that further limit the output power of the turbine. Therefore, for each turbine, the amount of electricity in Watts that can be produced is Pelec.- Pwind.max where n is the combined efficiency of the gear box, generator, and bearings (use 0.33). An input data file called farms.txt contains turbine blade diameters and numbers of wind turbines for several potential wind farm configurations. The first record line of the input file is the control number, which defines the number of data points to be read into the program. Each succeeding record line has two columns. The first column is the turbine blade diameter, and the second column is the number of wind turbines. The input file is space delimited. ASSIGNMENT Write a C program that will read the required values from the input file. Using the turbine blade diameter and number of turbines available, write three separate user-defined functions to compute the available power in the wind, the maximum available power that can be produced, and the amount of electricity produced by the turbines. Print the turbine blade diameter, the number of turbines available, and the amount of electricity (in kW) produced by each farm configuration to the screen and to an output file called power.txt

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

Semantics In Databases Second International Workshop Dagstuhl Castle Germany January 2001 Revised Papers Lncs 2582

Authors: Leopoldo Bertossi ,Gyula O.H. Katona ,Klaus-Dieter Schewe ,Bernhard Thalheim

2003rd Edition

3540009574, 978-3540009573

More Books

Students also viewed these Databases questions

Question

What does stickiest refer to in regard to social media

Answered: 1 week ago