time:
  starttime: 2018-01-23 00:00:00
  endtime: 2018-01-26 00:00:00
  timeunit: hour
  timeresolution:
    2018-01-23 00:00:00: 1
model:
  global_settings:
    global_settings:
      mipgap_rel: 0
      mipgap_abs: 0
  reservoir:
    Reservoir1:
      max_vol: 39
      lrl: 860
      hrl: 905
      vol_level:
        ref: 0
        x:
          - 0
          - 39
          - 41.66
        y:
          - 860
          - 906
          - 907
      start_level: 900
      energy_value_input: 30
    Reservoir2:
      max_vol: 97.5
      lrl: 650
      hrl: 679
      vol_level:
        ref: 0
        x:
          - 0
          - 97.5
          - 104.15
        y:
          - 650
          - 679
          - 680
      start_level: 670
      inflow:
        2018-01-23 00:00:00: 60
      energy_value_input: 10
  plant:
    Plant1:
      outlet_line: 672
      main_loss:
        - 0
      penstock_loss:
        - 0.001
      mip_flag:
        2018-01-23 00:00:00: 1
    Plant2:
      outlet_line: 586
      main_loss:
        - 0
      penstock_loss:
        - 0.0001
        - 0.0002
      mip_flag:
        2018-01-23 00:00:00: 1
  generator:
    Plant1_G1:
      penstock: 1
      p_min: 60
      p_max: 120
      p_nom: 120
      gen_eff_curve:
        ref: 0
        x:
          - 60
          - 120
        y:
          - 100
          - 100
      turb_eff_curves:
        - ref: 170
          x:
            - 28.12
            - 30.45
            - 32.78
            - 35.11
            - 37.45
            - 39.78
            - 42.11
            - 44.44
            - 46.77
            - 49.1
            - 51.43
            - 53.76
            - 56.1
            - 58.83
          y:
            - 85.8733
            - 87.0319
            - 88.0879
            - 89.0544
            - 89.9446
            - 90.7717
            - 91.5488
            - 92.2643
            - 92.8213
            - 93.109
            - 93.217
            - 93.039
            - 92.657
            - 92.1746
        - ref: 200
          x:
            - 28.12
            - 30.45
            - 32.78
            - 35.11
            - 37.45
            - 39.78
            - 42.11
            - 44.44
            - 46.77
            - 49.1
            - 51.43
            - 53.76
            - 56.1
            - 58.83
          y:
            - 86.7321
            - 87.9022
            - 88.9688
            - 89.945
            - 90.8441
            - 91.6794
            - 92.4643
            - 93.187
            - 93.7495
            - 94.0401
            - 94.1492
            - 93.9694
            - 93.5836
            - 93.0964
        - ref: 230
          x:
            - 28.12
            - 30.45
            - 32.78
            - 35.11
            - 37.45
            - 39.78
            - 42.11
            - 44.44
            - 46.77
            - 49.1
            - 51.43
            - 53.76
            - 56.1
            - 58.83
          y:
            - 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
      startcost:
        2018-01-23 00:00:00: 300
      fcr_n_up_min:
        2018-01-23 00:00:00: 1
      fcr_n_down_min:
        2018-01-23 00:00:00: 1
    Plant1_G2:
      penstock: 1
      p_min: 60
      p_max: 120
      p_nom: 120
      gen_eff_curve:
        ref: 0
        x:
          - 60
          - 120
        y:
          - 100
          - 100
      turb_eff_curves:
        - ref: 170
          x:
            - 28.12
            - 30.45
            - 32.78
            - 35.11
            - 37.45
            - 39.78
            - 42.11
            - 44.44
            - 46.77
            - 49.1
            - 51.43
            - 53.76
            - 56.1
            - 58.83
          y:
            - 85.8733
            - 87.0319
            - 88.0879
            - 89.0544
            - 89.9446
            - 90.7717
            - 91.5488
            - 92.2643
            - 92.8213
            - 93.109
            - 93.217
            - 93.039
            - 92.657
            - 92.1746
        - ref: 200
          x:
            - 28.12
            - 30.45
            - 32.78
            - 35.11
            - 37.45
            - 39.78
            - 42.11
            - 44.44
            - 46.77
            - 49.1
            - 51.43
            - 53.76
            - 56.1
            - 58.83
          y:
            - 86.7321
            - 87.9022
            - 88.9688
            - 89.945
            - 90.8441
            - 91.6794
            - 92.4643
            - 93.187
            - 93.7495
            - 94.0401
            - 94.1492
            - 93.9694
            - 93.5836
            - 93.0964
        - ref: 230
          x:
            - 28.12
            - 30.45
            - 32.78
            - 35.11
            - 37.45
            - 39.78
            - 42.11
            - 44.44
            - 46.77
            - 49.1
            - 51.43
            - 53.76
            - 56.1
            - 58.83
          y:
            - 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
      startcost:
        2018-01-23 00:00:00: 300
      fcr_n_up_min:
        2018-01-23 00:00:00: 1
      fcr_n_down_min:
        2018-01-23 00:00:00: 1
    Plant2_G1:
      penstock: 1
      p_min: 100
      p_max: 180
      p_nom: 180
      gen_eff_curve:
        ref: 0
        x:
          - 100
          - 180
        y:
          - 100
          - 100
      turb_eff_curves:
        - ref: 60
          x:
            - 126.54
            - 137.03
            - 147.51
            - 158
            - 168.53
            - 179.01
            - 189.5
            - 199.98
            - 210.47
            - 220.95
            - 231.44
            - 241.92
            - 252.45
            - 264.74
          y:
            - 92.7201
            - 93.2583
            - 93.7305
            - 94.1368
            - 94.4785
            - 94.7525
            - 94.9606
            - 95.1028
            - 95.179
            - 95.1892
            - 95.1335
            - 95.0118
            - 94.8232
            - 94.5191
      startcost:
        2018-01-23 00:00:00: 300
      frr_up_min:
        2018-01-23 00:00:00: 1
      fcr_n_up_min:
        2018-01-23 00:00:00: 1
      fcr_n_down_min:
        2018-01-23 00:00:00: 1
    Plant2_G2:
      penstock: 2
      p_min: 30
      p_max: 55
      p_nom: 55
      gen_eff_curve:
        ref: 0
        x:
          - 30
          - 55
        y:
          - 100
          - 100
      turb_eff_curves:
        - ref: 60
          x:
            - 40.82
            - 44.2
            - 47.58
            - 50.97
            - 54.36
            - 57.75
            - 61.13
            - 64.51
            - 67.89
            - 71.27
            - 74.66
            - 78.04
            - 81.44
            - 85.4
          y:
            - 83.87
            - 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
      startcost:
        2018-01-23 00:00:00: 300
      frr_up_min:
        2018-01-23 00:00:00: 1
      fcr_n_up_min:
        2018-01-23 00:00:00: 1
      fcr_n_down_min:
        2018-01-23 00:00:00: 1
    Plant2_G3:
      penstock: 2
      p_min: 30
      p_max: 55
      p_nom: 55
      gen_eff_curve:
        ref: 0
        x:
          - 30
          - 55
        y:
          - 100
          - 100
      turb_eff_curves:
        - ref: 60
          x:
            - 40.82
            - 44.2
            - 47.58
            - 50.97
            - 54.36
            - 57.75
            - 61.13
            - 64.51
            - 67.89
            - 71.27
            - 74.66
            - 78.04
            - 81.44
            - 85.4
          y:
            - 83.87
            - 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
      startcost:
        2018-01-23 00:00:00: 300
      frr_up_min:
        2018-01-23 00:00:00: 1
      fcr_n_up_min:
        2018-01-23 00:00:00: 1
      fcr_n_down_min:
        2018-01-23 00:00:00: 1
    Plant2_G4:
      penstock: 2
      p_min: 30
      p_max: 55
      p_nom: 55
      gen_eff_curve:
        ref: 0
        x:
          - 30
          - 55
        y:
          - 100
          - 100
      turb_eff_curves:
        - ref: 60
          x:
            - 40.82
            - 44.2
            - 47.58
            - 50.97
            - 54.36
            - 57.75
            - 61.13
            - 64.51
            - 67.89
            - 71.27
            - 74.66
            - 78.04
            - 81.44
            - 85.4
          y:
            - 83.87
            - 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
      startcost:
        2018-01-23 00:00:00: 300
      frr_up_min:
        2018-01-23 00:00:00: 1
      fcr_n_up_min:
        2018-01-23 00:00:00: 1
      fcr_n_down_min:
        2018-01-23 00:00:00: 1
  market:
    Day_ahead:
      max_buy:
        2018-01-23 00:00:00: 9999
      max_sale:
        2018-01-23 00:00:00: 9999
      buy_price:
        2018-01-23 00:00:00: 32.994
        2018-01-23 01:00:00: 31.124
        2018-01-23 02:00:00: 29.314
        2018-01-23 03:00:00: 28.074
        2018-01-23 04:00:00: 30.014
        2018-01-23 05:00:00: 33.364
        2018-01-23 06:00:00: 42.684
        2018-01-23 07:00:00: 74.824
        2018-01-23 08:00:00: 77.734
        2018-01-23 09:00:00: 62.334
        2018-01-23 10:00:00: 55.894
        2018-01-23 11:00:00: 46.964
        2018-01-23 12:00:00: 42.584
        2018-01-23 13:00:00: 40.944
        2018-01-23 14:00:00: 39.214
        2018-01-23 15:00:00: 39.144
        2018-01-23 16:00:00: 41.674
        2018-01-23 17:00:00: 46.924
        2018-01-23 18:00:00: 37.104
        2018-01-23 19:00:00: 32.994
        2018-01-23 20:00:00: 31.274
        2018-01-23 21:00:00: 29.754
        2018-01-23 22:00:00: 28.784
        2018-01-23 23:00:00: 28.084
        2018-01-24 00:00:00: 27.244
        2018-01-24 01:00:00: 26.624
        2018-01-24 02:00:00: 25.734
        2018-01-24 03:00:00: 25.394
        2018-01-24 04:00:00: 25.994
        2018-01-24 05:00:00: 27.404
        2018-01-24 06:00:00: 28.944
        2018-01-24 07:00:00: 32.184
        2018-01-24 08:00:00: 33.084
        2018-01-24 09:00:00: 32.344
        2018-01-24 10:00:00: 30.914
        2018-01-24 11:00:00: 30.164
        2018-01-24 12:00:00: 30.064
        2018-01-24 13:00:00: 29.564
        2018-01-24 14:00:00: 29.464
        2018-01-24 15:00:00: 29.514
        2018-01-24 16:00:00: 29.674
        2018-01-24 17:00:00: 30.074
        2018-01-24 18:00:00: 29.554
        2018-01-24 19:00:00: 28.864
        2018-01-24 20:00:00: 28.414
        2018-01-24 21:00:00: 28.074
        2018-01-24 22:00:00: 27.164
        2018-01-24 23:00:00: 25.504
        2018-01-25 00:00:00: 26.194
        2018-01-25 01:00:00: 25.224
        2018-01-25 02:00:00: 24.054
        2018-01-25 03:00:00: 23.894
        2018-01-25 04:00:00: 23.684
        2018-01-25 05:00:00: 26.094
        2018-01-25 06:00:00: 28.204
        2018-01-25 07:00:00: 30.904
        2018-01-25 08:00:00: 31.574
        2018-01-25 09:00:00: 31.464
        2018-01-25 10:00:00: 31.174
        2018-01-25 11:00:00: 30.914
        2018-01-25 12:00:00: 30.574
        2018-01-25 13:00:00: 30.604
        2018-01-25 14:00:00: 30.634
        2018-01-25 15:00:00: 31.064
        2018-01-25 16:00:00: 32.084
        2018-01-25 17:00:00: 36.264
        2018-01-25 18:00:00: 34.474
        2018-01-25 19:00:00: 32.184
        2018-01-25 20:00:00: 31.494
        2018-01-25 21:00:00: 30.734
        2018-01-25 22:00:00: 29.714
        2018-01-25 23:00:00: 28.984
      sale_price:
        2018-01-23 00:00:00: 32.992
        2018-01-23 01:00:00: 31.122
        2018-01-23 02:00:00: 29.312
        2018-01-23 03:00:00: 28.072
        2018-01-23 04:00:00: 30.012
        2018-01-23 05:00:00: 33.362
        2018-01-23 06:00:00: 42.682
        2018-01-23 07:00:00: 74.822
        2018-01-23 08:00:00: 77.732
        2018-01-23 09:00:00: 62.332
        2018-01-23 10:00:00: 55.892
        2018-01-23 11:00:00: 46.962
        2018-01-23 12:00:00: 42.582
        2018-01-23 13:00:00: 40.942
        2018-01-23 14:00:00: 39.212
        2018-01-23 15:00:00: 39.142
        2018-01-23 16:00:00: 41.672
        2018-01-23 17:00:00: 46.922
        2018-01-23 18:00:00: 37.102
        2018-01-23 19:00:00: 32.992
        2018-01-23 20:00:00: 31.272
        2018-01-23 21:00:00: 29.752
        2018-01-23 22:00:00: 28.782
        2018-01-23 23:00:00: 28.082
        2018-01-24 00:00:00: 27.242
        2018-01-24 01:00:00: 26.622
        2018-01-24 02:00:00: 25.732
        2018-01-24 03:00:00: 25.392
        2018-01-24 04:00:00: 25.992
        2018-01-24 05:00:00: 27.402
        2018-01-24 06:00:00: 28.942
        2018-01-24 07:00:00: 32.182
        2018-01-24 08:00:00: 33.082
        2018-01-24 09:00:00: 32.342
        2018-01-24 10:00:00: 30.912
        2018-01-24 11:00:00: 30.162
        2018-01-24 12:00:00: 30.062
        2018-01-24 13:00:00: 29.562
        2018-01-24 14:00:00: 29.462
        2018-01-24 15:00:00: 29.512
        2018-01-24 16:00:00: 29.672
        2018-01-24 17:00:00: 30.072
        2018-01-24 18:00:00: 29.552
        2018-01-24 19:00:00: 28.862
        2018-01-24 20:00:00: 28.412
        2018-01-24 21:00:00: 28.072
        2018-01-24 22:00:00: 27.162
        2018-01-24 23:00:00: 25.502
        2018-01-25 00:00:00: 26.192
        2018-01-25 01:00:00: 25.222
        2018-01-25 02:00:00: 24.052
        2018-01-25 03:00:00: 23.892
        2018-01-25 04:00:00: 23.682
        2018-01-25 05:00:00: 26.092
        2018-01-25 06:00:00: 28.202
        2018-01-25 07:00:00: 30.902
        2018-01-25 08:00:00: 31.572
        2018-01-25 09:00:00: 31.462
        2018-01-25 10:00:00: 31.172
        2018-01-25 11:00:00: 30.912
        2018-01-25 12:00:00: 30.572
        2018-01-25 13:00:00: 30.602
        2018-01-25 14:00:00: 30.632
        2018-01-25 15:00:00: 31.062
        2018-01-25 16:00:00: 32.082
        2018-01-25 17:00:00: 36.262
        2018-01-25 18:00:00: 34.472
        2018-01-25 19:00:00: 32.182
        2018-01-25 20:00:00: 31.492
        2018-01-25 21:00:00: 30.732
        2018-01-25 22:00:00: 29.712
        2018-01-25 23:00:00: 28.982
  reserve_group:
    fcr_n_group:
      fcr_n_up_obligation:
        2018-01-23 00:00:00: 10
      fcr_n_down_obligation:
        2018-01-23 00:00:00: 10
    frr_group:
      frr_up_obligation:
        2018-01-23 00:00:00: 15
connections:
  - from: Plant1
    to: Reservoir2
  - from: Reservoir1
    to: Plant1
  - from: Plant1_G1
    to: Plant1
  - from: Plant1_G2
    to: Plant1
  - from: Reservoir2
    to: Plant2
  - from: Plant2_G1
    to: Plant2
  - from: Plant2_G2
    to: Plant2
  - from: Plant2_G3
    to: Plant2
  - from: Plant2_G4
    to: Plant2
  - from: fcr_n_group
    to: Plant1_G1
  - from: fcr_n_group
    to: Plant1_G2
  - from: fcr_n_group
    to: Plant2_G1
  - from: frr_group
    to: Plant2_G1
  - from: fcr_n_group
    to: Plant2_G2
  - from: frr_group
    to: Plant2_G2
  - from: fcr_n_group
    to: Plant2_G3
  - from: frr_group
    to: Plant2_G3
  - from: fcr_n_group
    to: Plant2_G4
  - from: frr_group
    to: Plant2_G4