Skip to content

kaiyaraby/hacktheclimate

Repository files navigation


Logo

PengWind

Python package using stochastic methods to estimate resource quality, through traditional methods combined with a novel Discrete Time Markov Chain Model to model weather window and vessel access. -->
Data Collection . View Website · View Modelling

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

The aim of this project is to present a framework for resource assessment, to enable to developers to use environmental data to identify high-value locations for wind farms.

The user can select an area over which to assess several KPIs such as Annual Energy Yield, Expected Downtime and Operation and Maintenance Cost per kW per year. These may be assessed quickly, over a very large area, to allow comparison of potential sites.

These models combine traditional estimates with a Discrete Time Markov Chain Model capturing the behaviour and stochasticity of weather conditions, trained on over 16 GB of combined environmental data from the Vestas Climate Library and HubOcean. Traditionally, to incorporate the true variability of weather conditions, Monte Carlo simulations are often employed. However, these are computationally complex and limit the area over which resource, especially complex estimates such as Downtime, AEP, or O&M cost could be calculated. Through implementation of a number of novel computationally efficient models we have enabled calculation of these estimates quickly over large areas. The incorporation of this model allows for accurate estimation of weather delays and associated downtime, without compromising efficiency.

The user may also produce a more in-depth analysis based on conditions at a single point, and compare change in conditions over time. The user can select an area over which to assess several KPIs including:

  • Wind speed

    • Mean
    • Max
    • Min
    • Standard Deviation
    • Wind rose
  • Access

    • Expected delay time
    • Probability of instant access
  • Availability

  • Downtime

  • Annual Energy Production

  • Operation & Maintenance Cost per kW

(back to top)

(back to top)

Example Usage

The user may output classical outputs to assess wind resource for a single point such as a wind rose,

or assess a KPI such as downtime across a wider geospatial dataset Logo

For turbine-specific output, the user may input turbine parameters to calculate Annual Energy Production, and O&M cost per kW per year. Logo Logo

For more examples, please refer to the Website

(back to top)

Logo

Modelling

Our key output is Operation & Maintenance Cost per Kw per year. To output this, users have the choice of using a 12MW reference turbine (NREL 2019), and failure/cost data as outlined in Carrol et al (2016). The number of each type of repairs, their probability of occurrence, and their associated required operation time, vessel (and therefore associated threshold safe wave height and wind speed), and cost of repair are calculated. Thus cost is calculated as

$$Cost = \sum^M_{m=1} \lambda_m \cdot C_m$$

and downtime

$$Downtime = \sum^M_{m=1} \lambda_m \cdot T_{op}(m) + T_{travel}(m, loc) + \mathbb{E}\left[T_{delay}\left(T_{op}(m)+T_{travel}(m, loc)\right)\right],$$

where $m$ is the type of operation or maintenance required, $\lambda_m$ is the number of expected times $m$ must be carried out annually, $T_{op}(m)$ is the time required to carry out operation $m$, $$T_{travel}(m, loc) = 2\cdot\frac{\text{Distance between location and coastline}}{\text{Speed of vessel required for operation } m}$$ is the required travel time to the location and

$$\mathbb{E}\left[T_{delay}\left(T_{op}(m)+T_{travel}(m, loc)\right)\right]$$

is the expected delay time until a weather window the length of travel time and operation time occurs.

The time to travel to and from the asset is calculated based on its distance to the closest coast line, and speed of relevant vessel. A relevant extension would allow calculation of distance to closest port.

This time, and time to carry out operation are combined. This total vessel trip time is then feed into a Discrete Markov Chain Model, which calculates the expected time until a weather window will be reached where this trip can be safely conducted. This safe window requires that the threshold wave height and wind speed for the vessel are not exceeded for the entire duration. The Markov Chain Model is briefly described later in this section.

This downtime is summed with inactive power hours (where wind speed is below cut-in, or above cut-out speed), and divided by total hours to calculate availability

$$Availability = \frac{\text{Number of operating hours}-\text{Downtime}}{8760}.$$

Power for each hour is calculated using the power curve for the NREL 12MW reference turbine (or variable input) with

$$ P = \begin{cases} 0 & \text{ if } v< v_{cut-in}\\ \frac{1}{2}AC_p\rho(v^3)\eta & \text{ if } v_{cut-in}\leq v<v_{rated}\\ P_{rated} & \text{ if } v_{rated}\leq v<v_{cut_out}\\ 0 & \text{ if } v \geq v_{cut-out} \end{cases}. $$

The average energy yield is then scaled to remove estimated downtime $$AEY = \sum^T_{t=1} P_t \cdot H_t \cdot \frac{\text{Number of Operating Hours}-\text{Downtime}}{\text{Number of Operating Hours}}.$$

Finally, the estimated cost of Operation and Maintenance is calculated as

$$C/kw/yr = \frac{\text{Cost}}{\text{AEY}}.$$

Markov Chain Model

When unscheduled maintenance or repairs need to be carried out, vessels may only be sent out when the weather conditions are safe for a vessel, for the time needed to travel and carry out the operation. We may define three distinct states:

  • 0: Weather conditions unsuitable
  • 1a: Access possible, but insufficient time remaining to carry out repair
  • 1b: Access possible, and sufficient time remaining to carry out repair

Logo

Discrete Time Markov Chains (DTMCs) are characterised by a discrete time state space, where at each time the state may take a single value. In this report, we focus on two state models, as shown below.

Logo

From a current state we may remain or move to the alternate state with probabilities determined by their related transition matrix:

$$ \pi = \begin{bmatrix} P_{0,0} & P_{0,1}\\ P_{1,0} & P_{1,1} \end{bmatrix}. $$

We use this chain to model the accessibility, $\mathbf{X} = {X_1, X_2, \cdots, X_n},$ where $X_t=1$ indicates that there is an access window beginning at time $t$.

This model assumes a constant probability of accessibility, $Pr(X_t=1)=P$, and of transition between states

$$Pr(X_t=i|X_{t-1}=j)=P_{i,j}.$$

(back to top)

(back to top)

Contact

Kaiya Raby - kaiya.raby@strath.ac.uk

Kim Janovski - kim.janovski@strath.ac.uk University of Strathclyde - Wind & Marine Energy Systems and Structures CDT

Pauline Brusset

Edward James Hamilton

Jess Perry

--

Project Link: [https://github.com/hacktheclimate]

(back to top)

(back to top)