{
"cells": [
{
"cell_type": "markdown",
"id": "04ba4495",
"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 apllied 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": "5898bebb",
"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": "6fde9406",
"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": "3c34e7f9",
"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": "288a1cb6",
"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": "d55b9c7f",
"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": "c5f23818",
"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 are set by the calculated [max_prod_individual](generator:max_prod_individual) attribute. This maximum production limits assume 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": "9d7f958a",
"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.0165380480056,
330.2033968775341,
328.4651956347966,
286.51775521002196,
285.61155921195194,
229.76195860427893,
229.19330546417794,
228.6408950744175,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
229.1027588661843,
282.5002966318963,
281.0276890960327,
279.4930189985787,
277.9583489011242,
276.5161844760847,
275.16652572345964,
273.816866970835,
272.46720821821,
271.11754946558534,
269.7678907129603,
268.4182319603357,
266.9760675352961,
265.6264087826711,
264.27675003004646,
215.53692808944203,
214.77181043724227,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
215.26354591371694,
261.82204802240585,
260.4723892697813,
258.93771917232675,
257.40304907487234,
255.8683789774183,
254.3337088799638,
252.79903878250934,
251.26436868505533,
249.72969858760084,
248.1950284901468,
277.63897860185966,
275.32313229453536,
272.98915862631304,
270.65518495809033,
268.3212112898681,
266.0053649825437,
263.6895186752189,
232.9707519063374
]
},
{
"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.0165380480056,
330.2033968775341,
328.4651956347966,
326.13122196657446,
324.3857310461572,
322.74721553995994,
321.65176225122934,
320.5875998015819,
319.6544702078159,
319.9582807256558,
320.2620912434963,
320.5659017613367,
320.8697122791772,
321.1735227970176,
321.4773333148581,
320.3946962574266,
318.640966921555,
316.81332723803814,
314.9856875545207,
313.268212940445,
311.6609033958103,
310.05359385117606,
308.4462843065413,
306.8389747619071,
305.23166521727234,
303.6243556726381,
301.90688105856236,
300.2995715139276,
298.69226196929344,
297.137907148131,
296.01174236774216,
294.91265706569686,
295.21646758353677,
295.5202781013772,
295.8240886192176,
296.1278991370581,
296.43170965489855,
296.735520172739,
295.7689556457943,
294.1616461011601,
292.3340064176427,
290.5063667341254,
288.67872705060853,
286.85108736709117,
285.02344768357386,
283.195808000057,
281.3681683165396,
279.5405286330228,
277.63897860185966,
275.32313229453536,
272.98915862631304,
270.65518495809033,
268.3212112898681,
266.0053649825437,
263.6895186752189,
261.40992708969037
]
},
{
"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.0165380480056,
330.2033968775341,
328.4651956347966,
326.13122196657446,
324.3857310461572,
322.74721553995994,
321.65176225122934,
320.5875998015819,
319.6544702078159,
319.9582807256558,
320.2620912434963,
320.5659017613367,
320.8697122791772,
321.1735227970176,
321.4773333148581,
320.3946962574266,
318.640966921555,
316.81332723803814,
314.9856875545207,
313.268212940445,
311.6609033958103,
310.05359385117606,
308.4462843065413,
306.8389747619071,
305.23166521727234,
303.6243556726381,
301.90688105856236,
300.2995715139276,
298.69226196929344,
297.137907148131,
296.01174236774216,
294.91265706569686,
295.21646758353677,
295.5202781013772,
295.8240886192176,
296.1278991370581,
296.43170965489855,
296.735520172739,
295.7689556457943,
294.1616461011601,
292.3340064176427,
290.5063667341254,
288.67872705060853,
286.85108736709117,
285.02344768357386,
283.195808000057,
281.3681683165396,
279.5405286330228,
277.63897860185966,
275.32313229453536,
272.98915862631304,
270.65518495809033,
268.3212112898681,
266.0053649825437,
263.6895186752189,
261.40992708969037
]
},
{
"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.01653805243933,
330.2033968819677,
328.4651956392303,
336.5151696550656,
335.82684972338103,
339.7616149607503,
339.1929745625618,
338.640606833924,
338.15642407319336,
338.31413379428426,
338.47184347993823,
338.6295531305435,
338.78726403151165,
338.9449738513167,
339.1024254817699,
331.45159906903314,
329.6978697331616,
327.8702300496442,
326.95795082425104,
326.13252008427907,
324.5252105396444,
322.91790099501014,
321.31059145037545,
319.7032819057412,
318.0959723611065,
315.5966189423684,
314.771188202396,
313.16387865776176,
311.556569113127,
317.4072510564657,
316.64023548412047,
321.44921937041875,
321.7530298882591,
322.0568404060996,
322.36065092394,
322.6644614417805,
322.9682719596203,
317.7153903310829,
308.63326281822435,
305.21854894136203,
303.3909092578448,
301.56326957432793,
299.7356298908105,
297.9079902072937,
296.08035052377636,
294.252710840259,
292.4250711567422,
290.5974314732248,
278.19130697729156,
275.32313551722325,
272.98916184900094,
270.65518818077874,
268.8735396653,
266.55769335797504,
265.33483906412783,
272.46682992989236
]
},
{
"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.19416529128534,
340.74809964170134,
339.9259017525968,
339.12412651262946,
338.3186557555707,
337.5095518236143,
336.6986382454114,
335.88203263883617,
335.0374304353909,
334.17663489997113,
333.3114982923521,
332.0165380480056,
330.2033968775341,
328.4651956347966,
271.203837207373,
258.0933256052467,
190.99890705810762,
186.46250913716878,
168.83155810988677,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
188.70865304535135,
267.49838098724393,
273.85518736236776,
272.3695504401058,
259.8257617171294,
246.7381683834918,
245.56209785943793,
244.3860273353844,
243.20995681133053,
242.03388628727703,
240.85781576322316,
251.04460471120595,
238.42506678779873,
237.24899626374483,
230.28182216233057,
180.7657804170517,
177.03191814276835,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
161.64545801594693,
233.9339386283886,
253.95663560150092,
252.47099867923853,
250.9853617569762,
249.49972483471424,
248.01408791245188,
246.52845099018953,
245.04281406792757,
243.55717714566524,
248.1950284901468,
276.83793903159574,
275.32313229453536,
272.9891586263131,
270.65518495809033,
267.5776109498442,
265.27604064070624,
261.4470230157384,
227.33368389509062
]
},
{
"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.0165380480056,
330.2033968775341,
328.4651956347966,
336.51513817297246,
335.82684761977924,
339.76161329110903,
339.19297290813313,
338.6406053440613,
338.15642407319336,
338.31413379428426,
338.47184347993823,
338.6295531305435,
338.78726403151165,
338.9449738513167,
339.10242377853643,
331.4515965609438,
329.6978671367736,
327.87022745325663,
326.9579483555416,
326.13251774715735,
324.52520820252266,
322.91789865788843,
321.31058911325374,
319.70327956861945,
318.09597002398476,
315.59661647365897,
314.7711858652747,
313.16387632064004,
311.55656684211084,
317.40724930005086,
316.6402337596802,
321.44921937041875,
321.7530298882591,
322.0568404060996,
322.36065092394,
322.6644614417805,
322.9682719596203,
317.71538876121645,
308.633260460179,
305.2185463217297,
303.39090663821236,
301.56326695469517,
299.73562727117815,
297.90798758766095,
296.08034790414354,
294.2527082206266,
292.4250685371094,
290.59742876713193,
278.19130377446936,
275.32313229453536,
272.9891586263131,
270.65518495809033,
268.8735364624778,
266.5576901551534,
265.33483590103816,
272.46682731026
]
}
],
"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": "ed0a28f0",
"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": "cae2342d",
"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": "178fe972",
"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.23659216682842,
226.73303678374194,
226.22961669532017,
225.72633190156313,
225.2231824024706,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
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.23659216682842,
226.73303678374194,
226.22961669532017,
225.72633190156313,
225.2231824024706,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818
]
},
{
"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.23659216682842,
226.73303678374194,
226.22961669532017,
225.72633190156313,
225.2231824024706,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818,
224.64780329949818
]
},
{
"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,
228.50277158205222,
229.18241346362328,
228.6783356207962,
228.17439307263373,
227.6705858191361,
225.2232196873117,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291,
236.6419207862291
]
},
{
"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.09285107943805,
229.51597571342245,
228.93927737319711,
228.36274169677284,
219.78815188488096,
204.23036807423358,
203.78428168486184,
203.33831490653017,
202.89246773923878,
225.22314969281484,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
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.09285107943805,
229.51597571342245,
228.93927737319711,
228.36274169677284,
227.78640388029243,
227.23659229419528,
226.73303691107404,
226.2296168226175,
225.72633202882574,
225.22314969281484,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301,
224.6478056068301
]
}
],
"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.92597696786567,
339.1242279954148,
338.3187846812133,
337.5097096901582,
336.698826782071,
335.882254523135,
335.04863990112096,
334.1879953054722,
333.32301547360015,
332.0408229188415,
330.22782431076837,
328.4897073914317,
286.5306722651863,
285.60101721594884,
229.76093509899826,
229.1923537720278,
228.6309404144021,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
229.09279350251717,
282.4839184360125,
281.011310900149,
279.476640802695,
277.9419707052405,
276.4998062802009,
275.15014752757634,
273.8004887749513,
272.45083002232667,
271.0270651221504,
269.67740636952533,
268.254973444248,
266.835909735659,
265.48625098303404,
264.13659223040935,
215.38754901069535,
214.6224313584952,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
215.11464188796154,
261.6383178382576,
260.288659085633,
258.7539889881785,
257.219318890724,
255.68464879327001,
254.14997869581555,
252.61530859836105,
251.08063850090707,
249.5459684034526,
248.01129830599854,
277.4201741981209,
275.0873011009294,
272.75402363169235,
270.42080603851764,
268.0878301822823,
265.7549082130973,
263.42228099757085,
232.70207672818842
]
},
{
"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.92597696786567,
339.1242279954148,
338.3187846812133,
337.5097096901582,
336.698826782071,
335.882254523135,
335.04863990112096,
334.1879953054722,
333.32301547360015,
332.0408229188415,
330.22782431076837,
328.4897073914317,
326.15610265723484,
324.3654254114514,
322.7452438595003,
321.649928911771,
320.56842314125544,
319.6352729347348,
319.93908345257523,
320.2428939704157,
320.5467044882556,
320.85051500609603,
321.15432552393645,
321.458136041777,
320.37519145258864,
318.621462116717,
316.79382243320015,
314.9661827496828,
313.248708135607,
311.6413985909728,
310.03408904633807,
308.4267795017039,
306.73121689454985,
305.12390734991504,
303.4299309925919,
301.73996703776004,
300.1326574931253,
298.5253479484911,
296.91803840385643,
295.79187362346704,
294.69348754453665,
294.9972980623771,
295.30110858021754,
295.604919098058,
295.9087296158985,
296.2125401337389,
296.5163506515788,
295.55015124205545,
293.9428416974213,
292.1152020139039,
290.28756233038655,
288.4599226468697,
286.6322829633524,
284.804643279835,
282.9770035963182,
281.1493639128008,
279.321724229284,
277.4201741981209,
275.0873011009294,
272.75402363169235,
270.42080603851764,
268.0878301822823,
265.7549082130973,
263.42228099757085,
261.0899616336776
]
},
{
"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.92597696786567,
339.1242279954148,
338.3187846812133,
337.5097096901582,
336.698826782071,
335.882254523135,
335.04863990112096,
334.1879953054722,
333.32301547360015,
332.0408229188415,
330.22782431076837,
328.4897073914317,
326.15610265723484,
324.3654254114514,
322.7452438595003,
321.649928911771,
320.56842314125544,
319.6352729347348,
319.93908345257523,
320.2428939704157,
320.5467044882556,
320.85051500609603,
321.15432552393645,
321.458136041777,
320.37519145258864,
318.621462116717,
316.79382243320015,
314.9661827496828,
313.248708135607,
311.6413985909728,
310.03408904633807,
308.4267795017039,
306.73121689454985,
305.12390734991504,
303.4299309925919,
301.73996703776004,
300.1326574931253,
298.5253479484911,
296.91803840385643,
295.79187362346704,
294.69348754453665,
294.9972980623771,
295.30110858021754,
295.604919098058,
295.9087296158985,
296.2125401337389,
296.5163506515788,
295.55015124205545,
293.9428416974213,
292.1152020139039,
290.28756233038655,
288.4599226468697,
286.6322829633524,
284.804643279835,
282.9770035963182,
281.1493639128008,
279.321724229284,
277.4201741981209,
275.0873011009294,
272.75402363169235,
270.42080603851764,
268.0878301822823,
265.7549082130973,
263.42228099757085,
261.0899616336776
]
},
{
"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.7634112404166,
339.9313015633689,
339.12973867436176,
338.32453397396824,
337.51575369602483,
336.7052631865812,
335.8945921446303,
335.06719893306234,
334.20721189717483,
333.3429172625217,
332.056515014211,
330.238397641628,
328.52626372547996,
336.5454167529859,
336.0859697485684,
339.76254142203635,
339.19398023593067,
338.6326130363724,
338.1484277120947,
338.3061374349927,
338.4638471224339,
338.62155677480695,
338.7792676659682,
338.9369774865152,
339.09200209398216,
332.35125729080335,
329.718422218604,
327.8907825350866,
326.97850330969334,
326.1530725697215,
324.5457630250867,
322.9384534804525,
321.33114393581775,
319.63559325757717,
318.028283712943,
315.44227567179087,
314.6443555910629,
313.03704604642866,
311.42973650179385,
317.2274637216603,
316.46044814931446,
321.2701312301323,
321.57394174797275,
321.8777522658132,
322.1815627836531,
322.48537330149355,
322.789183819334,
317.53630219079656,
308.4545397953583,
305.03982591849655,
303.2121862349792,
301.38454655146234,
299.556906867945,
297.7292671844282,
295.9016275009108,
294.07398781739346,
292.2463481338766,
290.41870845035925,
277.5413664461789,
275.1796550490233,
272.8511058706733,
270.53556247227124,
268.20692750980993,
265.89512976689053,
263.5844867398754,
272.19695025896124
]
},
{
"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.19416529128634,
340.737589314199,
339.9223159158278,
339.1204293108918,
338.31481221268155,
337.50552485429495,
336.69431562607343,
335.8737425235315,
335.0359106990233,
334.1747798932814,
333.3092921605135,
332.03207417372266,
330.22269466228073,
328.46750437241195,
276.15085964707083,
256.2304479863718,
190.9803368987441,
188.65799769551643,
168.8252178220687,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
188.73691584148102,
267.4830652776232,
273.8393324548112,
272.3536955325493,
259.8106864816348,
246.7238966919412,
245.5478261678877,
244.3717556438338,
252.63249176899484,
241.95503971291504,
249.94235017414675,
248.0473770019287,
238.3029355775585,
237.12686505350462,
235.95079452945114,
180.64487573998463,
176.83258513660724,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
161.49400545151312,
233.77383915618088,
253.77877565247508,
252.29313873021272,
250.80750180795036,
249.32186488568837,
247.83622796342604,
246.35059104116368,
244.86495411890178,
243.37931719663942,
248.01129830599854,
277.3729320708206,
275.0579813247218,
272.7227767437349,
270.3803496685491,
268.04601613832045,
265.7024063174556,
263.359040441106,
227.07359297039247
]
},
{
"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.737589314199,
339.9223159158278,
339.1204293108918,
338.31481221268155,
337.50552485429495,
336.69431562607343,
335.8737425235315,
335.0359106990233,
334.1747798932814,
333.3092921605135,
332.03207417372266,
330.22269466228073,
328.46750437241195,
326.1566838994021,
324.3664167761269,
322.7469808904839,
321.65169176378663,
320.5704135546899,
319.6390692892097,
319.9428798070502,
320.24669032489,
320.5505008427305,
320.854311360571,
321.1581218784114,
321.4599075960039,
320.00908742292125,
318.6289585594766,
316.8013188759597,
314.9752805435305,
313.2594563104701,
311.65214676583577,
310.0448372212012,
308.43621402591884,
306.7419682699245,
305.13336942158617,
303.4394533827077,
301.7507216837694,
300.14341213913485,
298.5361025945005,
296.93608069274086,
295.81032840894756,
294.73357214809835,
295.0373826659388,
295.34119318377924,
295.64500370161915,
295.9488142194596,
296.25262473730004,
296.53691481413034,
295.5609058880649,
293.95034265355906,
292.1227029700417,
290.29506328652445,
288.46742360300743,
286.6397839194901,
284.8121442359729,
282.984504552456,
281.1568648689387,
279.3281497680916,
277.3729320708206,
275.0579813247218,
272.7227767437349,
270.3803496685491,
268.04601613832045,
265.7024063174556,
263.359040441106,
261.09933469507484
]
}
],
"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": "be5eeffd",
"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": "36a2b7d6",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The net profit loss of using the max constraint is: 14680.86 €\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": "7c6b2d12",
"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": "892f0ed2",
"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": "9b0ed2b9",
"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": "ee14ac25",
"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": "c5ad7ba2",
"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.00003467613095,
150.00002936600703,
150.0000244128704,
150.000019254116,
150.00001226304863,
150.00000557691243,
149.99999918958605,
149.99999309481433,
149.99998728620403,
149.99998187030616,
150.0000292902293,
150.00002151922695,
150.00000298269043,
149.9999804879269,
149.99994676679702,
149.999900165646,
149.99983774852478,
149.99976249192156,
149.9996782325893,
150.00002671098633,
150.0000009278114,
149.9999742667727,
149.99962267401241,
150.00004462711934,
150.00003661018218,
150.00002863038327,
150.0000208216075,
150.0000094855405,
149.99999668887247,
149.9999846580107,
149.99997309956441,
149.99996154257678,
150.00003616653098,
150.0000291060894,
150.00002223142715,
149.9999061736118,
149.99972913801503,
149.99958835138955,
149.99918000791257,
149.9986368613855,
150.00038425088513,
149.99794117375035
]
},
{
"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.99991105130994,
119.99989417700509,
119.9998920182333,
119.99988981007405,
119.99988755126823,
119.99988524052107,
119.99988287650123,
119.9998804578396,
119.99987798312823,
119.99988410911277,
119.99988180011445,
119.9998794622752,
119.99986789986269,
119.99988392906225,
119.99988166123546,
119.99989643252201,
119.99989448120816,
119.99989248802571,
119.99990628895594,
119.99990458533185,
119.99990284647161,
119.99990107155725,
119.99989925974968,
119.99989741018825,
119.99989552199003,
119.99987356497384,
119.99984875138831,
119.99982070293422,
119.99982946515814,
119.99983874642682,
119.99986987173494,
119.99985715911839,
119.9998614762832,
119.9998511395293,
119.99982711225262,
119.99981967132179,
119.999783314305,
119.9997796498982,
119.99980602608014,
119.99980478517394,
119.99982928658933,
119.99983019676877,
119.99983272918911
]
},
{
"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.8098061740119,
214.21172283932964,
213.63973726192657,
213.06792873309843,
212.49629725284498,
211.92484282116644,
211.35356543806247,
210.78246510353353,
210.21154181757933,
206.36458149219914,
205.8162225027159,
205.26803004096752,
207.96547652648718,
200.88774416515716,
200.3618106459898,
193.0765579872258,
192.5934997253484,
192.11057883951264,
184.299890288139,
183.85917683680535,
183.4185830093444,
182.97810880575602,
182.53775422604028,
182.09751927019693,
181.65740393822628,
188.40650174631998,
194.47562037648987,
200.1948897065188,
196.5347821763724,
192.86964650149605,
192.34610292823947,
191.82271578656116,
188.10405529118515,
187.60237559508994,
190.27637448509685,
189.75360622371187,
195.29435972185948,
194.72825906092035,
188.14053202860427,
187.6184031855751,
180.8327652594819,
180.35320112735593,
179.8737743712715
]
},
{
"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.00042894907412,
119.99989449939166,
119.99989234051993,
119.99989013226104,
119.99988787335535,
119.99988556250845,
119.99988319838874,
119.99988077962735,
119.99987830481636,
119.99988442479992,
119.99988211570573,
119.99987977777076,
119.99986822115801,
119.99988423846351,
119.99988197054472,
119.99989672970429,
119.99989477830577,
119.99989278503882,
119.99990657308928,
119.99990486938793,
119.99990313045062,
119.99990135545912,
119.99989954357461,
119.9998976939359,
119.99989580566057,
119.99987386133803,
119.99984905966603,
119.99982102286666,
119.99982977912262,
119.99983905442228,
119.99987017963858,
119.99985746692985,
119.99986177801796,
119.99985144117588,
119.99982741979208,
119.9998199787692,
119.99978363337519,
119.99977996886848,
119.99980633324353,
119.99980509224524,
119.99982958162211,
119.99983049171705,
119.99983302405303
]
}
],
"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.9524336885597,
219.55546254154336,
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.3137197839494,
199.86340130623765,
198.90153086782874,
198.18154646643396,
197.42934590303872,
196.6767723039919,
195.92446956941973,
195.1721292853146,
194.4075115908467,
193.6593881202788,
192.90808403489302,
192.15593149512983,
191.39623499027437,
190.63681061763077,
189.88686238968427,
189.11782548920337,
188.35159881737164,
187.58517249040005,
186.80431673092932,
186.02309324509153,
185.26868264220195,
184.51901273838507,
183.76652310424566,
183.01396735955916,
182.2560075125137,
181.50865622641888,
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.99984832162443,
159.99984233127523,
129.99985455367505,
129.99985144996253,
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.99955530311937,
159.99948065270965,
159.9994507895653,
159.9994269018419,
159.99940193693593,
159.9993734055107,
159.99934523626283,
159.99931570376162,
159.99928481082884,
159.9992528504343,
159.99921920052196,
159.99918372932987,
159.9991464911756,
159.99910738702033,
159.99906671050474,
159.9990181109634,
159.99897186521048,
159.99892240098916,
159.9988704206971,
159.99880607839458,
159.99874013700915,
159.99867771467106,
159.99861285494237,
159.99854495288858,
159.99847403021423,
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.38033239587975,
210.51478671145316,
216.8846035318521,
268.7001901915827,
274.64665577849325,
273.5501935691027,
272.45373135971204,
271.35726915032103,
270.2608069409305,
269.16434473153987,
268.0678825221488,
266.97142031275826,
265.87495810336765,
264.76800804387915,
263.6610579843911,
262.5541079249026,
261.457645715512,
260.34020780592607,
259.22276989634014,
258.0843562865592,
251.51934105232988,
249.49212880393202,
248.42986197805766,
247.36759515218336,
245.53749288303726,
244.4863657529597,
240.59994779578014,
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.99984901278816,
159.99984329394894,
129.9998546710658,
129.99985157043068,
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.9995555146225,
159.99948092562465,
159.9994507895653,
159.99942690184193,
159.9994019369359,
159.99937340551068,
159.99934523626285,
159.99931570376162,
159.99928481082884,
159.9992528504343,
159.99921920052196,
159.99918372932984,
159.9991464911756,
159.99910738702033,
159.9990667105047,
159.99901811096336,
159.99897186521048,
159.99892240098913,
159.99887042069707,
159.99880607839452,
159.99874013700915,
159.99867771467103,
159.99861285494237,
159.99854495288858,
159.99847403021425,
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": "5cbd098d",
"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 inclue these limits, a new identical model is built with plant_min_prod_reserve_strategy set to \"SPINNING\":"
]
},
{
"cell_type": "code",
"execution_count": 13,
"id": "1118d229",
"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": "b9071d7b",
"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.0000338019141,
150.00002854919816,
150.00002365284732,
150.00001811422024,
150.00001117237312,
150.0000045344861,
149.99999819441666,
149.99999214588783,
149.99998638248383,
149.99998089764543,
150.00002831367854,
150.00001781053373,
149.99999816988495,
149.9999734189435,
149.99993265347632,
149.9998778859313,
149.99980725501467,
149.999726366898,
149.9997230220829,
150.00001282133266,
149.99998528581023,
149.99964924609415,
150.00004802477534,
150.0000398419289,
150.00003170000747,
150.00002400754502,
150.00001485878875,
150.0000015777277,
149.99998883242637,
149.99997660718253,
149.9999645761627,
150.00003763930494,
150.00003004428913,
150.000022828872,
149.999912763845,
149.9997331509867,
149.9996037604497,
149.9991806725291,
149.99861073213108,
150.00047855637726,
149.99784407308488,
149.9972634137971
]
},
{
"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.99989905824053,
119.99989383469413,
119.9998916680995,
119.99988945191822,
119.99988718488552,
119.9998848657008,
119.99988249302686,
119.99988006548836,
119.99987758167107,
119.99987504007898,
119.99987251422797,
119.99986993984663,
119.99986730776432,
119.99986461490391,
119.99986185969205,
119.99987858954428,
119.99987620258091,
119.99989162504927,
119.99988957039022,
119.99988747136705,
119.99988532690368,
119.99990000567526,
119.99989817166865,
119.99989629938923,
119.99987659605303,
119.99987119599162,
119.99982224869338,
119.9998183526656,
119.99981436062433,
119.99983905829964,
119.99982610181074,
119.99981456137533,
119.99980448370188,
119.99982820606053,
119.99978917077952,
119.99978370412545,
119.9997798960069,
119.99977779876217,
119.99977746594155,
119.99980517727853,
119.99980725188945,
119.99983303832815,
119.99983734935786
]
},
{
"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.30327407765444,
214.12014607821664,
213.54818884318513,
212.9764086567284,
212.4048055188464,
211.83337942953932,
211.2621303888068,
210.6910583966493,
210.12016345306657,
209.5494455580585,
208.97890471162532,
208.40854091376679,
207.83835416448318,
207.2683444637744,
206.6985118116403,
199.66768066932826,
199.14211011227096,
191.90467825613752,
191.421953330571,
190.93936578104595,
190.45691560756248,
182.71793736547755,
182.2776534583218,
181.8374891750385,
188.59464538967,
188.112863234695,
200.42180201924688,
199.85410025991763,
199.2865755491632,
198.71922788698336,
198.15205727337846,
197.58506370834826,
197.0182471918929,
196.45160772401238,
195.88514530470653,
195.31885993397555,
194.75275161181926,
194.18682033823788,
193.6210661132313,
193.0554889367994,
186.5296804713874,
179.78672506484259,
179.30746063233076
]
},
{
"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.0000338019141,
150.00002854919816,
150.00002365284732,
150.00001811422024,
150.00001117237312,
150.0000045344861,
149.99999819441666,
149.99999214588783,
149.99998638248383,
149.99998089764543,
150.00002831367854,
150.00001781053373,
149.99999816988495,
149.9999734189435,
149.99993265347632,
149.9998778859313,
149.99980725501467,
149.999726366898,
149.9997230220829,
150.00001282133266,
149.99998528581023,
149.99964924609415,
150.00004802477534,
150.0000398419289,
150.00003170000747,
150.00002400754502,
150.00001485878875,
150.0000015777277,
149.99998883242637,
149.99997660718253,
149.9999645761627,
150.00003763930494,
149.34857368227023,
149.9762756351254,
149.97617897286992,
149.97600628278516,
149.97589322945254,
149.97548349210052,
149.32468372458436,
149.95482316318416,
149.95401786720552,
149.95345699617306
]
}
],
"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.68696464926774,
209.73175448735287,
208.77179581635767,
207.80698417105538,
206.83720028692454,
205.86231944732828,
204.88221110806046,
203.8976607151603,
202.9102261656038,
201.92968660340085,
200.93411015191973,
199.93815176605625,
204.31125111785505,
203.59352204258607,
202.8871789263427,
202.24151404141514,
201.5963302569269,
200.9439347551737,
200.3623363691646,
199.76565008857736,
199.1551026395078,
198.53705776041667,
197.9328092774229,
197.32591946155375,
196.6796975471199,
195.9699781883314,
195.21764022675515,
194.49511036135442,
193.7893361783771,
193.08625736134792,
192.38164891474545,
191.67669266989455,
190.97201943371408,
190.26730539016532,
189.57174811411295,
188.84589647644216,
188.14140662044122,
187.43688760977284,
186.7555521292484,
186.07386250345598,
185.38835636875223,
184.77021558973186,
184.09556770012114,
183.47641586502576,
182.85072538403173,
182.21391969103874,
181.5887422440694,
180.91742857188868,
180.1844000696011,
179.47510727744037,
178.72316423047295,
177.96372655070206,
177.21251564556675,
176.50081663846692,
175.79158456977683,
175.07304205065373,
189.99931993077647,
189.99924306516755,
189.9991575454111,
189.99905898581602,
189.9989466895641,
189.99874008121085,
168.48240912863983,
167.7125853128067,
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.99984832162443,
159.9998425766759,
159.99983840504456,
159.9998360592944,
159.999827855707,
159.9998211479205,
189.99867228663805,
189.9986205271446,
189.9997637568807,
189.9997505044808,
189.99973666859265,
189.99971972943248,
189.9997042229619,
189.99968770076478,
189.99967012429158,
189.99965182369422,
189.99963245611565,
189.99961228818418,
189.99961515271025,
159.99961665192225,
159.99959884580156,
159.9995925490132,
159.99957765695117,
159.99956226470778,
159.99955541925573,
159.99954075811053,
159.99952525609422,
159.999508855692,
159.99948647607295,
159.99945534244927,
159.99943614756302,
159.9994030979898,
159.9993762072245,
159.9993481759561,
159.99932047152836,
159.9992915906244,
159.99926208211087,
159.99923082382287,
159.99919850113946,
159.99916469064175,
159.9991293152748,
159.9990922936134,
159.99905050704413,
159.99900751530785,
159.99896461017315,
159.99892126801657,
159.99889587872116,
159.99885854989523,
159.9987831798744,
159.99873964473184,
159.99869855823164,
159.99864551655386,
159.99858835421935,
159.99850920153722,
159.99841721649722,
159.99834008102673,
159.9996905815643,
159.9996757860985,
159.99966052601488,
159.99964446309406,
159.9996284369721,
159.99960511050904,
159.99958306145308,
189.9992478694595,
189.99918769485907,
189.99886019835986,
189.99877636513804,
189.99894753969153,
189.998869854169,
159.99933720080415,
159.9992998350353,
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.79392182971606,
247.72064381259776,
270.55546511077347,
283.9764867143283,
338.2232884144424,
337.413737400071,
336.60239341145785,
335.7853236408249,
334.96427473868937,
334.13915600692206,
333.3098715833586,
332.0880779208158,
330.34987667807843,
328.61167543534094,
326.8734741926035,
325.13527294986613,
323.39707170712876,
276.3083563165652,
275.30700605132233,
263.07923830232556,
262.21227630048384,
261.3453142986421,
248.61265286948182,
247.8725098187614,
247.1140888865594,
246.33739007287605,
245.56069125919277,
248.4328325939763,
255.6299480632983,
265.559297525696,
271.42359528316837,
263.4965173512903,
262.49516708604705,
260.6663858122879,
259.6759362225554,
258.6854866328233,
257.69503704309125,
256.7045874533588,
255.71413786362672,
255.5277098749586,
253.7262670391857,
252.73581744945363,
245.52874663691995,
244.5998720339323,
240.55311030098636,
230.58271936098666,
238.8130941600907,
228.52136004844112,
226.45816776378638,
225.6631910686214,
224.86821437345645,
234.5572859959836,
242.5999093124225,
242.32121086139801,
247.4185398141339,
246.3220776047429,
245.2256153953523,
238.51235941119936,
237.13061959042653,
236.1292693251837,
235.82624855171335,
267.40349217303816,
265.75081264328725,
266.3905807369781,
264.6523794942407,
260.6860213136143,
259.03334178386285,
231.40606463369025,
229.56569462858585,
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.75043456134438,
220.12028031320102,
219.51161189309724,
218.9361589128922,
218.47151616769088,
217.87202528226246,
211.6375500370386,
210.68696473392498,
209.73175457842413,
208.77179591484224,
207.80698427832274,
206.83720040477294,
205.86231957805032,
204.8822112540418,
203.8976608603311,
202.9102263107292,
201.92968674698662,
200.93411029544927,
198.29283474330595,
204.29832672041215,
203.58022083056335,
202.87641798637077,
202.23076235888894,
201.58558156869248,
200.93540787299665,
200.3538157629149,
199.7571342670502,
199.14659388939572,
198.528461205762,
197.92364324420174,
197.31521701117254,
196.666822527803,
195.95564561394826,
195.2047682384266,
194.48206139694747,
193.77646168302715,
193.0735490121909,
192.36894219833425,
191.6639871284919,
190.9593156646096,
190.25460347384063,
189.55893114871236,
188.8331826855202,
188.12869478942417,
187.42550668367937,
186.74417332282707,
186.06315574337418,
185.3793401952044,
184.75949602397307,
184.13468509855423,
183.4686303689479,
182.84294206928692,
182.2066282971991,
181.5787100483705,
180.90573883338774,
180.17255382079577,
179.46192354269348,
178.70999807378954,
177.95034534968812,
177.20058139337192,
176.48896763224144,
175.77973900790636,
175.06083284469457,
189.97480298539693,
189.9747262513389,
189.97417891170323,
189.9740805272179,
189.97443039145028,
189.9743518442649,
168.48240912863983,
167.7125853128067,
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": "18d12385",
"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": "4bb456ff",
"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": "d2b29473",
"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": "92596e2c",
"metadata": {},
"source": [
"## reserve_cap.py"
]
},
{
"cell_type": "code",
"execution_count": 16,
"id": "73ae0f7c",
"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.12.11"
},
"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
}