Commit graph

2 commits

Author SHA1 Message Date
1e7273b4b0
feat(kontantstrom): take solution T through the power system and the cash flow
Everything per module, renewable modules with their own portfolio, the nuclear
modules of T-K on shared units, S41 counted to the first unit. The factor of
S51 enters the revenue and the disconnection arm of S47. S53 and S54 are put
together over a programme for all solutions. Present values are exactly
rounded sums, so the same computation gives the same last digit every time.
The chapters after the cash flow refuse T and a loss of demand for now.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 00:37:50 +01:00
bca6496c0a
feat(utbygging): build out solution T in modules and add S48-S54
utbyggingsplan_trinnvis follows chapter 17.1: the grid balance of the
first stage, the payment condition for a module's power plants, S49,
and in T-K the two stocks of chips and the queue for replacements.
tidslinje gives MW IT in operation per type of power (S50). S48-S54
are pure functions in ligninger.py, and Inndata carries the new
quantities, the scenarios for the loss of demand and the paths of
u_alt. lag_plan returns a Trinnvisplan for T-F and T-K; regn_program
refuses T until it is taken through the cash flow.

Tested on made-up numbers only (59 new tests, hand-computed build-outs).
Nothing is computed for the hypothesis.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 23:55:57 +01:00