Question: A C program, using input/output data files, user-defined functions, loops. here is all formulas P_wnid= 1/2 (dinsity)* A * V^3 P_wind,max = Cp Pwind (Cp

A C program, using input/output data files, user-defined functions, loops.

here is all formulas

P_wnid= 1/2 (dinsity)* A * V^3

P_wind,max = Cp Pwind (Cp is power coefficient)

P_elect= n* P_wind,max ( n is combined efficincy of the gear box)

A C program, using input/output data files, user-defined functions, loops. here is

ASSIGNMENT: INTRODUCTION: Write a C program that will read the required values from the input file. Wind turbines convert the kinetic energy of moving air to electrical Using the turbine blade diameter and number of turbines available, write energy. It is key to know how much energy a wind turbine can produce fo separate user-defined functions to compute the available power in the a given wind speed. Arelation for the available power in wind is 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 ofelectricity produced by each farm configuration to the screen and to an output file called where P is the power available in the wind (W), p is the density of air (use 1.2754 kg/m'), 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) (for this problem, use m/s) OUTPUT FORMAT: However, the available power in the wind is not the maximum power the WIND FARM CONFIGURATIONS wind turbine can produce. The maximum power that can be produced is DIAMETER NUMBER OF TURBINES POWER (m) where C 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.47). In addition, the gear box, generator, and bearings impose energy losses 45.0 60 that further limit the output power of the turbine. Therefore, for each turbine, the amount of electricity in Watts that can be produced is 40.0 125 42.5 75 35.0 150 where n is the combined efficiency of the gear box, generator, and Farm file bearings (use 0.35). 50.0 55 An input data file called farms contains turbine blade diameters and 47.5 80 numbers of wind turbines for several potential wind farm configurations. The first record line of the input file is the control number, which defines 37.5 100 the number of data points to be read into the program. Each succeeding 30.0 200 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

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!