Wind Power
Renewable energy such as wind power depends on weather systems that may not be synchronized with demand profiles. Wind and solar power is not dispatchable, meaning that generation depends on external environmental conditions that may be highly variable. It is important to know the expected power production from renewable energy so that backup power generation or energy storage can provide any shortfall between generation and demand.

Dispatchable power sources can be turned on by the grid operators. These include fast dispatchable power such as hydroelectric plants that can reach full output in less than a minute. Base-load nuclear plants require require hours or days to cycle off and then back on. Natural gas plants can reach full capacity within minutes. As the fraction of renewable power generation increases, it is important to know the anticipated power generation so that dispatchable sources can be scheduled to start when there is an increase in power demand or sudden decrease in renewable generation.
Objective: Develop a prediction of the wind power (kW) from prior wind speed (m/s), prior wind direction (degrees), and prior wind power (kW). Rank the most important factors from most important to least important. Randomly select values that split the data into a train (80%) and test (20%) set. Take two approaches. In the first approach, use Gradient Boosting (XGBoost) and a Neural Network (Deep Learning). Use a single row of measurements to predict the wind power 10 minutes ahead. In the second approach, use a Recurrent Neural Network (LSTM). Use a window of 60 minutes of prior data to predict the wind power 10 minutes ahead. Discuss the performance of each with the Mean Absolute Error (MAE) for predicting wind power in the training and test set. Submit source code and a summary memo (max 2 pages) of your results.
Regression: Use 3 regression methods. Regression methods are:
Data: Data for a 3.6 MW wind turbine in Turkey is available for 1 year in 10 minute intervals.
url = 'http://apmonitor.com/pds/uploads/Main/wind.txt'
data = pd.read_csv(url)
data.head()

| Data | Description |
|---|---|
| Time | Timestamp of the measurements taken every 10 minutes for 1 year |
| Direction | Angle of the wind turbine in degrees |
| Speed | Wind speed in meters/sec |
| Power | Electrical power produced by the wind turbine (3600 kW max) |
The data set has bad data so data visualization and exploration are needed to first cleanse the data set. There are time periods where the wind turbine produces no power because of scheduled maintenance or inspection.
The TCLab Data Science modules 2-6 (Import, Analyze, Visualize, Prepare Data, Regression) are available as a template for analyzing and performing the regression. There are visualization and analysis notebooks on Kaggle such as Wind Power Curve Modeling that give additional insight on wind power predictions.
References
- Erisen, B. Wind Turbine Scada Dataset, Kaggle, Retrieved March 16, 2021.
Solutions
Generative AI Learning
Use these prompts to test your understanding after completing the case study. Direct the AI — the baselines and the honesty checks are yours.
Tip: Pretrained time-series foundation models now produce zero-shot forecasts of exactly this kind of series — worth knowing they exist, and worth knowing that they are judged the same way you are judged here: against the persistence baseline, on honest test data. The turbine power curve (power vs wind speed) is your physical sanity check for the feature-importance ranking.
What to Turn In
Submit your source code and a summary memo (PDF, maximum 2 pages) that curates your results into a demonstration of what you learned. You may use Generative AI to help write the memo, but you must guide it to the correct visualizations, justifications, and assumptions. Answer these questions:
- Report test MAE for all four forecasters in one table: persistence baseline, XGBoost, neural network, and LSTM. State your data cleansing (what counted as bad power data and how much you removed).
- Include the feature-importance ranking with the method used, and reconcile it with the turbine physics (power curve) — does prior power dominating make sense at 10 minutes ahead?
- Include one test-set time-series plot overlaying measured power and your best forecaster through a period with a large wind change. Where does the forecast lag reality, and why?
- From the interrogation prompt: did the LSTM justify its complexity here? Answer with numbers and one sentence of engineering judgment.