{ "cells": [ { "cell_type": "markdown", "id": "b4907042", "metadata": {}, "source": [ "(changing-time-res-example)=\n", "# Changing time resolution\n", "It is usually not possible to change the time resolution (start time, end time, time unit, and time step length) of the optimization after it has been specified in SHOP. However, this is now possible with the online SHOP functionality. This example will show how the time resolution can be changed between iterations in SHOP, and how SHOP handles the resampling of time series data.\n", "\n", "The `SHOP_ONLINE_OPTIMIZATION` license in the \"Online Optimization Capabilities\" license group is required to change the time resolution after it has been set the first time in SHOP. The following [YAML](yaml-standard) model will be used as a base for the rest of the example:\n", "\n", "- [](model.yaml)" ] }, { "cell_type": "code", "execution_count": 1, "id": "1ee615ee", "metadata": {}, "outputs": [], "source": [ "from pyshop import ShopSession\n", "import pandas as pd\n", "import plotly.graph_objects as go\n", "pd.options.plotting.backend = \"plotly\"" ] }, { "cell_type": "markdown", "id": "8dbcddec", "metadata": {}, "source": [ "The original time resolution has a horizon of three days with hourly time resolution:" ] }, { "cell_type": "code", "execution_count": 2, "id": "79eb14bf", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Start time: 2018-01-23 00:00:00\n", "End time: 2018-01-26 00:00:00\n", "Time unit: hour\n", "Step sizes: [1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.\n", " 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.\n", " 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.\n", " 1.]\n" ] } ], "source": [ "shop = ShopSession()\n", "shop.load_yaml(\"model.yaml\")\n", "time_res_orig = shop.get_time_resolution()\n", "\n", "start_orig = time_res_orig[\"starttime\"]\n", "end_orig = time_res_orig[\"endtime\"]\n", "unit_orig = time_res_orig[\"timeunit\"]\n", "step_size_orig = time_res_orig[\"timeresolution\"]\n", "\n", "print(f\"Start time: {start_orig}\")\n", "print(f\"End time: {end_orig}\")\n", "print(f\"Time unit: {unit_orig}\")\n", "print(f\"Step sizes: {step_size_orig.values}\")" ] }, { "cell_type": "markdown", "id": "bffa2853", "metadata": {}, "source": [ "First, a single iteration with this hourly time resolution is performed, and the [reservoir volume](reservoir:storage) for Reservoir2 is retrieved:" ] }, { "cell_type": "code", "execution_count": 3, "id": "bd61cbb4", "metadata": {}, "outputs": [], "source": [ "shop.start_sim([],3)\n", "\n", "rsv = shop.model.reservoir[\"Reservoir2\"]\n", "storage_orig = rsv.storage.get()" ] }, { "cell_type": "markdown", "id": "0ad39ac2", "metadata": {}, "source": [ "Now, the start and end times of the optimization are shifted 24 hours forward in time, and the step size is changed to be 15 minutes. Note that it is required to set the command [activate online_optimization /on](activate_online_optimization) before changing the time resolution in an existing model:" ] }, { "cell_type": "code", "execution_count": 4, "id": "cb80b6cd", "metadata": {}, "outputs": [], "source": [ "start_new = start_orig + pd.Timedelta(hours = 24)\n", "end_new = end_orig + pd.Timedelta(hours = 24)\n", "\n", "shop.activate_online_optimization(\"on\", [])\n", "shop.set_time_resolution(start_new, end_new, \"minute\", pd.Series([15], index=[start_new]))\n", "\n", "storage_resampled = rsv.storage.get()" ] }, { "cell_type": "markdown", "id": "c0779acf", "metadata": {}, "source": [ "After resetting the time resolution, all existing time series have automatically been resampled. The original and resampled reservoir trajectories are plotted in the figure below:" ] }, { "cell_type": "code", "execution_count": 5, "id": "dac0e8c6", "metadata": {}, "outputs": [ { "data": { "text/html": [ " \n", " " ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "application/vnd.plotly.v1+json": { "config": { "plotlyServerURL": "https://plot.ly" }, "data": [ { "line": { "dash": "dash" }, "name": "new start time", "type": "scatter", "x": [ "2018-01-24T00:00:00", "2018-01-24T00:00:00" ], "y": [ 0.0, 73.96551724137932 ] }, { "line": { "dash": "dash" }, "name": "original end time", "type": "scatter", "x": [ "2018-01-26T00:00:00", "2018-01-26T00:00:00" ], "y": [ 0.0, 73.96551724137932 ] }, { "name": "Original volume", "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", "2018-01-26T00:00:00" ], "y": [ 67.24137931034483, 66.51700664278869, 66.17178391334205, 65.91743262445749, 65.67751712410038, 65.32251313529339, 64.59668240335948, 63.506261422770365, 62.404803627858044, 61.29460453450323, 60.172016988382474, 59.03956835657436, 57.89681257200535, 56.74286657208925, 55.585396982700466, 54.42967931061666, 53.26479731796209, 52.06765331796209, 50.85378967228867, 49.69347230412184, 48.86953490438761, 48.04272294678612, 47.27067277927254, 46.303837557635454, 45.3766236170041, 44.79245587965866, 44.02318232678097, 43.35985696380659, 42.69573002493699, 41.93145149573032, 41.3414943235781, 40.373917566687275, 39.49244418498461, 38.602872184984626, 37.71330018498463, 36.871404184984634, 35.84436018498463, 34.817316184984634, 33.78139218498463, 32.74546818498463, 31.709544184984633, 30.673620184984635, 29.646576184984635, 28.610652184984634, 27.640164184984634, 26.669676184984638, 25.699188184984642, 24.543552184984645, 23.76029893111115, 22.96359375772779, 22.179197244617534, 21.49881664476881, 20.815736639487422, 20.139712467166593, 19.340229392833105, 18.18459339283311, 17.092113392833106, 15.999633392833106, 14.907153392833107, 13.814673392833107, 12.713313392833108, 11.611953392833106, 10.510593392833105, 9.409233392833102, 8.307873392833102, 7.387653392833102, 6.4415253928331015, 5.486517392833101, 4.563816, 3.4495679999999997, 2.33532, 1.23396, 0.0 ] }, { "line": { "dash": "dash" }, "name": "Resampled volume", "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-24T00:15:00", "2018-01-24T00:30:00", "2018-01-24T00:45:00", "2018-01-24T01:00:00", "2018-01-24T01:15:00", "2018-01-24T01:30:00", "2018-01-24T01:45:00", "2018-01-24T02:00:00", "2018-01-24T02:15:00", "2018-01-24T02:30:00", "2018-01-24T02:45:00", "2018-01-24T03:00:00", "2018-01-24T03:15:00", "2018-01-24T03:30:00", "2018-01-24T03:45:00", "2018-01-24T04:00:00", "2018-01-24T04:15:00", "2018-01-24T04:30:00", "2018-01-24T04:45:00", "2018-01-24T05:00:00", "2018-01-24T05:15:00", "2018-01-24T05:30:00", "2018-01-24T05:45:00", "2018-01-24T06:00:00", "2018-01-24T06:15:00", "2018-01-24T06:30:00", "2018-01-24T06:45:00", "2018-01-24T07:00:00", "2018-01-24T07:15:00", "2018-01-24T07:30:00", "2018-01-24T07:45:00", "2018-01-24T08:00:00", "2018-01-24T08:15:00", "2018-01-24T08:30:00", "2018-01-24T08:45:00", "2018-01-24T09:00:00", "2018-01-24T09:15:00", "2018-01-24T09:30:00", "2018-01-24T09:45:00", "2018-01-24T10:00:00", "2018-01-24T10:15:00", "2018-01-24T10:30:00", "2018-01-24T10:45:00", "2018-01-24T11:00:00", "2018-01-24T11:15:00", "2018-01-24T11:30:00", "2018-01-24T11:45:00", "2018-01-24T12:00:00", "2018-01-24T12:15:00", "2018-01-24T12:30:00", "2018-01-24T12:45:00", "2018-01-24T13:00:00", "2018-01-24T13:15:00", "2018-01-24T13:30:00", "2018-01-24T13:45:00", "2018-01-24T14:00:00", "2018-01-24T14:15:00", "2018-01-24T14:30:00", "2018-01-24T14:45:00", "2018-01-24T15:00:00", "2018-01-24T15:15:00", "2018-01-24T15:30:00", "2018-01-24T15:45:00", "2018-01-24T16:00:00", "2018-01-24T16:15:00", "2018-01-24T16:30:00", "2018-01-24T16:45:00", "2018-01-24T17:00:00", "2018-01-24T17:15:00", "2018-01-24T17:30:00", "2018-01-24T17:45:00", "2018-01-24T18:00:00", "2018-01-24T18:15:00", "2018-01-24T18:30:00", "2018-01-24T18:45:00", "2018-01-24T19:00:00", "2018-01-24T19:15:00", "2018-01-24T19:30:00", "2018-01-24T19:45:00", "2018-01-24T20:00:00", "2018-01-24T20:15:00", "2018-01-24T20:30:00", "2018-01-24T20:45:00", "2018-01-24T21:00:00", "2018-01-24T21:15:00", "2018-01-24T21:30:00", "2018-01-24T21:45:00", "2018-01-24T22:00:00", "2018-01-24T22:15:00", "2018-01-24T22:30:00", "2018-01-24T22:45:00", "2018-01-24T23:00:00", "2018-01-24T23:15:00", "2018-01-24T23:30:00", "2018-01-24T23:45:00", "2018-01-25T00:00:00", "2018-01-25T00:15:00", "2018-01-25T00:30:00", "2018-01-25T00:45:00", "2018-01-25T01:00:00", "2018-01-25T01:15:00", "2018-01-25T01:30:00", "2018-01-25T01:45:00", "2018-01-25T02:00:00", "2018-01-25T02:15:00", "2018-01-25T02:30:00", "2018-01-25T02:45:00", "2018-01-25T03:00:00", "2018-01-25T03:15:00", "2018-01-25T03:30:00", "2018-01-25T03:45:00", "2018-01-25T04:00:00", "2018-01-25T04:15:00", "2018-01-25T04:30:00", "2018-01-25T04:45:00", "2018-01-25T05:00:00", "2018-01-25T05:15:00", "2018-01-25T05:30:00", "2018-01-25T05:45:00", "2018-01-25T06:00:00", "2018-01-25T06:15:00", "2018-01-25T06:30:00", "2018-01-25T06:45:00", "2018-01-25T07:00:00", "2018-01-25T07:15:00", "2018-01-25T07:30:00", "2018-01-25T07:45:00", "2018-01-25T08:00:00", "2018-01-25T08:15:00", "2018-01-25T08:30:00", "2018-01-25T08:45:00", "2018-01-25T09:00:00", "2018-01-25T09:15:00", "2018-01-25T09:30:00", "2018-01-25T09:45:00", "2018-01-25T10:00:00", "2018-01-25T10:15:00", "2018-01-25T10:30:00", "2018-01-25T10:45:00", "2018-01-25T11:00:00", "2018-01-25T11:15:00", "2018-01-25T11:30:00", "2018-01-25T11:45:00", "2018-01-25T12:00:00", "2018-01-25T12:15:00", "2018-01-25T12:30:00", "2018-01-25T12:45:00", "2018-01-25T13:00:00", "2018-01-25T13:15:00", "2018-01-25T13:30:00", "2018-01-25T13:45:00", "2018-01-25T14:00:00", "2018-01-25T14:15:00", "2018-01-25T14:30:00", "2018-01-25T14:45:00", "2018-01-25T15:00:00", "2018-01-25T15:15:00", "2018-01-25T15:30:00", "2018-01-25T15:45:00", "2018-01-25T16:00:00", "2018-01-25T16:15:00", "2018-01-25T16:30:00", "2018-01-25T16:45:00", "2018-01-25T17:00:00", "2018-01-25T17:15:00", "2018-01-25T17:30:00", "2018-01-25T17:45:00", "2018-01-25T18:00:00", "2018-01-25T18:15:00", "2018-01-25T18:30:00", "2018-01-25T18:45:00", "2018-01-25T19:00:00", "2018-01-25T19:15:00", "2018-01-25T19:30:00", "2018-01-25T19:45:00", "2018-01-25T20:00:00", "2018-01-25T20:15:00", "2018-01-25T20:30:00", "2018-01-25T20:45:00", "2018-01-25T21:00:00", "2018-01-25T21:15:00", "2018-01-25T21:30:00", "2018-01-25T21:45:00", "2018-01-25T22:00:00", "2018-01-25T22:15:00", "2018-01-25T22:30:00", "2018-01-25T22:45:00", "2018-01-25T23:00:00", "2018-01-25T23:15:00", "2018-01-25T23:30:00", "2018-01-25T23:45:00", "2018-01-26T00:00:00", "2018-01-26T00:15:00", "2018-01-26T00:30:00", "2018-01-26T00:45:00", "2018-01-26T01:00:00", "2018-01-26T01:15:00", "2018-01-26T01:30:00", "2018-01-26T01:45:00", "2018-01-26T02:00:00", "2018-01-26T02:15:00", "2018-01-26T02:30:00", "2018-01-26T02:45:00", "2018-01-26T03:00:00", "2018-01-26T03:15:00", "2018-01-26T03:30:00", "2018-01-26T03:45:00", "2018-01-26T04:00:00", "2018-01-26T04:15:00", "2018-01-26T04:30:00", "2018-01-26T04:45:00", "2018-01-26T05:00:00", "2018-01-26T05:15:00", "2018-01-26T05:30:00", "2018-01-26T05:45:00", "2018-01-26T06:00:00", "2018-01-26T06:15:00", "2018-01-26T06:30:00", "2018-01-26T06:45:00", "2018-01-26T07:00:00", "2018-01-26T07:15:00", "2018-01-26T07:30:00", "2018-01-26T07:45:00", "2018-01-26T08:00:00", "2018-01-26T08:15:00", "2018-01-26T08:30:00", "2018-01-26T08:45:00", "2018-01-26T09:00:00", "2018-01-26T09:15:00", "2018-01-26T09:30:00", "2018-01-26T09:45:00", "2018-01-26T10:00:00", "2018-01-26T10:15:00", "2018-01-26T10:30:00", "2018-01-26T10:45:00", "2018-01-26T11:00:00", "2018-01-26T11:15:00", "2018-01-26T11:30:00", "2018-01-26T11:45:00", "2018-01-26T12:00:00", "2018-01-26T12:15:00", "2018-01-26T12:30:00", "2018-01-26T12:45:00", "2018-01-26T13:00:00", "2018-01-26T13:15:00", "2018-01-26T13:30:00", "2018-01-26T13:45:00", "2018-01-26T14:00:00", "2018-01-26T14:15:00", "2018-01-26T14:30:00", "2018-01-26T14:45:00", "2018-01-26T15:00:00", "2018-01-26T15:15:00", "2018-01-26T15:30:00", "2018-01-26T15:45:00", "2018-01-26T16:00:00", "2018-01-26T16:15:00", "2018-01-26T16:30:00", "2018-01-26T16:45:00", "2018-01-26T17:00:00", "2018-01-26T17:15:00", "2018-01-26T17:30:00", "2018-01-26T17:45:00", "2018-01-26T18:00:00", "2018-01-26T18:15:00", "2018-01-26T18:30:00", "2018-01-26T18:45:00", "2018-01-26T19:00:00", "2018-01-26T19:15:00", "2018-01-26T19:30:00", "2018-01-26T19:45:00", "2018-01-26T20:00:00", "2018-01-26T20:15:00", "2018-01-26T20:30:00", "2018-01-26T20:45:00", "2018-01-26T21:00:00", "2018-01-26T21:15:00", "2018-01-26T21:30:00", "2018-01-26T21:45:00", "2018-01-26T22:00:00", "2018-01-26T22:15:00", "2018-01-26T22:30:00", "2018-01-26T22:45:00", "2018-01-26T23:00:00", "2018-01-26T23:15:00", "2018-01-26T23:30:00", "2018-01-26T23:45:00", "2018-01-27T00:00:00" ], "y": [ 67.24137931034483, 66.51700664278869, 66.17178391334205, 65.91743262445749, 65.67751712410038, 65.32251313529339, 64.59668240335948, 63.506261422770365, 62.404803627858044, 61.29460453450323, 60.172016988382474, 59.03956835657436, 57.89681257200535, 56.74286657208925, 55.585396982700466, 54.42967931061666, 53.26479731796209, 52.06765331796209, 50.85378967228867, 49.69347230412184, 48.86953490438761, 48.04272294678612, 47.27067277927254, 46.303837557635454, 45.3766236170041, 45.3766236170041, 45.3766236170041, 45.3766236170041, 44.79245587965866, 44.79245587965866, 44.79245587965866, 44.79245587965866, 44.02318232678097, 44.02318232678097, 44.02318232678097, 44.02318232678097, 43.35985696380659, 43.35985696380659, 43.35985696380659, 43.35985696380659, 42.69573002493699, 42.69573002493699, 42.69573002493699, 42.69573002493699, 41.93145149573032, 41.93145149573032, 41.93145149573032, 41.93145149573032, 41.3414943235781, 41.3414943235781, 41.3414943235781, 41.3414943235781, 40.373917566687275, 40.373917566687275, 40.373917566687275, 40.373917566687275, 39.49244418498461, 39.49244418498461, 39.49244418498461, 39.49244418498461, 38.602872184984626, 38.602872184984626, 38.602872184984626, 38.602872184984626, 37.71330018498463, 37.71330018498463, 37.71330018498463, 37.71330018498463, 36.871404184984634, 36.871404184984634, 36.871404184984634, 36.871404184984634, 35.84436018498463, 35.84436018498463, 35.84436018498463, 35.84436018498463, 34.817316184984634, 34.817316184984634, 34.817316184984634, 34.817316184984634, 33.78139218498463, 33.78139218498463, 33.78139218498463, 33.78139218498463, 32.74546818498463, 32.74546818498463, 32.74546818498463, 32.74546818498463, 31.709544184984633, 31.709544184984633, 31.709544184984633, 31.709544184984633, 30.673620184984635, 30.673620184984635, 30.673620184984635, 30.673620184984635, 29.646576184984635, 29.646576184984635, 29.646576184984635, 29.646576184984635, 28.610652184984634, 28.610652184984634, 28.610652184984634, 28.610652184984634, 27.640164184984634, 27.640164184984634, 27.640164184984634, 27.640164184984634, 26.669676184984638, 26.669676184984638, 26.669676184984638, 26.669676184984638, 25.699188184984642, 25.699188184984642, 25.699188184984642, 25.699188184984642, 24.543552184984645, 24.543552184984645, 24.543552184984645, 24.543552184984645, 23.76029893111115, 23.76029893111115, 23.76029893111115, 23.76029893111115, 22.96359375772779, 22.96359375772779, 22.96359375772779, 22.96359375772779, 22.179197244617534, 22.179197244617534, 22.179197244617534, 22.179197244617534, 21.49881664476881, 21.49881664476881, 21.49881664476881, 21.49881664476881, 20.815736639487422, 20.815736639487422, 20.815736639487422, 20.815736639487422, 20.139712467166593, 20.139712467166593, 20.139712467166593, 20.139712467166593, 19.340229392833105, 19.340229392833105, 19.340229392833105, 19.340229392833105, 18.18459339283311, 18.18459339283311, 18.18459339283311, 18.18459339283311, 17.092113392833106, 17.092113392833106, 17.092113392833106, 17.092113392833106, 15.999633392833106, 15.999633392833106, 15.999633392833106, 15.999633392833106, 14.907153392833107, 14.907153392833107, 14.907153392833107, 14.907153392833107, 13.814673392833107, 13.814673392833107, 13.814673392833107, 13.814673392833107, 12.713313392833108, 12.713313392833108, 12.713313392833108, 12.713313392833108, 11.611953392833106, 11.611953392833106, 11.611953392833106, 11.611953392833106, 10.510593392833105, 10.510593392833105, 10.510593392833105, 10.510593392833105, 9.409233392833102, 9.409233392833102, 9.409233392833102, 9.409233392833102, 8.307873392833102, 8.307873392833102, 8.307873392833102, 8.307873392833102, 7.387653392833102, 7.387653392833102, 7.387653392833102, 7.387653392833102, 6.4415253928331015, 6.4415253928331015, 6.4415253928331015, 6.4415253928331015, 5.486517392833101, 5.486517392833101, 5.486517392833101, 5.486517392833101, 4.563816, 4.563816, 4.563816, 4.563816, 3.4495679999999997, 3.4495679999999997, 3.4495679999999997, 3.4495679999999997, 2.33532, 2.33532, 2.33532, 2.33532, 1.23396, 1.23396, 1.23396, 1.23396, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] } ], "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": "Reservoir volume before and after changing time resolution" }, "xaxis": { "title": { "text": "Time" } }, "yaxis": { "title": { "text": "Volume [Mm3]" } } } }, "text/html": [ "