{
"cells": [
{
"cell_type": "markdown",
"id": "17c89754",
"metadata": {},
"source": [
"(plant-reserve-strategy)=\n",
"# Plant reserve strategies\n",
"\n",
"SHOP provides several ways of limiting the amount of reserve capacity that can be allocated on a single [plant](plant). This example will show how to to limit the plant production including upward/downward reserves based on the calculated TXY attributes [max_prod_all](plant:max_prod_all), [max_prod_available](plant:max_prod_available), [max_prod_spinning](plant:max_prod_spinning), and [min_prod_spinning](plant:min_prod_spinning). These attributes are calculated in every SHOP iteration, and so the resulting max/min limit constraints will change dynamically.\n",
"\n",
"The three output maximum production TXYs on plant level can be used as upper limits for the sum plant production plus all upward reserve capacity by specifying the string attribute [max_prod_reserve_strategy](plant:max_prod_reserve_strategy) on plant level, or by setting the [global_settings](global_settings) string attribute [plant_max_prod_reserve_strategy](global_settings:plant_max_prod_reserve_strategy). The command [set plant_max_prod_reserve_strategy](set_plant_max_prod_reserve_strategy) can also be used to alter the attribute on global_settings. The valid strategies are \"OFF\", \"ALL\", \"AVAILABLE\", and \"SPINNING\" (upper case will be automatically applied in SHOP), and corresponds to choosing the similarly named max_prod_<> attribute as the upper limit for plant production and upward reserve capacity. Note that the default strategy on plant level is \"NOT SET\", which means that the strategy on global_settings will be used (default is \"OFF\", meaning no constraints of this type are built). Whenever the strategy on plant level is set to something other than \"NOT SET\", it will take precedence over the global strategy.\n",
"\n",
"Similar commands and attributes are available for using min_prod_spinning as a lower limit for plant production minus downward reserve capacity. Only the \"SPINNING\" strategy is available for the minimum plant limit since there is only one minimum production that is calculated on the plant object. The min_prod_spinning limit is usually the same as the sum of the individual generator minimum limits since it is typically less sensitive to head dependencies, but is relevant when there is a [minimum plant production](plant:min_p_constr) or [minimum plant discharge](plant:min_q_constr) constraint active on the plant."
]
},
{
"cell_type": "markdown",
"id": "bc528a30",
"metadata": {},
"source": [
"## Limiting the maximum production and reserve delivery on a plant\n",
"\n",
"### Running a model without limits on plant reserve delivery"
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "22467af0",
"metadata": {},
"outputs": [],
"source": [
"#Necessary imports used in all examples\n",
"import pandas as pd\n",
"from pyshop import ShopSession\n",
"import plotly.graph_objects as go\n",
"pd.options.plotting.backend = \"plotly\"\n",
"\n",
"#Functions used in this example for building and solving a SHOP model\n",
"from reserve import build_model, run_model"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "af70a449",
"metadata": {},
"outputs": [],
"source": [
"#For convenience, we create a function to add an RR_UP market to the basic model\n",
"def get_model_with_rr_up() -> ShopSession:\n",
" \n",
" #Create a new shop session\n",
" shop=ShopSession()\n",
" build_model(shop)\n",
"\n",
" #Add a reserve_group object for rr_up delivery and add all generators to the group\n",
" rr_group = shop.model.reserve_group.add_object(\"rr_group\")\n",
" rr_group.rr_up_obligation.set(0)\n",
"\n",
" for gen in shop.model.generator:\n",
" gen.connect_to(rr_group)\n",
"\n",
" #Add an rr_up market where rr_up can be sold for 10 €/MWh\n",
" m = shop.model.market.add_object(\"rr_up_market\")\n",
" m.market_type.set(\"RR_UP\")\n",
" m.sale_price.set(10)\n",
" m.max_sale.set(1000)\n",
" m.connect_to(rr_group)\n",
" \n",
" return shop"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "fe465ff4",
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"\n",
"\n",
"\n",
"\n",
"\n"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#Get a model with an RR_UP market\n",
"shop = get_model_with_rr_up()\n",
"\n",
"#Display topology to the screen\n",
"display(shop.model.build_connection_tree())\n",
"\n",
"#Optimize model\n",
"run_model(shop) \n",
"\n",
"#Save objective function value for later\n",
"obj_without_plant_max = shop.model.objective.average_objective.grand_total.get()"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "cad897a5",
"metadata": {},
"outputs": [],
"source": [
"#Define a function to plot the plant production and reserve delivery including max_prod limits\n",
"def plot_plant_prod_and_up_reserve(shop:ShopSession) -> None:\n",
" for plant in shop.model.plant:\n",
"\n",
" prod = plant.production.get() \n",
" rr_up = sum(gen.rr_up_delivery.get() for gen in plant.generators)\n",
"\n",
" gen_max = sum(gen.max_prod_individual.get() for gen in plant.generators)\n",
"\n",
" p_max_all = plant.max_prod_all.get()\n",
" p_max_available = plant.max_prod_available.get()\n",
" p_max_spinning = plant.max_prod_spinning.get()\n",
"\n",
" t = prod.index\n",
" name = plant.get_name()\n",
"\n",
" fig = go.Figure(layout={'title':f\"{name}: production and reserves\",'xaxis_title':\"Time\",'yaxis_title':\"Production and reserves [MW]\"})\n",
" fig.add_trace(go.Scatter(name=\"max_prod_spinning\",x=t,y=p_max_spinning.values,line={'color': \"blue\", 'width': 2,'dash':\"dash\"},line_shape='hv')) \n",
" fig.add_trace(go.Scatter(name=\"max_prod_available\",x=t,y=p_max_available.values,line={'color': \"red\", 'width': 2,'dash':\"dash\"},line_shape='hv')) \n",
" fig.add_trace(go.Scatter(name=\"max_prod_all\",x=t,y=p_max_all.values,line={'color': \"black\", 'width': 2,'dash':\"dash\"},line_shape='hv')) \n",
" fig.add_trace(go.Scatter(name=\"gen_max\",x=t,y=gen_max.values,line={'color': \"magenta\", 'width': 2,'dash':\"dash\"},line_shape='hv')) \n",
" fig.add_trace(go.Scatter(name=\"production\",x=t,y=prod.values,line={'color': \"black\", 'width': 1},line_shape='hv')) \n",
" fig.add_trace(go.Scatter(name=\"RR_UP\",x=t, y=(prod + rr_up).values ,fill='tonexty',line={'color': \"light gray\", 'width': 0},line_shape='hv'))\n",
" fig.show()"
]
},
{
"cell_type": "markdown",
"id": "fb360384",
"metadata": {},
"source": [
"The production and RR_UP reserve capacity allocation on each plant is shown in the figures below. \n",
"\n",
"It is lucrative to sell a lot of RR_UP capacity in this SHOP run due to the relatively high reserve market price. The calculated maximum plant production considering all, available, and spinning generators are plotted in the same figures. Since there are no generators that are committed to be off in this model, max_prod_all and max_prod_available are identical, while max_prod_spinning is always lower since it only considers spinning units.\n",
"\n",
"Note that the allocated RR_UP capacity is above all plant max_prod attributes in many hours. This happens because the reserve constraints are built per generator, and the maximum limit for production plus reserves is set by the calculated [max_prod_individual](generator:max_prod_individual) attribute. This maximum production limit assumes that all other generators in the plant operate at their current production level, while max_prod_all on the plant is calculated assuming that all generators not on maintenance are operating at max. The sum of max_prod_individual for all generators in the plant is plotted in the figures, which clearly shows that this is the constraining limit."
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "34ee3ddb",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
" \n",
" "
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"line": {
"color": "blue",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "max_prod_spinning",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
231.1987220681081,
230.66990447642465,
230.09285213527585,
229.51597682349515,
228.93927854108244,
228.36275728803756,
227.78641306436072,
227.25855497715787,
226.75499369395655,
226.2515677054201,
225.7482770115483,
225.24512161234108,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
{
"line": {
"color": "red",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "max_prod_available",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
230.66990447642465,
230.09285213527585,
229.51597682349515,
228.93927854108244,
228.36275728803756,
227.78641306436072,
227.25855497715787,
226.75499369395655,
226.2515677054201,
225.7482770115483,
225.24512161234108,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619
]
},
{
"line": {
"color": "black",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "max_prod_all",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
230.66990447642465,
230.09285213527585,
229.51597682349515,
228.93927854108244,
228.36275728803756,
227.78641306436072,
227.25855497715787,
226.75499369395655,
226.2515677054201,
225.7482770115483,
225.24512161234108,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619,
224.6697356482619
]
},
{
"line": {
"color": "magenta",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "gen_max",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
239.9998308041454,
239.9998308041454,
239.9998308041454,
239.9998308041454,
239.9998308041454,
239.9998308041454,
232.51251988306691,
230.66990447642465,
230.09285213527585,
229.51597682349515,
228.93927854108244,
228.36275728803756,
229.09782824616005,
229.20439794090782,
228.70031419826577,
228.19636575028846,
227.6925525969759,
225.24512161234108,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631
]
},
{
"line": {
"color": "black",
"shape": "hv",
"width": 1
},
"name": "production",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
216.12403832592966,
230.66990447642465,
230.09285213527585,
229.51597682349515,
228.93927854108244,
228.36275728803756,
212.96499457080256,
204.24982434122194,
203.80373273568827,
203.3577607411949,
202.91190835774165,
225.24512161234108,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
{
"fill": "tonexty",
"line": {
"color": "light gray",
"shape": "hv",
"width": 0
},
"name": "RR_UP",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
239.9998308041454,
239.9998308041454,
239.9998308041454,
239.9998308041454,
239.9998308041454,
239.9998308041454,
232.51251988306691,
230.66990447642465,
230.09285213527585,
229.51597682349515,
228.93927854108244,
228.36275728803756,
229.09782824616005,
229.20439794090782,
228.70031419826577,
228.19636575028846,
227.6925525969759,
225.24512161234108,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631,
236.6639910732631
]
}
],
"layout": {
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"sequentialminus": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"title": {
"text": "Plant1: production and reserves"
},
"xaxis": {
"title": {
"text": "Time"
}
},
"yaxis": {
"title": {
"text": "Production and reserves [MW]"
}
}
}
},
"text/html": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"line": {
"color": "blue",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "max_prod_spinning",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
234.99869335185247,
0.0,
0.0,
0.0,
0.0,
234.99870639820742,
340.7480996417013,
339.9259017525969,
339.12412651262946,
338.3186557555708,
337.5095518236143,
336.698638245426,
335.8820326389128,
335.0374304356323,
334.1766349005594,
333.3114982935814,
332.0165380480051,
330.2033968775341,
328.4651956347966,
286.51775521002196,
285.61155921195166,
229.76195860427893,
229.19330546417794,
228.6408950744175,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
229.1027588661843,
282.5002966318963,
281.0276890960332,
279.4930189985787,
277.9583489011242,
276.5161844760847,
275.16652572346004,
273.816866970835,
272.46720821821043,
271.11754946558534,
269.76789071296076,
268.4182319603357,
266.9760675352961,
265.62640878267155,
264.27675003004646,
215.53692808894823,
214.77181043674847,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
215.26354591322274,
261.82204802179507,
260.47238926917004,
258.937719171716,
257.4030490742615,
255.8683789768075,
254.33370887935303,
252.79903878189856,
251.26436868444452,
249.72969858699005,
248.19502848953604,
277.6389786011323,
275.32313229380793,
272.98915862558516,
270.65518495736296,
268.3212112891407,
266.00536498181634,
263.6895186744915,
232.9707519057266
]
},
{
"line": {
"color": "red",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "max_prod_available",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
341.1691680114474,
340.6674479570496,
340.81357442445426,
340.9597004153395,
341.1058259394073,
341.2519510061479,
340.7480996417013,
339.9259017525969,
339.12412651262946,
338.3186557555708,
337.5095518236143,
336.698638245426,
335.8820326389128,
335.0374304356323,
334.1766349005594,
333.3114982935814,
332.0165380480051,
330.2033968775341,
328.4651956347966,
326.13122196657446,
324.3857310461567,
322.74721553995994,
321.65176225122934,
320.5875998015819,
319.6544702078159,
319.9582807256563,
320.2620912434968,
320.5659017613373,
320.8697122791777,
321.1735227970176,
321.4773333148581,
320.3946962574266,
318.64096692155545,
316.81332723803814,
314.9856875545207,
313.268212940445,
311.6609033958108,
310.05359385117606,
308.4462843065419,
306.8389747619071,
305.2316652172729,
303.6243556726381,
301.90688105856236,
300.2995715139282,
298.69226196929344,
297.1379071474041,
296.01174236701536,
294.91265706496944,
295.2164675828094,
295.5202781006498,
295.8240886184903,
296.1278991363307,
296.4317096541712,
296.7355201720116,
295.7689556450669,
294.16164610043216,
292.3340064169154,
290.50636673339795,
288.6787270498811,
286.8510873663638,
285.02344768284644,
283.1958079993296,
281.3681683158122,
279.54052863229543,
277.6389786011323,
275.32313229380793,
272.98915862558516,
270.65518495736296,
268.3212112891407,
266.00536498181634,
263.6895186744915,
261.40992708896295
]
},
{
"line": {
"color": "black",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "max_prod_all",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
341.1691680114474,
340.6674479570496,
340.81357442445426,
340.9597004153395,
341.1058259394073,
341.2519510061479,
340.7480996417013,
339.9259017525969,
339.12412651262946,
338.3186557555708,
337.5095518236143,
336.698638245426,
335.8820326389128,
335.0374304356323,
334.1766349005594,
333.3114982935814,
332.0165380480051,
330.2033968775341,
328.4651956347966,
326.13122196657446,
324.3857310461567,
322.74721553995994,
321.65176225122934,
320.5875998015819,
319.6544702078159,
319.9582807256563,
320.2620912434968,
320.5659017613373,
320.8697122791777,
321.1735227970176,
321.4773333148581,
320.3946962574266,
318.64096692155545,
316.81332723803814,
314.9856875545207,
313.268212940445,
311.6609033958108,
310.05359385117606,
308.4462843065419,
306.8389747619071,
305.2316652172729,
303.6243556726381,
301.90688105856236,
300.2995715139282,
298.69226196929344,
297.1379071474041,
296.01174236701536,
294.91265706496944,
295.2164675828094,
295.5202781006498,
295.8240886184903,
296.1278991363307,
296.4317096541712,
296.7355201720116,
295.7689556450669,
294.16164610043216,
292.3340064169154,
290.50636673339795,
288.6787270498811,
286.8510873663638,
285.02344768284644,
283.1958079993296,
281.3681683158122,
279.54052863229543,
277.6389786011323,
275.32313229380793,
272.98915862558516,
270.65518495736296,
268.3212112891407,
266.00536498181634,
263.6895186744915,
261.40992708896295
]
},
{
"line": {
"color": "magenta",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "gen_max",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
344.99704087110445,
344.99716229851765,
344.99719680747364,
344.9972307688256,
344.997264192886,
344.99706287247636,
340.74809964170134,
339.92590175259687,
339.12412651262946,
338.3186557555708,
337.50955182361423,
336.69863824544,
335.88203263898544,
335.03743043585945,
334.1766349011098,
333.311498294725,
332.0165380524387,
330.2033968819677,
328.4651956392303,
336.5151696550656,
335.82684972338103,
339.7616149607503,
339.1929745625618,
338.640606833924,
338.1564240731936,
338.3141337942845,
338.47184347993857,
338.6295531305435,
338.78726403151165,
338.9449738513167,
339.10242548177024,
331.45159906903314,
329.6978697331616,
327.8702300496447,
326.95795082425104,
326.13252008427907,
324.5252105396444,
322.91790099501014,
321.31059145037545,
319.7032819057412,
318.0959723611065,
315.5966189423684,
314.7711882023965,
313.16387865776176,
311.5565691131275,
317.40725105573887,
316.64023548339367,
321.44921936969126,
321.75302988753174,
322.05684040537216,
322.36065092321263,
322.6644614410531,
322.96827195889307,
317.7153903303555,
308.633262817497,
305.2185489406347,
303.39090925711736,
301.5632695736005,
299.73562989008315,
297.90799020656635,
296.080350523049,
294.2527108395316,
292.4250711560148,
290.5974314724974,
278.19130697656414,
275.3231355164958,
272.9891618482736,
270.6551881800513,
268.8735396645726,
266.55769335724773,
265.33483906340047,
272.466829929165
]
},
{
"line": {
"color": "black",
"shape": "hv",
"width": 1
},
"name": "production",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
198.49303469176482,
0.0,
0.0,
0.0,
0.0,
199.19416529129006,
340.74809964170134,
339.9259017525968,
339.12412651262946,
338.3186557555707,
337.5095518236143,
336.6986382454114,
335.88203263883617,
335.0374304353909,
334.17663489997113,
333.3114982923521,
332.0165380480051,
330.2033968775341,
328.4651956347966,
271.203837207373,
258.0933256052463,
190.99890705805834,
186.46250913717526,
168.83155810988677,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
188.70865304536062,
267.49838098724393,
273.8551873623682,
272.3695504401058,
259.8257617171294,
246.7381683834918,
245.56209785943832,
244.3860273353844,
243.20995681133093,
242.03388628727703,
240.85781576322358,
251.04460471120595,
238.4250667877987,
237.24899626374525,
230.2818222427658,
180.7657804166164,
177.03191814244218,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
161.64545801559754,
233.93393862785638,
253.95663560090924,
252.4709986786473,
250.9853617563849,
249.49972483412296,
248.0140879118606,
246.52845098959824,
245.0428140673363,
243.55717714507395,
248.19502848953604,
276.83793903087286,
275.32313229380793,
272.98915862558516,
270.65518495736296,
267.5776109491213,
265.2760406399833,
261.44702301502446,
227.3336838944993
]
},
{
"fill": "tonexty",
"line": {
"color": "light gray",
"shape": "hv",
"width": 0
},
"name": "RR_UP",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
344.99704087110445,
344.99716229851765,
344.99719680747364,
344.9972307688256,
344.997264192886,
344.9970628724763,
340.74809964170134,
339.9259017525968,
339.12412651262946,
338.3186557555707,
337.5095518236143,
336.6986382454114,
335.88203263883617,
335.0374304353909,
334.17663489997113,
333.3114982923521,
332.0165380480051,
330.2033968775341,
328.4651956347966,
336.5151381729724,
335.82684761977885,
339.76161329110903,
339.1929729081331,
338.6406053440613,
338.1564240731936,
338.3141337942845,
338.47184347993857,
338.6295531305435,
338.78726403151165,
338.9449738513167,
339.1024237785365,
331.4515965609438,
329.69786713677405,
327.8702274532567,
326.9579483555416,
326.13251774715735,
324.5252082025231,
322.91789865788843,
321.3105891132541,
319.70327956861945,
318.09597002398516,
315.59661647365897,
314.7711858652748,
313.1638763206405,
311.556566842111,
317.4072492993241,
316.6402337589534,
321.44921936969126,
321.75302988753174,
322.05684040537216,
322.36065092321263,
322.6644614410531,
322.96827195889307,
317.7153887604891,
308.6332604594516,
305.21854632100195,
303.390906637485,
301.5632669539677,
299.7356272704508,
297.90798758693353,
296.08034790341617,
294.2527082198992,
292.425068536382,
290.59742876640456,
278.191303773742,
275.32313229380793,
272.98915862558516,
270.65518495736296,
268.8735364617504,
266.55769015442604,
265.33483590031074,
272.4668273095326
]
}
],
"layout": {
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"sequentialminus": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"title": {
"text": "Plant2: production and reserves"
},
"xaxis": {
"title": {
"text": "Time"
}
},
"yaxis": {
"title": {
"text": "Production and reserves [MW]"
}
}
}
},
"text/html": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#Plot results\n",
"plot_plant_prod_and_up_reserve(shop)"
]
},
{
"cell_type": "markdown",
"id": "faff444f",
"metadata": {},
"source": [
"### Including maximum plant reserve limits\n",
"\n",
"To add stricter limits to the sum reserve delivery on each plant, the global attribute plant_max_prod_reserve_strategy is set to \"ALL\" while keeping the rest of the model identical:"
]
},
{
"cell_type": "code",
"execution_count": 6,
"id": "9fcd7997",
"metadata": {},
"outputs": [],
"source": [
"#Get the same model as earlier\n",
"shop = get_model_with_rr_up()\n",
"\n",
"#Specify a global max_prod reserve strategy\n",
"shop.model.global_settings.global_settings.plant_max_prod_reserve_strategy.set(\"ALL\")\n",
"\n",
"#Optimize model\n",
"run_model(shop) \n",
"\n",
"#Save objective function value for later\n",
"obj_with_plant_max = shop.model.objective.average_objective.grand_total.get()"
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "fdfa9359",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"line": {
"color": "blue",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "max_prod_spinning",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
231.1987220681081,
230.66990447642465,
230.0928521386323,
229.51597683039893,
228.93927855173578,
228.3627573026567,
227.7864131316693,
227.25855504444752,
226.75499376122826,
226.25156777267372,
225.7482770787837,
225.2451216795585,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
{
"line": {
"color": "red",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "max_prod_available",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
230.66990447642465,
230.0928521386323,
229.51597683039893,
228.93927855173578,
228.3627573026567,
227.7864131316693,
227.25855504444752,
226.75499376122826,
226.25156777267372,
225.7482770787837,
225.2451216795585,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343
]
},
{
"line": {
"color": "black",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "max_prod_all",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
230.66990447642465,
230.0928521386323,
229.51597683039893,
228.93927855173578,
228.3627573026567,
227.7864131316693,
227.25855504444752,
226.75499376122826,
226.25156777267372,
225.7482770787837,
225.2451216795585,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343,
224.66973582747343
]
},
{
"line": {
"color": "magenta",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "gen_max",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
239.9998308041454,
239.9998308041454,
239.9998308041454,
239.9998308041454,
239.9998308041454,
239.9998308041454,
232.51251988306691,
230.66990558470386,
230.09285334415733,
229.51597813858902,
228.9392799688914,
228.36277469586895,
229.0978290419336,
229.20439873672663,
228.70031499387107,
228.19636654568006,
227.692553392154,
225.2451585669745,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062,
236.66399318515062
]
},
{
"line": {
"color": "black",
"shape": "hv",
"width": 1
},
"name": "production",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
216.12403832592966,
230.6699034719271,
230.092851079438,
229.51597571342245,
228.93927737319711,
228.36274169677284,
212.96499463311557,
204.24982440083204,
203.80373279528249,
203.3577608007731,
202.91190841730383,
225.24508897822184,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
{
"fill": "tonexty",
"line": {
"color": "light gray",
"shape": "hv",
"width": 0
},
"name": "RR_UP",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
231.1987220681081,
230.6699034719271,
230.092851079438,
229.51597571342245,
228.93927737319711,
228.36274169677284,
227.7864131856947,
227.25855512749808,
226.75499384425606,
226.25156785567881,
225.74827716176625,
225.24508897822184,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945,
224.66973774672945
]
}
],
"layout": {
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"sequentialminus": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"title": {
"text": "Plant1: production and reserves"
},
"xaxis": {
"title": {
"text": "Time"
}
},
"yaxis": {
"title": {
"text": "Production and reserves [MW]"
}
}
}
},
"text/html": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"line": {
"color": "blue",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "max_prod_spinning",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
234.99869335185247,
0.0,
0.0,
0.0,
0.0,
234.99870639820742,
340.7480996417013,
339.9259769678656,
339.1242279954145,
338.31878468121306,
337.50970969015793,
336.698826782071,
335.88225452313475,
335.0377161151769,
334.17701700301313,
333.31198136600744,
332.0177623823992,
330.2047638219044,
328.46664693102605,
286.5187002649156,
285.5890469278384,
229.74896626733448,
229.1803704849408,
228.61894916197838,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
229.08078619344178,
282.4644796614018,
280.9918721255383,
279.45720202808377,
277.9225319306298,
276.4803675055902,
275.1307087529652,
273.78105000034054,
272.4313912477155,
271.0817324950909,
269.73207374246584,
268.30961426424756,
266.8905505556587,
265.4694880327077,
264.1198292800826,
215.3739861192132,
214.60886846701342,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
215.10107899647977,
261.62155488793127,
260.27189613530624,
258.7372260378522,
257.20255594039776,
255.6678858429437,
254.13321574548922,
252.59854564803473,
251.06387555058075,
249.52920545312625,
247.99453535567176,
277.4002111889503,
275.06733850528224,
272.7340613018795,
270.4008440003513,
268.067868534327,
265.73494698093305,
263.40232029808215,
232.71131287738118
]
},
{
"line": {
"color": "red",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "max_prod_available",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
341.1691680114474,
340.6674479570496,
340.81357442445426,
340.9597004153395,
341.1058259394073,
341.2519510061479,
340.7480996417013,
339.9259769678656,
339.1242279954145,
338.31878468121306,
337.50970969015793,
336.698826782071,
335.88225452313475,
335.0377161151769,
334.17701700301313,
333.31198136600744,
332.0177623823992,
330.2047638219044,
328.46664693102605,
326.133042320829,
324.34236865548263,
322.7221871035315,
321.62684431132794,
320.5453231887618,
319.6121420587823,
319.9159525766227,
320.21976309446313,
320.5235736123036,
320.8273841301441,
321.1311946479845,
321.4350051658249,
320.35204180242175,
318.59831246655017,
316.77067278303286,
314.943033099516,
313.2255584854402,
311.6182489408055,
310.0109393961713,
308.4036298515365,
306.7963203069023,
305.18901076226757,
303.4950027830288,
301.8050388281969,
300.11269448395484,
298.50538493932004,
296.89807539468586,
295.7719106142971,
294.67352453536614,
294.9773350532066,
295.28114557104703,
295.58495608888745,
295.8887666067279,
296.1925771245684,
296.4963876424088,
295.53018823288494,
293.9228786882502,
292.0952390047334,
290.26759932121604,
288.4399596376992,
286.6123199541818,
284.78468027066447,
282.9570405871476,
281.12940090363026,
279.3017612201129,
277.4002111889503,
275.06733850528224,
272.7340613018795,
270.4008440003513,
268.067868534327,
265.73494698093305,
263.40232029808215,
261.10096097015753
]
},
{
"line": {
"color": "black",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "max_prod_all",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
341.1691680114474,
340.6674479570496,
340.81357442445426,
340.9597004153395,
341.1058259394073,
341.2519510061479,
340.7480996417013,
339.9259769678656,
339.1242279954145,
338.31878468121306,
337.50970969015793,
336.698826782071,
335.88225452313475,
335.0377161151769,
334.17701700301313,
333.31198136600744,
332.0177623823992,
330.2047638219044,
328.46664693102605,
326.133042320829,
324.34236865548263,
322.7221871035315,
321.62684431132794,
320.5453231887618,
319.6121420587823,
319.9159525766227,
320.21976309446313,
320.5235736123036,
320.8273841301441,
321.1311946479845,
321.4350051658249,
320.35204180242175,
318.59831246655017,
316.77067278303286,
314.943033099516,
313.2255584854402,
311.6182489408055,
310.0109393961713,
308.4036298515365,
306.7963203069023,
305.18901076226757,
303.4950027830288,
301.8050388281969,
300.11269448395484,
298.50538493932004,
296.89807539468586,
295.7719106142971,
294.67352453536614,
294.9773350532066,
295.28114557104703,
295.58495608888745,
295.8887666067279,
296.1925771245684,
296.4963876424088,
295.53018823288494,
293.9228786882502,
292.0952390047334,
290.26759932121604,
288.4399596376992,
286.6123199541818,
284.78468027066447,
282.9570405871476,
281.12940090363026,
279.3017612201129,
277.4002111889503,
275.06733850528224,
272.7340613018795,
270.4008440003513,
268.067868534327,
265.73494698093305,
263.40232029808215,
261.10096097015753
]
},
{
"line": {
"color": "magenta",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "gen_max",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
344.99704087110445,
344.99716229851765,
344.99719680747364,
344.9972307688256,
344.997264192886,
344.99706287247636,
340.76341124039953,
339.93130156336855,
339.1297386743614,
338.32453397396796,
337.5157536960243,
336.70526318658096,
335.89459214463005,
335.0562796683517,
334.19623832161,
333.3318880990073,
332.0334584926304,
330.2153398981179,
328.5032125018424,
336.5286916293283,
336.07030534491093,
339.75057272167726,
339.18199716167084,
338.62062204161765,
338.1364208806104,
338.29413060622386,
338.45184029635067,
338.60954995138,
338.76726051637655,
338.9249706495739,
339.0722114256014,
332.3281086800122,
329.6952736078128,
327.86763392429594,
326.95535469890217,
326.12992395893036,
324.5226144142961,
322.9153048696613,
321.3079953250271,
319.7006857803924,
318.09337623575817,
315.5073365455455,
314.70941646481754,
313.017084648587,
311.4097751039522,
317.20750232381806,
316.44048675147343,
321.2501698322907,
321.5539803501311,
321.8577908679716,
322.16160138581205,
322.46541190365247,
322.76922242149294,
317.5163407929549,
308.43457839751716,
305.0198645206549,
303.1922248371381,
301.3645851536207,
299.5369454701033,
297.7093057865865,
295.88166610306916,
294.0540264195523,
292.226386736035,
290.3987470525176,
277.5214280959207,
275.1597090800588,
272.8311616310427,
270.5156239107697,
268.18699076918836,
265.8751996456865,
264.4700317842204,
272.2068046469103
]
},
{
"line": {
"color": "black",
"shape": "hv",
"width": 1
},
"name": "production",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
198.49303469176482,
0.0,
0.0,
0.0,
0.0,
199.1941652912939,
340.7375893142107,
339.9223159158273,
339.12042931089155,
338.3148122126813,
337.5055248542949,
336.69431562607383,
335.87374252353123,
335.0249842242401,
334.1637987540409,
333.29825505916773,
332.00901183098244,
330.19963310682095,
328.4444393291525,
276.1314503332478,
256.21347140107173,
190.97141983344133,
188.6476374743389,
168.8183901584978,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
188.72693027658752,
267.46488753512733,
273.82051475494654,
272.3348778326841,
259.7927941504486,
246.7069580622328,
245.5308875381789,
244.35481701412544,
243.17874649007155,
242.00267596601805,
249.9953753571103,
248.09699051364944,
247.23918009032633,
237.11225809323656,
235.93618756918272,
180.63389818520375,
176.82181301419553,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
161.48428384502063,
233.7592321959129,
253.7625482834967,
252.27691136123474,
250.79127443897238,
249.30563751671042,
247.8200005944481,
246.3343636721857,
244.8487267499238,
243.36308982766144,
247.99453535567176,
277.3529587440696,
275.03801223095104,
272.7028074607607,
270.36037854456356,
268.02604506080183,
265.68243335993293,
262.09827485564654,
227.0825340218165
]
},
{
"fill": "tonexty",
"line": {
"color": "light gray",
"shape": "hv",
"width": 0
},
"name": "RR_UP",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
341.1691680114474,
340.6674479570496,
340.81357442445426,
340.9597004153395,
341.1058259394073,
341.2519510061479,
340.7375893142107,
339.9223159158273,
339.12042931089155,
338.3148122126813,
337.5055248542949,
336.69431562607383,
335.87374252353123,
335.0249842242401,
334.1637987540409,
333.29825505916773,
332.00901183098244,
330.19963310682095,
328.4444393291525,
326.1336236160063,
324.343360285105,
322.7239245613954,
321.6286076143639,
320.5473140921198,
319.61593944547405,
319.9197499633145,
320.2235604811544,
320.5273709989948,
320.8311815168353,
321.1349920346757,
321.4367771762553,
319.98593799598365,
318.6058091038062,
316.7781694202889,
314.95213112940746,
313.2363069391664,
311.62899739453184,
310.0216878498975,
308.4143783052629,
306.80706876062857,
305.1984697097411,
303.504522579807,
301.8145269163526,
300.1234495622817,
298.51614001764693,
296.91611840883763,
295.7903661416267,
294.71361075025675,
295.01742126809717,
295.3212317859376,
295.62504230377806,
295.92885282161836,
296.23266333945895,
296.5169526316023,
295.54094331121183,
293.93037994591305,
292.1027402623962,
290.27510057887883,
288.4474608953619,
286.6198212118446,
284.7921815283272,
282.96454184481047,
281.13690216129305,
279.3081870172157,
277.3529587440696,
275.03801223095104,
272.7028074607607,
270.36037854456356,
268.02604506080183,
265.68243335993293,
263.3763890635446,
261.1101197794992
]
}
],
"layout": {
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"sequentialminus": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"title": {
"text": "Plant2: production and reserves"
},
"xaxis": {
"title": {
"text": "Time"
}
},
"yaxis": {
"title": {
"text": "Production and reserves [MW]"
}
}
}
},
"text/html": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#Plot the results from the new run\n",
"plot_plant_prod_and_up_reserve(shop)"
]
},
{
"cell_type": "markdown",
"id": "09ba7527",
"metadata": {},
"source": [
"Using max_prod_all as an upper limit now constrains the total production plus RR_UP delivery on each plant, and this has caused the optimal solution to change slightly. The net profit in the solution is also reduced since SHOP can't sell as much RR_UP as previously:"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "e648c7f0",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The net profit loss of using the max constraint is: 14610.15 €\n"
]
}
],
"source": [
"print(f\"The net profit loss of using the max constraint is: {obj_with_plant_max - obj_without_plant_max:.2f} €\")"
]
},
{
"cell_type": "markdown",
"id": "eede5575",
"metadata": {},
"source": [
"## Limiting the minimum production and reserve delivery on a plant\n",
"\n",
"As mentioned in the introduction, minimum limits for plant production minus downward reserve capacity is usually only relevant when there is a minimum production or discharge limit on the plant. These limits are not seen by the individual generator reserve limits, but will be captured in the min_prod_spinning attribute on plant level.\n",
"\n",
"### Running a model without minimum limits on plant reserve delivery\n",
"\n",
"The same model as in the first example is run without any downward reserve limit on plant level, but this time RR_DOWN is sold instead of RR_UP. In addition, Plant1 and Plant2 have defined minimum production and discharge limits, respectively."
]
},
{
"cell_type": "code",
"execution_count": 9,
"id": "e18dabc3",
"metadata": {},
"outputs": [],
"source": [
"#Define a model with an RR_DOWN market and min_p_constr and min_q_constr on plants\n",
"def get_model_with_rr_down() -> ShopSession:\n",
" #Create the same model as earlier\n",
" shop=ShopSession()\n",
" build_model(shop)\n",
"\n",
" rr_group = shop.model.reserve_group.add_object(\"rr_group\")\n",
" rr_group.rr_down_obligation.set(0)\n",
"\n",
" for gen in shop.model.generator:\n",
" gen.connect_to(rr_group)\n",
"\n",
" #Add a minimum production limit on Plant1\n",
" plant1 = shop.model.plant[\"Plant1\"] \n",
" plant1.min_p_constr.set(150)\n",
"\n",
" #Add a minimum discharge limit on Plant2\n",
" plant2 = shop.model.plant[\"Plant2\"] \n",
" plant2.min_q_constr.set(300)\n",
"\n",
" m = shop.model.market.add_object(\"rr_down_market\")\n",
" m.market_type.set(\"RR_DOWN\")\n",
" m.sale_price.set(10)\n",
" m.max_sale.set(1000)\n",
" m.connect_to(rr_group)\n",
" \n",
" return shop"
]
},
{
"cell_type": "code",
"execution_count": 10,
"id": "c55b61f8",
"metadata": {},
"outputs": [],
"source": [
"#Get a model with a RR_DOWN market and minimum production and plant limits\n",
"shop = get_model_with_rr_down()\n",
"\n",
"#Optimize model\n",
"run_model(shop) \n",
"\n",
"#Save objective function value for later\n",
"obj_without_plant_min = shop.model.objective.average_objective.grand_total.get()"
]
},
{
"cell_type": "code",
"execution_count": 11,
"id": "6cd6f14e",
"metadata": {},
"outputs": [],
"source": [
"#Function to plot plant production and downward reserve capacity with min_prod limits\n",
"def plot_plant_prod_and_down_reserve(shop:ShopSession):\n",
" for plant in shop.model.plant:\n",
"\n",
" prod = plant.production.get() \n",
" rr_down = sum(gen.rr_down_delivery.get() for gen in plant.generators)\n",
"\n",
" gen_min = sum(gen.min_prod_individual.get()*gen.committed_out.get() for gen in plant.generators)\n",
"\n",
" p_min_spinning = plant.min_prod_spinning.get()\n",
"\n",
" t = prod.index\n",
" name = plant.get_name()\n",
"\n",
" fig = go.Figure(layout={'title':f\"{name}: production and reserves\",'xaxis_title':\"Time\",'yaxis_title':\"Production and reserves [MW]\"})\n",
" fig.add_trace(go.Scatter(name=\"min_prod_spinning\",x=t,y=p_min_spinning.values,line={'color': \"blue\", 'width': 2,'dash':\"dash\"},line_shape='hv')) \n",
" fig.add_trace(go.Scatter(name=\"gen_min\",x=t,y=gen_min.values,line={'color': \"magenta\", 'width': 2,'dash':\"dash\"},line_shape='hv')) \n",
" fig.add_trace(go.Scatter(name=\"production\",x=t,y=prod.values,line={'color': \"black\", 'width': 1},line_shape='hv')) \n",
" fig.add_trace(go.Scatter(name=\"RR_DOWN\",x=t, y=(prod - rr_down).values ,fill='tonexty',line={'color': \"light gray\", 'width': 0},line_shape='hv'))\n",
" fig.show()"
]
},
{
"cell_type": "code",
"execution_count": 12,
"id": "3429f850",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"line": {
"color": "blue",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "min_prod_spinning",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
150.00003710037942,
150.0000364711876,
150.0000323562798,
150.0000275989422,
150.00002139122262,
150.00001555542377,
150.00001011620185,
150.00000506987112,
150.00000041266475,
149.99999614073235,
149.9999922501379,
149.99998873685718,
150.0000303150107,
150.00002549017435,
150.00931150653696,
150.00890584404846,
150.0097554506933,
150.0000026846821,
149.99999346927413,
149.99998287995388,
149.99996105339585,
149.9999330266403,
149.99989857077023,
149.99985744815325,
150.00002126557516,
150.00000767629786,
149.99999448652363,
149.99986124604146,
150.00004691109797,
150.00004059294366,
150.0000346761309,
150.000029366007,
150.00002441287043,
150.000019254116,
150.00001226304855,
150.00000557691249,
149.99999918958608,
149.99999309481433,
149.99998728620406,
149.99998187030621,
150.0000292902293,
150.00002151922695,
150.00000298269043,
149.99998048792696,
149.99994676679702,
149.99990016564604,
149.99983774852473,
149.99976249192164,
149.9996782325893,
150.00002671098633,
150.0000009278114,
149.9999742667727,
149.99962267401241,
150.0000446271193,
150.00003661018218,
150.0000286303833,
150.00002082160745,
150.00000948554043,
149.99999668887244,
149.99998465801065,
149.99997309956444,
149.99996154257684,
150.000036166531,
150.00002910608939,
150.0000222314272,
149.99990617361178,
149.99972913801503,
149.99958835138952,
149.99918000791257,
149.99863686138553,
150.00038425088502,
149.99794117375038
]
},
{
"line": {
"color": "magenta",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "gen_min",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
119.99994093269565,
119.99993981820376,
119.99993868023896,
119.99993752025878,
119.9999363827059,
119.99993522155758,
119.99993403626259,
119.99993282625528,
119.99993159095546,
119.99993032976764,
119.99992904207346,
119.99992772725741,
119.99992638467094,
119.99992501365355,
119.99992361352717,
119.9999221835956,
119.9999207231444,
119.9999192314399,
119.99991770772888,
119.99991615123785,
119.99991456117274,
119.99990106143296,
119.99990902121395,
119.99991372908838,
119.99991868507932,
119.9999289949108,
119.99992772912555,
119.99992626842383,
119.99992488538982,
119.99991105130997,
119.9998941770051,
119.99989201823325,
119.9998898100741,
119.99988755126826,
119.99988524052112,
119.99988287650119,
119.99988045783962,
119.9998779831282,
119.99988410911274,
119.99988180011445,
119.99987946227519,
119.9998678998627,
119.99988392906224,
119.99988166123545,
119.99989643252201,
119.99989448120819,
119.9998924880257,
119.99990628895594,
119.99990458533189,
119.99990284647158,
119.99990107155728,
119.99989925974964,
119.99989741018827,
119.99989552199004,
119.99987356497384,
119.99984875138831,
119.99982070293424,
119.99982946515817,
119.99983874642683,
119.999869871735,
119.99985715911833,
119.99986147628314,
119.99985113952928,
119.99982711225263,
119.99981967132179,
119.99978331430502,
119.99977964989826,
119.99980602608012,
119.99980478517394,
119.99982928658926,
119.99983019676878,
119.99983272918908
]
},
{
"line": {
"color": "black",
"shape": "hv",
"width": 1
},
"name": "production",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
231.1987220681081,
230.62150754282146,
230.0444700469027,
229.46760958035202,
228.8909261431692,
228.31441973535445,
227.73809035690766,
227.1619380078287,
226.5859626881178,
226.0101643977747,
225.43454313679976,
224.85909890519272,
224.2838317029535,
223.70874153008248,
223.13382838657918,
222.559092272444,
221.9845331876768,
221.41015113227738,
220.83594610624607,
220.2619181095826,
219.6880671422872,
219.1143932043597,
218.54089629580014,
214.53855553216306,
210.53113618762808,
202.8471844365518,
202.36135605703876,
201.87566505270468,
201.39011142354948,
207.80980617202403,
214.21172283933652,
213.63973726193342,
213.06792873310533,
212.49629725285183,
211.92484282117329,
211.35356543806952,
210.78246510354037,
210.21154181758618,
206.3645814922059,
205.81622250272267,
205.26803004097428,
207.96547652649403,
200.88774416516384,
200.36181064599643,
193.07655798723215,
192.59349972535475,
192.11057883951898,
184.2998902881451,
183.85917683681146,
183.41858300935047,
182.97810880576213,
182.53775422604633,
182.09751927020304,
181.65740393823233,
188.40650174632628,
194.47562037649644,
200.1948897065257,
196.53478217637905,
192.86964650150264,
192.346102928246,
191.82271578656778,
188.10405529119157,
187.60237559509636,
190.2763744851034,
189.75360622371844,
195.29435972186633,
194.72825906092714,
188.14053202861083,
187.6184031855818,
180.83276525948827,
180.35320112736227,
179.87377437127782
]
},
{
"fill": "tonexty",
"line": {
"color": "light gray",
"shape": "hv",
"width": 0
},
"name": "RR_DOWN",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
119.99994093269565,
119.99993981820376,
119.99993868023896,
119.99993752025878,
119.9999363827059,
119.99993522155758,
119.99993403626259,
119.99993282625528,
119.99993159095546,
119.99993032976764,
119.99992904207346,
119.99992772725741,
119.99992638467094,
119.99992501365355,
119.99992361352717,
119.9999221835956,
119.9999207231444,
119.9999192314399,
119.99991770772888,
119.99991615123785,
119.99991456117274,
119.99990106143291,
119.99990902121395,
119.99991372908838,
119.99991868507932,
119.9999289949108,
119.99992772912555,
119.99992626842383,
119.99992488538982,
120.00042894907764,
119.99989449939164,
119.99989234051986,
119.99989013226111,
119.99988787335532,
119.99988556250845,
119.99988319838887,
119.99988077962735,
119.9998783048163,
119.99988442479992,
119.9998821157057,
119.99987977777076,
119.99986822115802,
119.99988423846352,
119.9998819705447,
119.99989672970429,
119.9998947783058,
119.99989278503881,
119.9999065730893,
119.99990486938803,
119.99990313045056,
119.99990135545917,
119.99989954357457,
119.999897693936,
119.99989580566059,
119.99987386133803,
119.999849059666,
119.99982102286671,
119.99982977912256,
119.99983905442227,
119.9998701796386,
119.99985746692983,
119.99986177801787,
119.99985144117579,
119.99982741979204,
119.99981997876925,
119.99978363337523,
119.99977996886854,
119.99980633324357,
119.99980509224541,
119.9998295816221,
119.9998304917172,
119.999833024053
]
}
],
"layout": {
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"sequentialminus": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"title": {
"text": "Plant1: production and reserves"
},
"xaxis": {
"title": {
"text": "Time"
}
},
"yaxis": {
"title": {
"text": "Production and reserves [MW]"
}
}
}
},
"text/html": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"line": {
"color": "blue",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "min_prod_spinning",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
220.75043387018064,
220.0935880014371,
219.9524336885599,
219.55546254154373,
219.1858414643655,
218.242134063966,
211.97528789270555,
211.02632663535064,
210.0727774300059,
209.11452073319487,
208.15145232237055,
207.18345479078093,
206.21040540702657,
205.23217575968218,
204.24901370965242,
203.26176714015418,
202.28196846186637,
201.28858557761538,
205.66734151558495,
204.91716488095457,
204.1655360017425,
203.4073234726815,
202.65650649439348,
201.94743989934295,
201.7449953711918,
201.2349181618824,
200.76827254868078,
200.3137197838981,
199.86340130618308,
198.90153086777676,
198.1815464663773,
197.42934590298205,
196.67677230393528,
195.92446956936337,
195.17212928525788,
194.4075115907903,
193.65938812022273,
192.90808403483638,
192.1559314950732,
191.39623499021772,
190.63681061757413,
189.88686238962748,
189.1178254891465,
188.35159881731494,
187.58517249034335,
186.8043167308726,
186.02309324503477,
185.26868264211274,
184.5190127382953,
183.7665231041559,
183.0139673594694,
182.2560075124224,
181.50865622632978,
180.78224046999392,
180.02985827607463,
179.2492215205947,
178.4718212325488,
177.72357397349367,
176.9651297485185,
176.1990184611766,
175.42099589808012,
174.6601007412521,
173.88661122765535,
173.1134612919643,
172.33724342637296,
171.5747403380645,
170.8229987163822,
170.08238765102004,
169.31420566495714,
168.54530933540948,
167.76110374670753,
166.97600640508477
]
},
{
"line": {
"color": "magenta",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "gen_min",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
159.99984832164716,
159.99984233130334,
129.99985455376105,
129.99985145005888,
129.99984850100327,
159.99982482774263,
189.9986902064566,
189.99863923345524,
189.99976773742563,
189.9997564377034,
189.99974119687522,
189.99972502485443,
189.9997098627253,
189.9996937114081,
189.99967650082544,
189.999658446696,
189.99963948253014,
189.99961936099302,
159.9996433907275,
159.99962835727553,
159.99961138850858,
159.99959394695603,
159.99957677057722,
159.99955995516228,
129.9995994675315,
129.9995887775449,
129.9995775403808,
129.9995662771434,
129.9995553031194,
159.99948065270962,
159.99945078956534,
159.99942690184196,
159.99940193693593,
159.9993734055107,
159.99934523626285,
159.99931570376168,
159.99928481082887,
159.9992528504343,
159.99921920052188,
159.99918372932987,
159.99914649117557,
159.99910738702033,
159.9990667105047,
159.99901811096336,
159.9989718652104,
159.99892240098916,
159.99887042069713,
159.99880607839452,
159.99874013700918,
159.99867771467103,
159.99861285494242,
159.99854495288855,
159.99847403021417,
159.99840030841608,
159.99832016001577,
159.99968565323954,
159.99967039899508,
159.9996548770121,
159.99963834186815,
159.99962070906733,
159.9995915678256,
159.9995710133199,
159.9995448129255,
159.9995192638021,
159.99949300489382,
159.9994666457664,
159.99943813064934,
159.9994078557192,
159.9993750585314,
159.99934015340926,
159.99930226001555,
159.99926182940408
]
},
{
"line": {
"color": "black",
"shape": "hv",
"width": 1
},
"name": "production",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
289.99733933515677,
289.99850856354226,
229.32517671426558,
223.20672728386108,
229.15040468619694,
289.9981989724835,
338.51094288874606,
337.7027377000565,
336.8926901740616,
336.0770175978567,
335.2573972433527,
334.4337398626538,
333.6059497463577,
332.7068553959954,
330.968654153258,
329.23045291052057,
327.4922516677831,
325.7540504250457,
285.4201265303276,
284.4455762864186,
283.34911407702754,
282.2526518676369,
273.979582292635,
272.97823202739215,
219.31423697110543,
218.0515031538289,
215.38033240513997,
210.51478671141095,
216.88460353180767,
268.7001901915084,
274.64665577841066,
273.55019356902005,
272.45373135962944,
271.35726915023884,
270.26080694084783,
269.1643447314573,
268.06788252206667,
266.9714203126756,
265.87495810328505,
264.76800804379656,
263.6610579843085,
262.55410792482,
261.4576457154294,
260.3402078058434,
259.22276989625755,
258.08435628647663,
251.5193410574317,
249.49212880380531,
248.42986197793095,
247.36759515205662,
245.53749288291104,
244.48636575283342,
240.5999477815748,
243.16529347079978,
248.22755411525867,
247.0891405054774,
245.97170259589143,
244.87524038650082,
243.7682903270128,
242.65085241742688,
241.53341450784092,
240.41597659825493,
239.28805083857154,
238.16012507888814,
237.04268716930216,
235.92524925971622,
234.82878705032564,
233.73232484093504,
232.6148869313491,
231.49744902176317,
230.35903541198226,
229.22062180220095
]
},
{
"fill": "tonexty",
"line": {
"color": "light gray",
"shape": "hv",
"width": 0
},
"name": "RR_DOWN",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
159.9998490128109,
159.99984329397705,
129.9998546711518,
129.99985157052706,
129.99984863005835,
159.99982643898258,
189.99869059718418,
189.99863965090194,
189.99976818389737,
189.99975691576645,
189.9997417093871,
189.99972557499822,
189.99971045403657,
189.9996943476566,
189.999677137074,
189.99965908294453,
189.99964011877861,
189.99961999724152,
159.99964049089607,
159.9996286088317,
159.99961164006424,
159.99959419851172,
159.99957701409568,
159.9995601986812,
129.99959966115216,
129.9995889747346,
129.99957773961398,
129.9995664759105,
129.99955551462256,
159.9994809256242,
159.99945078956534,
159.99942690184193,
159.9994019369359,
159.99937340551065,
159.99934523626285,
159.9993157037617,
159.99928481082884,
159.99925285043426,
159.9992192005219,
159.9991837293299,
159.99914649117557,
159.99910738702036,
159.99906671050468,
159.99901811096333,
159.99897186521045,
159.99892240098916,
159.99887042069713,
159.99880607839452,
159.99874013700918,
159.998677714671,
159.99861285494245,
159.99854495288852,
159.99847403021414,
159.99840030841608,
159.99832016001574,
159.99968565323957,
159.9996703989951,
159.99965487701206,
159.99963834186815,
159.99962070906736,
159.99959156782563,
159.9995710133199,
159.9995448129255,
159.99951926380209,
159.99949300489382,
159.9994666457664,
159.99943813064937,
159.99940785571917,
159.9993750585314,
159.99934015340926,
159.99930226001555,
159.99926182940408
]
}
],
"layout": {
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"sequentialminus": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"title": {
"text": "Plant2: production and reserves"
},
"xaxis": {
"title": {
"text": "Time"
}
},
"yaxis": {
"title": {
"text": "Production and reserves [MW]"
}
}
}
},
"text/html": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#Plot the results of the base model\n",
"plot_plant_prod_and_down_reserve(shop)"
]
},
{
"cell_type": "markdown",
"id": "6cad2632",
"metadata": {},
"source": [
"It is clear from the figures above that the generators deliver RR_DOWN reserve capacity below the minimum production and discharge limits in the plant shown by the min_prod_spinning attribute. Note that the constant min_q_constr on Plant2 (300 m3/s) creates min_prod_spinning that varies with time due to the head dependency.\n",
"\n",
"### Including minimum plant reserve limits\n",
"\n",
"To include these limits, a new identical model is built with plant_min_prod_reserve_strategy set to \"SPINNING\":"
]
},
{
"cell_type": "code",
"execution_count": 13,
"id": "02fe4d8e",
"metadata": {},
"outputs": [],
"source": [
"#Generate the same model as before\n",
"shop = get_model_with_rr_down()\n",
"\n",
"#Specify a global min_prod reserve strategy\n",
"shop.model.global_settings.global_settings.plant_min_prod_reserve_strategy.set(\"SPINNING\")\n",
"\n",
"#Optimize model\n",
"run_model(shop) \n",
"\n",
"#Save objective function value for later\n",
"obj_with_plant_min = shop.model.objective.average_objective.grand_total.get()"
]
},
{
"cell_type": "code",
"execution_count": 14,
"id": "f09e1be7",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"line": {
"color": "blue",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "min_prod_spinning",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
150.00003710037942,
150.0000364711876,
150.0000323562798,
150.0000275989422,
150.00002139122262,
150.00001555542377,
150.00001011620185,
150.00000506987112,
150.00000041266475,
149.99999614073235,
149.9999922501379,
149.99998873685718,
150.0000303150107,
150.00002549017435,
150.00931150653696,
150.00890584404846,
150.0097554506933,
150.0000026846821,
149.99999346927413,
149.99998287995388,
149.99996105339585,
149.9999330266403,
149.99989857077023,
149.99985744815325,
150.00002097033354,
150.00000677701837,
149.99999296797117,
149.99985836623003,
150.000046165991,
150.00003975958174,
150.00003380191407,
150.0000285491982,
150.0000236528473,
150.00001811422024,
150.0000111723731,
150.00000453448612,
149.99999819441672,
149.99999214588786,
149.99998638248388,
149.9999808976454,
150.0000283136785,
150.0000178105338,
149.999998169885,
149.9999734189435,
149.99993265347626,
149.9998778859313,
149.99980725501473,
149.99972636689802,
149.9997230220829,
150.00001282133263,
149.9999852858102,
149.99964924609418,
150.0000480247753,
150.00003984192887,
150.00003170000747,
150.00002400754502,
150.0000148587887,
150.00000157772772,
149.99998883242637,
149.99997660718256,
149.9999645761627,
150.000037639305,
150.00003004428913,
150.00002282887203,
149.99991276384497,
149.99973315098674,
149.99960376044973,
149.9991806725291,
149.99861073213106,
150.00047855637726,
149.99784407308488,
149.99726341379716
]
},
{
"line": {
"color": "magenta",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "gen_min",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
119.99994093269565,
119.99993981820376,
119.99993868023896,
119.99993752025878,
119.9999363827059,
119.99993522155758,
119.99993403626259,
119.99993282625528,
119.99993159095546,
119.99993032976764,
119.99992904207346,
119.99992772725741,
119.99992638467094,
119.99992501365355,
119.99992361352717,
119.9999221835956,
119.9999207231444,
119.9999192314399,
119.99991770772888,
119.99991615123785,
119.99991456117274,
119.99990106143296,
119.99990902121395,
119.99990723093393,
119.99990543017074,
119.99991707079995,
119.99992758418942,
119.9999261116283,
119.99991844592049,
119.99989905824052,
119.9998938346941,
119.99989166809948,
119.99988945191824,
119.99988718488554,
119.99988486570084,
119.99988249302687,
119.99988006548836,
119.99987758167107,
119.99987504007896,
119.99987251422796,
119.99986993984659,
119.99986730776433,
119.99986461490391,
119.99986185969203,
119.99987858954425,
119.99987620258085,
119.99989162504927,
119.99988957039024,
119.99988747136705,
119.99988532690367,
119.9999000056753,
119.99989817166866,
119.99989629938919,
119.999876596053,
119.99987119599164,
119.99982224869342,
119.99981835266557,
119.99981436062431,
119.99983905829967,
119.99982610181074,
119.99981456137535,
119.99980448370188,
119.99982820606057,
119.99978917077961,
119.99978370412542,
119.99977989600683,
119.99977779876214,
119.99977746594153,
119.99980517727849,
119.99980725188956,
119.99983303832808,
119.9998373493579
]
},
{
"line": {
"color": "black",
"shape": "hv",
"width": 1
},
"name": "production",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
231.1987220681081,
230.62150754282146,
230.0444700469027,
229.46760958035202,
228.8909261431692,
228.31441973535445,
227.73809035690766,
227.1619380078287,
226.5859626881178,
226.0101643977747,
225.43454313679976,
224.85909890519272,
224.2838317029535,
223.70874153008248,
223.13382838657918,
222.559092272444,
221.9845331876768,
221.41015113227738,
220.83594610624607,
220.2619181095826,
219.6880671422872,
219.1143932043597,
218.54089629580014,
217.9675764166086,
217.3944335667849,
209.96763898909427,
202.30577804411757,
201.82010275776724,
204.89988394702482,
213.30327407629835,
214.1201460782216,
213.54818884318996,
212.97640865673324,
212.40480551885122,
211.8333794295441,
211.26213038881178,
210.69105839665409,
210.12016345307134,
209.54944555806327,
208.97890471163007,
208.40854091377173,
207.838354164488,
207.2683444637792,
206.69851181164506,
199.66768066933298,
199.14211011227576,
191.90467825614195,
191.42195333057546,
190.9393657810505,
190.45691560756688,
182.7179373654818,
182.27765345832603,
181.83748917504283,
188.5946453896744,
188.11286323469943,
200.4218020192518,
199.85410025992243,
199.28657554916796,
198.71922788698814,
198.15205727338326,
197.58506370835315,
197.01824719189767,
196.45160772401718,
195.88514530471127,
195.31885993398032,
194.75275161182418,
194.18682033824263,
193.62106611323605,
193.05548893680415,
186.52968047139197,
179.78672506484713,
179.30746063233516
]
},
{
"fill": "tonexty",
"line": {
"color": "light gray",
"shape": "hv",
"width": 0
},
"name": "RR_DOWN",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
150.00003710037942,
150.0000364711876,
150.0000323562798,
150.0000275989422,
150.00002139122262,
150.00001555542377,
150.00001011620185,
150.00000506987112,
150.00000041266475,
149.99999614073235,
149.9999922501379,
149.99998873685718,
150.0000303150107,
150.00002549017435,
150.00931150653696,
150.00890584404846,
150.0097554506933,
150.0000026846821,
149.99999346927413,
149.99998287995388,
149.99996105339585,
149.99993302664024,
149.99989857077023,
149.99985744815325,
150.00002097033354,
150.00000677701837,
149.99999296797117,
149.99985836623003,
150.00004616599097,
150.00003975958174,
150.00003380191407,
150.0000285491982,
150.0000236528473,
150.00001811422024,
150.0000111723731,
150.00000453448612,
149.99999819441672,
149.99999214588786,
149.99998638248388,
149.9999808976454,
150.0000283136785,
150.0000178105338,
149.999998169885,
149.9999734189435,
149.99993265347626,
149.9998778859313,
149.99980725501473,
149.99972636689802,
149.9997230220829,
150.00001282133263,
149.9999852858102,
149.99964924609418,
150.0000480247753,
150.00003984192887,
150.00003170000747,
150.00002400754502,
150.0000148587887,
150.00000157772772,
149.99998883242637,
149.99997660718256,
149.9999645761627,
150.000037639305,
149.34857368227028,
149.9762756351254,
149.97617897286992,
149.97600628278516,
149.97589322945248,
149.97548349210055,
149.32468372458433,
149.9548231631842,
149.9540178672056,
149.95345699617303
]
}
],
"layout": {
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"sequentialminus": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"title": {
"text": "Plant1: production and reserves"
},
"xaxis": {
"title": {
"text": "Time"
}
},
"yaxis": {
"title": {
"text": "Production and reserves [MW]"
}
}
}
},
"text/html": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"line": {
"color": "blue",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "min_prod_spinning",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
220.75043387018064,
220.12028151045422,
219.51161190743082,
218.93615891789455,
218.47151617681672,
217.87202307254327,
211.6375499581061,
210.6869646492674,
209.73175448735287,
208.77179581635767,
207.80698417105538,
206.83720028692454,
205.86231944732793,
204.88221110806046,
203.8976607151603,
202.9102261656038,
201.92968660340085,
200.93411015191973,
199.93815176605625,
204.31125111785505,
203.59352204258607,
202.88717892634241,
202.24151404141514,
201.5963302569269,
200.9439347551737,
200.3623363691646,
199.76565008857736,
199.1551026395078,
198.53705776041633,
197.9328092774229,
197.32591946155065,
196.6796975471171,
195.9699781883283,
195.21764022675205,
194.4951103613517,
193.789336178374,
193.08625736134516,
192.38164891474236,
191.67669266989145,
190.97201943371127,
190.26730539016222,
189.5717481141102,
188.8458964764391,
188.1414066204381,
187.43688760977005,
186.7555521292456,
186.07386250345314,
185.3883563687495,
184.7702155897291,
184.09556770011838,
183.47641586502266,
182.85072538402864,
182.21391969103593,
181.58874224406665,
180.91742857188592,
180.18440006959804,
179.4751072774373,
178.72316423047013,
177.963726550699,
177.21251564556368,
176.5008166384641,
175.79158456977373,
175.07304205065063,
189.99931993077647,
189.99924306516752,
189.9991575454111,
189.99905898581608,
189.99894668956395,
189.99874008121085,
168.48240912863636,
167.71258531280324,
166.93318955530634
]
},
{
"line": {
"color": "magenta",
"dash": "dash",
"shape": "hv",
"width": 2
},
"name": "gen_min",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
159.99984832164716,
159.99984257670377,
159.99983840507704,
159.99983605933028,
159.99982785570703,
159.99982114792044,
189.99867228663805,
189.9986205271446,
189.9997637568807,
189.9997505044808,
189.99973666859267,
189.99971972943248,
189.9997042229619,
189.99968770076478,
189.99967012429158,
189.99965182369422,
189.99963245611565,
189.9996122881842,
189.99961515271022,
159.99961665192225,
159.99959884580156,
159.9995925490132,
159.99957765695115,
159.99956226470778,
159.99955541925573,
159.99954075811053,
159.99952525609422,
159.999508855692,
159.99948647607295,
159.99945534244927,
159.999436147563,
159.99940309798976,
159.99937620722451,
159.9993481759561,
159.99932047152836,
159.99929159062435,
159.99926208211082,
159.9992308238229,
159.99919850113946,
159.99916469064175,
159.9991293152748,
159.9990922936134,
159.99905050704413,
159.9990075153078,
159.99896461017315,
159.99892126801672,
159.9988958787211,
159.99885854989526,
159.99878317987444,
159.99873964473187,
159.9986985582316,
159.99864551655386,
159.99858835421938,
159.99850920153722,
159.99841721649722,
159.9983400810267,
159.99969058156427,
159.99967578609846,
159.99966052601482,
159.99964446309409,
159.9996284369721,
159.999605110509,
159.99958306145308,
189.9992478694595,
189.99918769485902,
189.9988601983599,
189.99877636513793,
189.99894753969147,
189.99886985416927,
159.99933720080418,
159.99929983503532,
159.99925954847882
]
},
{
"line": {
"color": "black",
"shape": "hv",
"width": 1
},
"name": "production",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
284.62470621431555,
278.7310702173821,
270.79392182972106,
247.72064381259776,
270.55546511078524,
283.9764867143283,
338.2232884144424,
337.41373740007043,
336.60239341145814,
335.7853236408249,
334.96427473868965,
334.13915600692206,
333.309871583358,
332.0880779208158,
330.34987667807843,
328.61167543534094,
326.8734741926035,
325.13527294986613,
323.39707170712876,
276.3083563165652,
275.30700605132233,
263.0792383023251,
262.21227630048384,
261.3453142986421,
248.61265286948182,
247.8725098187614,
247.1140888865594,
246.33739007287605,
245.56069125919234,
248.4328325939763,
255.6299480632941,
265.5592975256921,
271.4235952831638,
263.496517351286,
262.4951670860431,
260.6663858122835,
259.6759362225515,
258.685486632819,
257.6950370430869,
256.70458745335486,
255.71413786362237,
255.52770987495467,
253.72626703918138,
252.73581744944926,
245.52874663691617,
244.5998720339285,
240.55311030098255,
230.58271936098308,
238.8130941600869,
228.52136004843757,
226.45816776378246,
225.66319106861744,
224.86821437345287,
234.55728599597987,
242.59990931241865,
242.32121086139367,
247.41853981412942,
246.3220776047388,
245.22561539534777,
238.51235941119967,
237.13061959042264,
236.12926932517928,
235.8262485517406,
267.4034921730329,
265.7508126432814,
266.3905807369727,
264.65237949423533,
260.68602131360853,
259.03334178385757,
231.4060646336853,
229.56569462817126,
223.64329194155192
]
},
{
"fill": "tonexty",
"line": {
"color": "light gray",
"shape": "hv",
"width": 0
},
"name": "RR_DOWN",
"type": "scatter",
"x": [
"2018-01-23T00:00:00",
"2018-01-23T01:00:00",
"2018-01-23T02:00:00",
"2018-01-23T03:00:00",
"2018-01-23T04:00:00",
"2018-01-23T05:00:00",
"2018-01-23T06:00:00",
"2018-01-23T07:00:00",
"2018-01-23T08:00:00",
"2018-01-23T09:00:00",
"2018-01-23T10:00:00",
"2018-01-23T11:00:00",
"2018-01-23T12:00:00",
"2018-01-23T13:00:00",
"2018-01-23T14:00:00",
"2018-01-23T15:00:00",
"2018-01-23T16:00:00",
"2018-01-23T17:00:00",
"2018-01-23T18:00:00",
"2018-01-23T19:00:00",
"2018-01-23T20:00:00",
"2018-01-23T21:00:00",
"2018-01-23T22:00:00",
"2018-01-23T23:00:00",
"2018-01-24T00:00:00",
"2018-01-24T01:00:00",
"2018-01-24T02:00:00",
"2018-01-24T03:00:00",
"2018-01-24T04:00:00",
"2018-01-24T05:00:00",
"2018-01-24T06:00:00",
"2018-01-24T07:00:00",
"2018-01-24T08:00:00",
"2018-01-24T09:00:00",
"2018-01-24T10:00:00",
"2018-01-24T11:00:00",
"2018-01-24T12:00:00",
"2018-01-24T13:00:00",
"2018-01-24T14:00:00",
"2018-01-24T15:00:00",
"2018-01-24T16:00:00",
"2018-01-24T17:00:00",
"2018-01-24T18:00:00",
"2018-01-24T19:00:00",
"2018-01-24T20:00:00",
"2018-01-24T21:00:00",
"2018-01-24T22:00:00",
"2018-01-24T23:00:00",
"2018-01-25T00:00:00",
"2018-01-25T01:00:00",
"2018-01-25T02:00:00",
"2018-01-25T03:00:00",
"2018-01-25T04:00:00",
"2018-01-25T05:00:00",
"2018-01-25T06:00:00",
"2018-01-25T07:00:00",
"2018-01-25T08:00:00",
"2018-01-25T09:00:00",
"2018-01-25T10:00:00",
"2018-01-25T11:00:00",
"2018-01-25T12:00:00",
"2018-01-25T13:00:00",
"2018-01-25T14:00:00",
"2018-01-25T15:00:00",
"2018-01-25T16:00:00",
"2018-01-25T17:00:00",
"2018-01-25T18:00:00",
"2018-01-25T19:00:00",
"2018-01-25T20:00:00",
"2018-01-25T21:00:00",
"2018-01-25T22:00:00",
"2018-01-25T23:00:00"
],
"y": [
220.7504345613444,
220.120280313201,
219.51161189309727,
218.9361589128922,
218.47151616769085,
217.87202528226248,
211.6375500370386,
210.6869647339244,
209.7317545784244,
208.77179591484224,
207.80698427832291,
206.83720040477294,
205.86231957804975,
204.8822112540418,
203.8976608603311,
202.9102263107292,
201.92968674698662,
200.93411029544953,
198.2928347433062,
204.29832672041215,
203.58022083056335,
202.8764179863703,
202.23076235888894,
201.58558156869248,
200.93540787299665,
200.3538157629149,
199.7571342670502,
199.14659388939583,
198.52846120576157,
197.92364324420174,
197.31521701116935,
196.66682252780043,
195.95564561394508,
195.20476823842338,
194.48206139694486,
193.77646168302402,
193.0735490121882,
192.36894219833118,
191.66398712848869,
190.959315664607,
190.25460347383748,
189.55893114870952,
188.83318268551713,
188.128694789421,
187.4255066836767,
186.7441733228244,
186.0631557433713,
185.3793401952017,
184.75949602397029,
184.1346850985515,
183.46863036894487,
182.84294206928374,
182.20662829719632,
181.57871004836772,
180.90573883338513,
180.1725538207927,
179.4619235426903,
178.70999807378666,
177.95034534968497,
177.20058139336874,
176.48896763223883,
175.77973900790306,
175.06083284469142,
189.9748029853974,
189.97472625133835,
189.97417891170375,
189.97408052721786,
189.97443039144974,
189.9743518442657,
168.48240912863636,
167.71258531280324,
166.93318955530634
]
}
],
"layout": {
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#2a3f5f"
},
"error_y": {
"color": "#2a3f5f"
},
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "#E5ECF6",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"baxis": {
"endlinecolor": "#2a3f5f",
"gridcolor": "white",
"linecolor": "white",
"minorgridcolor": "white",
"startlinecolor": "#2a3f5f"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"fillpattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#EBF0F8"
},
"line": {
"color": "white"
}
},
"header": {
"fill": {
"color": "#C8D4E3"
},
"line": {
"color": "white"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#2a3f5f",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
0,
"#8e0152"
],
[
0.1,
"#c51b7d"
],
[
0.2,
"#de77ae"
],
[
0.3,
"#f1b6da"
],
[
0.4,
"#fde0ef"
],
[
0.5,
"#f7f7f7"
],
[
0.6,
"#e6f5d0"
],
[
0.7,
"#b8e186"
],
[
0.8,
"#7fbc41"
],
[
0.9,
"#4d9221"
],
[
1,
"#276419"
]
],
"sequential": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
],
"sequentialminus": [
[
0.0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1.0,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#2a3f5f"
},
"geo": {
"bgcolor": "white",
"lakecolor": "white",
"landcolor": "#E5ECF6",
"showlakes": true,
"showland": true,
"subunitcolor": "white"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "light"
},
"paper_bgcolor": "white",
"plot_bgcolor": "#E5ECF6",
"polar": {
"angularaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"radialaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"yaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
},
"zaxis": {
"backgroundcolor": "#E5ECF6",
"gridcolor": "white",
"gridwidth": 2,
"linecolor": "white",
"showbackground": true,
"ticks": "",
"zerolinecolor": "white"
}
},
"shapedefaults": {
"line": {
"color": "#2a3f5f"
}
},
"ternary": {
"aaxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"baxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
},
"bgcolor": "#E5ECF6",
"caxis": {
"gridcolor": "white",
"linecolor": "white",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"xaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "white",
"linecolor": "white",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "white",
"zerolinewidth": 2
}
}
},
"title": {
"text": "Plant2: production and reserves"
},
"xaxis": {
"title": {
"text": "Time"
}
},
"yaxis": {
"title": {
"text": "Production and reserves [MW]"
}
}
}
},
"text/html": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#Plot the results from the new run\n",
"plot_plant_prod_and_down_reserve(shop)"
]
},
{
"cell_type": "markdown",
"id": "5c878cc1",
"metadata": {},
"source": [
"The reserve capacity allocation now respect the minimum constraints of the plant. As was the case in the first example, the net profit in SHOP has been reduced after adding the minimum reserve constraint:"
]
},
{
"cell_type": "code",
"execution_count": 15,
"id": "83ec05df",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The net profit loss of using the min constraint is: 43892.96 €\n"
]
}
],
"source": [
"print(f\"The net profit loss of using the min constraint is: {obj_with_plant_min - obj_without_plant_min:.2f} €\")"
]
},
{
"cell_type": "markdown",
"id": "ec6683b3",
"metadata": {},
"source": [
"## Precautions\n",
"\n",
"Unlike attributes like max_p_constr which adds a constant upper limit on the plant production in every hour, the upper limits described in this example are dynamically calculated between iterations in SHOP. This means that the max_prod_<> attribute calculated in the last iteration is used as an upper limit in the next iteration. When comparing the resulting production and reserve capacity to the max_prod_<> attribute, it might appear that SHOP is violating the constraint since the max_prod_<> attribute was re-calculated *after* the optimization model has solved. This is especially true in full iterations where unit commitment is not fixed. The \"SPINNING\" strategy is also more prone to big changes between iterations since it depends on which units are committed on and off in each hour. Using the \"ALL\" and \"AVAILABLE\" strategies is less prone to big variations between iterations since they include offline units in the calculation. Only activating the plant reserve strategies in incremental iterations is also a possibility that will mitigate this problem."
]
},
{
"cell_type": "markdown",
"id": "939b16bc",
"metadata": {},
"source": [
"## reserve_cap.py"
]
},
{
"cell_type": "code",
"execution_count": 16,
"id": "66813c5f",
"metadata": {
"Collapsed": "false",
"tags": [
"remove-input"
]
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"import pandas as pd\n",
"import numpy as np\n",
"\n",
"def build_model(shop):\n",
" starttime = pd.Timestamp('2018-01-23 00:00:00')\n",
" endtime = pd.Timestamp('2018-01-26')\n",
" shop.set_time_resolution(starttime=starttime, endtime=endtime, timeunit=\"hour\", timeresolution=pd.Series(index=[starttime],data=[1]))\n",
" \n",
" rsv1 = shop.model.reservoir.add_object('Reservoir1')\n",
" rsv1.max_vol.set(39)\n",
" rsv1.lrl.set(860)\n",
" rsv1.hrl.set(905)\n",
" rsv1.vol_head.set(pd.Series([860, 906, 907], index=[0, 39, 41.66], name=0)) \n",
"\n",
" rsv2 = shop.model.reservoir.add_object('Reservoir2')\n",
" rsv2.max_vol.set(97.5) \n",
" rsv2.lrl.set(650) \n",
" rsv2.hrl.set(679) \n",
" rsv2.vol_head.set(pd.Series([650, 679, 680], index=[0, 97.5, 104.15], name=0))\n",
" \n",
" plant1 = shop.model.plant.add_object('Plant1')\n",
" plant1.outlet_line.set(672)\n",
" plant1.main_loss.set([0])\n",
" plant1.penstock_loss.set([0.001])\n",
" plant1.mip_flag.set(1)\n",
" for gen_no in range(2):\n",
" gen=shop.model.generator.add_object(f\"{plant1.get_name()}_G{str(gen_no+1)}\")\n",
" gen.connect_to(plant1)\n",
" gen.penstock.set(1)\n",
" gen.p_min.set(60)\n",
" gen.p_max.set(120)\n",
" gen.p_nom.set(120)\n",
" gen.startcost.set(300)\n",
" gen.gen_eff_curve.set(pd.Series([100, 100], index=[60, 120]))\n",
" gen.turb_eff_curves.set([pd.Series([85.8733, 87.0319, 88.0879, 89.0544, 89.9446, 90.7717, 91.5488, 92.2643, 92.8213, 93.1090, 93.2170, 93.0390, 92.6570, 92.1746],\n",
" index=[28.12, 30.45, 32.78, 35.11, 37.45, 39.78, 42.11, 44.44, 46.77, 49.10, 51.43, 53.76, 56.10, 58.83],\n",
" name=170),\n",
" pd.Series([86.7321, 87.9022, 88.9688, 89.9450, 90.8441, 91.6794, 92.4643, 93.1870, 93.7495, 94.0401, 94.1492, 93.9694, 93.5836, 93.0964],\n",
" index=[28.12, 30.45, 32.78, 35.11, 37.45, 39.78, 42.11, 44.44, 46.77, 49.10, 51.43, 53.76, 56.10, 58.83],\n",
" name=200),\n",
" pd.Series([87.5908, 88.7725, 89.8497, 90.8355, 91.7435, 92.5871, 93.3798, 94.1096, 94.6777, 94.9712, 95.0813, 94.8998, 94.5101, 94.0181],\n",
" index=[28.12, 30.45, 32.78, 35.11, 37.45, 39.78, 42.11, 44.44, 46.77, 49.10, 51.43, 53.76, 56.10, 58.83],\n",
" name=230)])\n",
"\n",
" plant2 = shop.model.plant.add_object('Plant2')\n",
" plant2.outlet_line.set(586)\n",
" plant2.main_loss.set([0])\n",
" plant2.penstock_loss.set([0.0001,0.0002])\n",
" plant2.mip_flag.set(1)\n",
" for gen_no in range(4):\n",
" gen=shop.model.generator.add_object(f\"{plant2.get_name()}_G{str(gen_no+1)}\")\n",
" gen.connect_to(plant2)\n",
" if gen_no == 0:\n",
" gen.penstock.set(1)\n",
" gen.p_min.set(100)\n",
" gen.p_max.set(180)\n",
" gen.p_nom.set(180)\n",
" gen.startcost.set(300)\n",
" gen.gen_eff_curve.set(pd.Series([100, 100], index=[100, 180]))\n",
" gen.turb_eff_curves.set([pd.Series([92.7201, 93.2583, 93.7305, 94.1368, 94.4785, 94.7525, 94.9606, 95.1028, 95.1790, 95.1892, 95.1335, 95.0118, 94.8232, 94.5191],\n",
" index=[126.54, 137.03, 147.51, 158.00, 168.53, 179.01, 189.50, 199.98, 210.47, 220.95, 231.44, 241.92, 252.45, 264.74],\n",
" name=60)])\n",
" else:\n",
" gen.penstock.set(2)\n",
" gen.p_min.set(30)\n",
" gen.p_max.set(55)\n",
" gen.p_nom.set(55)\n",
" gen.startcost.set(300)\n",
" gen.gen_eff_curve.set(pd.Series([100, 100], index=[30, 55]))\n",
" gen.turb_eff_curves.set([pd.Series([83.8700, 85.1937, 86.3825, 87.4362, 88.3587, 89.1419, 89.7901, 90.3033, 90.6815, 90.9248, 91.0331, 91.0063, 90.8436, 90.4817],\n",
" index=[40.82, 44.20, 47.58, 50.97, 54.36, 57.75, 61.13, 64.51, 67.89, 71.27, 74.66, 78.04, 81.44, 85.40],\n",
" name=60)])\n",
" \n",
" rsv1.connect_to(plant1)\n",
" plant1.connect_to(rsv2)\n",
" rsv2.connect_to(plant2)\n",
" \n",
" rsv1.start_head.set(900)\n",
" rsv2.start_head.set(670) \n",
" \n",
" rsv1.energy_value_input.set(30)\n",
" rsv2.energy_value_input.set(10)\n",
" \n",
" rsv2.inflow.set(pd.Series([60], [starttime]))\n",
" \n",
" da = shop.model.market.add_object('Day_ahead')\n",
" da.sale_price.set(pd.DataFrame([32.992,31.122,29.312,28.072,30.012,33.362,42.682,74.822,77.732,62.332,55.892,46.962,42.582,40.942,39.212,39.142,41.672,46.922,37.102,32.992,31.272,29.752,28.782,28.082,27.242,26.622,25.732,25.392,25.992,27.402,28.942,32.182,33.082,32.342,30.912,30.162,30.062,29.562,29.462,29.512,29.672,30.072,29.552,28.862,28.412,28.072,27.162,25.502,26.192,25.222,24.052,23.892,23.682,26.092,28.202,30.902,31.572,31.462,31.172,30.912,30.572,30.602,30.632,31.062,32.082,36.262,34.472,32.182,31.492,30.732,29.712,28.982], \n",
" index=[starttime + pd.Timedelta(hours=i) for i in range(0,72)]))\n",
" da.max_sale.set(pd.Series([9999], [starttime]))\n",
" da.buy_price.set(da.sale_price.get()+0.002)\n",
" da.max_buy.set(pd.Series([9999], [starttime]))\n",
"\n",
" settings = shop.model.global_settings.global_settings\n",
" settings.mipgap_rel.set(0)\n",
" settings.mipgap_abs.set(0)\n",
"\n",
"def run_model(shop):\n",
" shop.start_sim([], ['3'])\n",
" shop.set_code(['incremental'], [])\n",
" shop.start_sim([], ['5'])\n",
"\n",
"\n"
]
}
],
"source": [
"with open('reserve.py', 'r') as f:\n",
" print(f.read())"
]
}
],
"metadata": {
"jupytext": {
"text_representation": {
"extension": ".md",
"format_name": "myst",
"format_version": 0.13,
"jupytext_version": "1.16.2"
}
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.13.13"
},
"source_map": [
12,
23,
29,
40,
65,
79,
104,
112,
115,
121,
135,
138,
142,
144,
154,
184,
195,
218,
221,
229,
243,
246,
250,
252,
258,
262
]
},
"nbformat": 4,
"nbformat_minor": 5
}