Wind sector management

In this example we switch off, derate or boost turbines according to wind conditions. Here are our imports:

In [1]:
import pandas as pd
import matplotlib.pyplot as plt
from plotly.offline import iplot

import foxes
import foxes.variables as FV

Our wind conditions come from the Bremen wind rose (part of foxes’ static data):

In [2]:
states = foxes.input.states.StatesTable(
    output_vars=[FV.WS, FV.WD, FV.TI, FV.RHO],
    var2col={FV.WS: "ws", FV.WD: "wd", FV.WEIGHT: "weight"},
    fixed_vars={FV.RHO: 1.225, FV.TI: 0.05},

o = foxes.output.StatesRosePlotOutput(states, point=[0., 0., 100.])
fig = o.get_figure(16, FV.AMB_WS, [0, 3.5, 6, 10, 15, 20])