Skip to content

ybacoder/project-2

Repository files navigation

PROJECT 2: Texas Wind Energy

From the Hill Country to the Great Plains and Mountains, Texas makes up approximately 7% of the total water and land area of the US, an area only second to Alaska. With the varying topography and climate, it's no wonder Texas leads the nation in Energy production from oil and natural gas, to coal, wind and solar. According to the US Energy Information Administation (US EIA), Texas makes up 20% of US domestically produced Energy and is the leading producer of wind generated electricity.

As the leading producer of wind energy, you might wonder how that plays a role in the cost of energy. Well, due to the varying nature of wind, the cost of energy tends to fluctuate radically throughout the day. Generally speaking, when the wind blows, costs of energy might drop, and when the wind isn't blowing, and energy is dependant on more traditional sources, the costs then to go up. But by how much? Is there a way to predict the cost of energy at a certain point in time? Our project will try and figure that out by taking a deeper look into the publicly available data.

Data Source & Database

The Electric Reliability Council of Texas (ERCOT) manages the flow of electric power to more than 26 million Texas customers -- representing about 90 percent of the state’s electric load. It also performs financial settlement for the competitive wholesale bulk-power market and administers retail switching for 8 million premises in competitive choice areas.

ERCOT Real-Time Market:

During real-time, ERCOT dispatches resources to maximize reliability of the transmission grid. This must be accomplished while instantaneously and precisely matching power supply to the system demand and while observing resource and transmission constraints. Security Constrained Economic Dispatch (SCED) is the real-time market evaluation of offers to produce a least-cost dispatch of online resources. SCED calculates Locational Marginal Prices (LMPs) using a two-step methodology that applies mitigation to resolve non-competitive constraints.

ERCOT Real-Time Data Sources:

  • SCED System Lambda: The system wide price of energy (System Lambda) at five minute intervals.
  • Wind Power Production: This report is posted every 5 minutes and includes System-wide and Regional actual 5-min averaged wind power production for a rolling historical 60-minute period.

The data is scraped using from the csv zip files on the ERCOT webpage using requests and beautiful soup and placed into a JAWS DB database with the data from both sources merged on the SCEDTimeStamp column.

Plots

Time Series Plot

Wind Generation and System Lambda vs. Time

The time series plot looks at wind generation and the system wide price of energy (System Lambda) at 5 minute time intervals throughout the day. This plot helps to understand the nature of how the data changes each passing moment.

Correlation Plot

System Lambda vs. Wind Generation

The correlation plot looks at the relationship between the System Lambda and wind generation. By including each quantity on a different axis, this plot allows the user to visualize the overall effect of wind on energy prices in ERCOT; a trendline is included to illustrate this. The correlation plot also includes information about the time of day via the coloration of the data points.

Heroku Deployment

The Texas Wind Energy web app is deployed via Heroku. It can be found here!

Final Thoughts

Results

Based on the energy data we have gathered up until April 11th, 2020, it appears that as wind generation increases, the price of energy decreases. Our time series plot shows that spikes in the price of energy tend to occur at times when wind generation has fallen, and the trendline on the correlation plot shows a steady decrease in price with wind generation. Ordinary least squares regressions were performed with and without taking the log (base 10) of the system lambda, and the logarithmic trendline significantly outperformed the linear in terms of R-squared.

Challenges

Although the correlation plot seems to show a clear correlation on this trendline, there are some imperfections in the way this is was obtained. Namely, the price axis must be logarithmic to easily visualize the trend; however, some of the prices are negative and thus have no logarithmic value. Therefore, the logarithmic adjustment of price has no mathematical basis and is only a convenient way to find a visual correlation. Despite this drawback, there are only a few data points with negative prices, so our correlation plot validates the idea that such a relationship could be uncovered after the underlying market and physical phenomena are more appropriately accounted for.

To some extent, the time series plot provides what the correlation plot does not: an untampered record of both generation and price data as they occurred. Although it is not always best to "eyeball" correlations via a time series, in this case the time series makes up for the messiness of directly plotting the two quantities against each other.

Areas for Improvement

Later iterations of this project could account for better mathematical considerations of the data and could expand upon these findings by, for example, splitting by zone. It is also possible for power generated in ERCOT to be exported to other regions and vice versa, so the effect is not necessarily contained within ERCOT; to mitigate this, future improvements could include aggregations over many regions.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages