KAI
Menu
The worked example is real: Randsfjorden and Tyrifjorden, two regulated lakes of the Drammen river basin in Norway, with NVE's daily lake levels and outflows (1995–2026) and Randsfjorden's operating regulation. Some figures are KAI's estimates from NVE's: they are listed below. Enter your own plant and record to plan it; nothing leaves your browser.

KAI-Hydropower · Release Planner

How much to release today, and what each plan gives over the coming months

Describe the plant and give its daily record. The Planner makes an outlook of the inflow from every past year of the record started from today’s flow, runs the lake day by day under each plan, and shows the energy, the level band and the chance of a spill or a level below the minimum. The optimised plan is followed as the level changes; replay a past year to see how it would have done against what the operators did.

In short: KAI-Hydropower's free Release Planner takes a hydropower plant and its daily record, makes an inflow outlook from the plant's own past years, and compares release plans, including an optimised one that makes the most energy once the water left in the lake is counted. It gives today's release, the lake level band and the daily chance of a spill or a low level.

Save your own plants in the lab (sign in) → · A river gauge’s rating curve →

1 · The plant

The example is two real regulated lakes of the Drammen river basin, Norway: Randsfjorden (Randselva plants) and Tyrifjorden (Drammenselva plants) downstream, with NVE's daily lake levels and outflows (record to 2026-11-27). The lake tables, the merged plants and the inflow are KAI's estimates from NVE's figures (listed under the Planner). Type your own plant over it: nothing leaves your browser.

The lake, the tailwater and the rule curve

2 · The record

One row a day: date and level (m), with inflow and release (m³/s) and generation (MWh) where you have them. Without inflow it is worked back from the level and the release. The more years, the better the outlook: at least two, ten is good.

or paste below (Excel: Save As → CSV)

11,654 days, 1995-01-01 to 2026-11-27; columns found: date, level_m, inflow_m3s, release_m3s, generation_mwh.

Checks on the plant and the record

  • Check: On 4225 of 11417 days the storage change does not match inflow − release (by more than 20 %): an outflow is missing (spill, bottom outlet, abstraction), the inflow is estimated, or the level–storage table is off. The outlook uses the inflow as given.
  • Note: No spillway capacity: any spill is assumed to pass at full supply level.
  • Note: 177 days without inflow: the inflow was worked back from the level and the release (the water balance).

3 · Your operating rules

How the plant is run today, as zones of the lake between guide curves (as in HEC-ResSim): each zone has its release, then the limits apply in order (the environmental flow and the largest release, the flow sent downstream, the change from yesterday). Below the minimum operating level only the environmental flow goes.

Flood zone (above the upper guide curve)
Conservation zone (between the guide curves)
Buffer zone (below the lower guide curve)
Guide curves (the plant's rule curve)

4 · The plans for the coming 90 days

5 · Replay a past year

Would the plan have done better? The optimised plan is worked out on 1 January from the years before only, then followed through the year as the water really came, against what the plant really made (from the record’s generation) or, without it, what its operators released.

The worked example: Randsfjorden and Tyrifjorden (Drammensvassdraget, Norway)

Randsfjorden (Randselva plants)

HRV 134.50 m, LRV 131.30 m (NVE's reservoir database). Plants downstream, taken as one: Bergerfoss + Kistefoss I + Kistefoss II + Askerudfoss + Viulfoss — 28 MW and 53.79 m of gross head together (NVE's plant database). Record 1995-01-01 to 2026-11-27.

On the map: 60.2277° N, 10.3761° E (Bergerfoss dam, the lake's outlet).

Tyrifjorden (Drammenselva plants)

HRV 63.00 m, LRV 62.00 m (NVE's reservoir database). Plants downstream, taken as one: Geithusfoss + Gravfoss II — 43.7 MW and 29.19 m of gross head together (NVE's plant database). Record 2005-02-08 to 2026-11-27.

On the map: 59.9289° N, 9.9634° E (Geithusfoss).

Randsfjorden's operating regulation (Royal resolution of 26 September 2025, replacing the regulation of 12 January 1995), as the operating rules

  • HRV 134.50, LRV 131.30; below 131.50 only after 1 April in dry years (NVE decides).
  • At least 20 m3/s in Randselva at all times; at 131.50 the release need not exceed the inflow.
  • Spring flood: gates open until the level is back to 134.25; until 1 October not below 133.75.
  • From 1 October up to 134.50, then drawn down as evenly as possible to 131.50 on 1 April.
  • Falling flows below 32 m3/s: change at most 4 m3/s an hour.
  • Floods: the outflow is limited by the lake's natural (self-regulating) outflow curve.

Before 2025: 1995 regulation: 20 m3/s, cut to 15 m3/s when the lake is below 133.50; drawn down to 131.50 by 10 April. The replays of earlier years are planned under the 2025 text. Tyrifjorden: No operating regulation for Tyrifjorden was found among NVE's published case documents: the band is the regulation limits, and no minimum flow is entered.

What KAI estimated, and how

  • Level-storage-area tables: the area taken as linear in the level, fitted so the area at HRV and the volume between LRV and HRV are NVE's.
  • Each river's plants taken as one plant: gross heads added (Kistefoss I and II, side by side, once), capacities added, efficiency from NVE's energy equivalents; the head follows the lake level.
  • Daily inflow worked back by KAI from the lake level and the outflow (water balance over 7 days, centred); evaporation left out.
  • Travel time from Randsfjorden to Tyrifjorden: 1 day.
  • Randsfjorden's band: KAI's reading of the regulation. Its lower line is the regulation's floor (131.50 in spring, 133.75 from the end of the spring flood, taken as 1 July, to 1 October, then an even drawdown to 131.50 on 1 April); the regulation gives no date for the end of the spring flood.
  • Energy: worked out from the flows and heads with these plant models. The plants' own generation is not public.

Randsfjord's readings before 17 April 2002 are on the lake's gauge (0.00 m = 131.50, as the regulation writes it): KAI added 131.50.

Sources

Contains data under the Norwegian licence for Open Government data (NLOD) made available by NVE (Norwegian Licence for Open Government Data (NLOD) 2.0). Changes by KAI: KAI converted Randsfjord's pre-2002 gauge readings to the kote datum, dropped impossible levels, worked back the inflow and merged each river's plants. Fetched 2026-11-28.

How to use it

  1. 1. Describe the plant

    Full supply and minimum operating levels, the turbines (number, flow at full load, lowest flow, capacity, efficiency), the environmental flow and the lake's level–storage–area table.

  2. 2. Add the tailwater and the rule curve

    One tailwater level or a table of release against level, and the operating band through the year if the plant has one.

  3. 3. Give the daily record

    Date and level for every day, with inflow, release and generation where you have them, typed, pasted or uploaded as CSV. Two years at least, ten is good.

  4. 4. Set the outlook

    How far ahead (30 days to a year), the level and release today, a level to hold if you want one, and the risk of a spill or a low level you accept.

  5. 5. Compare the plans

    Energy made, the water left counted, spill and the worst-day chances for each plan, the recommended plan with today's release, and the lake level band.

  6. 6. Replay a past year

    See what the optimised plan, worked out on 1 January from the years before, would have made against what the plant or its operators did.

Questions and answers

What does the Release Planner tell me?

How much to release today, and what each way of running the plant over the coming weeks or months gives: the energy (P10, P50 and P90 over the outlook), the spill, the lake level band, and the chance of a spill or of falling below the minimum operating level on each day. The recommended plan is the one that makes the most energy, counting the water left in the lake, within the risk you accept.

Where does the inflow outlook come from?

From the plant's own record. Each past year gives one possible future, starting on today's date, and each is scaled so its first days match the flow coming in now, the scaling fading over about two weeks. This is the ensemble streamflow prediction used by river forecast centres (Day, 1985). Forecasts driven by rainfall and the GloFAS river forecasts are being added on KAI's engine.

How is the optimised release worked out?

By stochastic dynamic programming on the lake's storage (Stedinger, Sule and Loucks, 1984): working back from the end of the outlook, for every day and storage it picks the release that makes the most energy over the past years taken together, less a cost for spilling and a large penalty for falling below the minimum. The water left at the end is valued at what it would make over the following year. The result is a release for every day and storage, followed as the level changes.

Why count the water left in the lake?

Because any plan can make more energy now by emptying the lake. The Planner adds the energy the water left at the end would make later, so a plan only wins by using the water better, not by borrowing from next season.

What if my record has no inflow?

The inflow is worked back from the water balance: the change in storage from the level and the lake curve, plus the release, plus the evaporation. The checks say so, and flag days where the balance does not close, levels in feet or off the curve, storage in m³ instead of million m³, generation in kWh and flows in m³ a day.

Does it work for run-of-river plants and cascades?

Yes. A run-of-river plant is a small lake: the plans mostly decide how much goes through the turbines and how much spills. A plant downstream on the same river receives the upstream plant's outflow after the days it takes to arrive. The worked example is a real cascade in Norway's Drammen basin: Randsfjorden's outflow reaches Tyrifjorden a day later, and the Planner shows what each plan upstream means for both.

How good is it?

Replay a past year to see. On Randsfjorden, over the 24 years from 1999 to 2025 with a whole record, the optimised plan made from the earlier years only beat the operators' own releases by a median 10.7 % (3.0 to 15.6 %), counting the energy and the water left at the year's end; the plan avoiding spills by 4.4 %. Both use KAI's merged model of the Randselva plants, whose real generation is not public, so they are estimates.

Is my data stored?

On the public page nothing leaves your browser. Signed in, you can save a plant and its record to your own account; only you (and KAI support, when you ask for help) can read it. The worked example is public data: NVE's daily records of Randsfjorden and Tyrifjorden in Norway, under the Norwegian licence for open government data (NLOD).

How it works

The lake is run one day at a time: the storage changes by the inflow less the release and the evaporation from the lake’s area; above full supply the extra spills (up to the spillway’s capacity, beyond which the level rises); below the minimum operating level the turbines stop and only the environmental flow is released. Power is 9.81 × efficiency × flow × head, the head being the lake level less the tailwater at that release, up to the installed capacity, and nothing below the turbines’ lowest flow.

The outlook takes the same days from every past year of the record and scales each so its first week matches the flow coming in now, the scaling fading over about 15 days (ensemble streamflow prediction). The optimised plan is found by stochastic dynamic programming on 50 storage steps and 22 releases: each past year keeps its own value of the water, and one release is chosen for every day and storage. The water left at the end is valued by working the same programme back over a whole year of the record, twice. With a rule band, the optimised plans keep the lake above the band’s lower line whenever the inflow allows.

The recommended plan makes the most energy counting the water left in the lake, among the plans whose chance of a spill or a low level stays below the risk you accept on every day. The answers are as good as the lake curve, the tailwater and the record: the checks flag what does not add up. Everything runs in the browser.

Sources

By KAI Water & Energy (Kampala, Uganda). Reviewed 28 November 2026. A first look for planning: a hydrogeologist confirms every drilling decision.