Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Pumps

This notebook is an example on how to use pumps with and without power plants. It contains an example on how to use revisions (unavailable capacity) on pumps and plants.

Unavailable capacity is set by attribute unavailable_capacity on Plant and Pump.

"unavailable_capacity": {
    "timestamps": [
        "2023-01-02T00:00:00Z",
        "2024-06-01T00:00:00Z",
        "2024-12-01T00:00:00Z"
    ],
    "scenarios": [
        [
            170,
            150,
            0
        ]
    ]
}

Example plot for a plant with a pump:

No revisions:

image.png
  • No revisions set

Plant revision:

image-2.png
  • A substantial revision set on the power plant to reduce production. Max power production is down to ~45WM from ~150MW.

Pump and plant revisions:

image-3.png
  • Same revision on the plant.

  • Pump capacity is down to ~25MW, from ~100MW.

'pyltm version PyLTM version: 0.27.4'
INFO:LtmApiModel:(ikernel) Loading model from file: pumps.json
INFO:LtmApiModel:(ikernel) Using license file '/path/to/ltm-license.dat'
INFO:LtmApiModel:(ikernel) LtmApiModel::maybe_generate_output_dir: output_path: docs/ltm-api/guides/pumps/testout_pumps/2026-12-02-121828.608-EMPS-parallell
INFO:LtmApiModel:(ikernel) Using license file '/path/to/ltm-license.dat'
INFO:Validator:(ikernel) Model validation succeeded
INFO:LtmApiModel:(ikernel) Writing model to path docs/ltm-api/guides/pumps/testout_pumps/2026-12-02-121828.608-EMPS-parallell
INFO:InflowHandler:(ikernel) Writing inflow series
INFO:InflowHandler:(ikernel) Writing Forecast for 'after_one_year'
INFO:InflowHandler:(ikernel) Writing Forecast for 'after_one_year'
INFO:InflowHandler:(ikernel) Writing Forecast for 'after_one_year'
INFO:Validator:(ikernel) Model validation succeeded
python pid: 277
Loading...
Loading...
INFO:LtmApiModel:(ikernel) Model executed successfully
<Figure size 640x480 with 1 Axes>
Loading...
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 2 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
Loading...
<Figure size 640x480 with 2 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
Loading...
Loading...
'Reservoir'
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
'Reservoir'
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
'Reservoir'
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
'Reservoir'
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
Loading...
Loading...
'Reservoir'
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>
INFO:LtmApiModel:(ikernel) Not deleting output dir (docs/ltm-api/guides/pumps/testout_pumps/2026-12-02-121828.608-EMPS-parallell), as delete_output_dir: false, and has_generated_output_dir: true
INFO:LtmApiModel:(ikernel) Not deleting output dir (docs/ltm-api/guides/pumps/testout_pumps/2026-12-02-121828.608-EMPS-parallell), as delete_output_dir: false, and has_generated_output_dir: true