Commit graph

77 commits

Author SHA1 Message Date
6ff6bc4cd5
docs(forhandsregistrering): record the operator's decisions on the addition
The operator approved the four recommendations after the source work in
areas 22-26: a new stepwise solution T in two variants measured on the same
terms as A, B and C (A must also beat T in part II), no gas power, on-device
AI tested as a threshold and two marked scenarios without changing the
verdict that counts, and the basis for avoided emissions and cooling water.

Decided before anything is computed. The alternatives table, the wording of
M7 and how T is computed follow with the specification. The frozen
parameters are unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 21:45:44 +01:00
27dcd8790a
docs(kilder): add areas 22-26 for the addition to the direction
Third round of source work, before anything is computed: what can be in
operation within a few years on the existing grid (22), power sources with
short lead time (23), stepwise build-up and switching power solution over
time (24), AI compute on users' own machines (25), and the two quantities
the model lacked parameters for: avoided emissions and cooling water (26).

188 entries, one researcher and one independent verifier per area:
114 confirmed, 52 corrected, 22 added by the verifiers, none unconfirmed.
22 load-bearing entries were checked a third time against the primary
source and carry an "Egenkontroll" line.

The model, the frozen parameters and the pre-registration are unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 21:38:16 +01:00
14c2a68f1d
docs(modell): record the operator's approval of clarifications 62-67
The operator approved the corrections to the comparison of ownership forms
on 2026-11-12, before anything is computed, and decided that the addition to
the direction is worked in before the run over the draws is coded.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 20:19:47 +01:00
d607128ec6
feat(kode): bring the ownership comparison in line with clarifications 62-69
eierskap.py: the residual value and the sale at the final year, the levies,
the private owners' cash flow and the settlement over the draws, the present
value with rho_D without the debt flows, the required return before tax, and
equal values in the ranking. Also the median of the petroleum cash flow in
2025 kroner, the state's cash flow next to M6, the shares shown next to each
verdict, and the sources' figures for M5 (i).

Made-up numbers only: 424 tests pass, 7 documented misses. The project's
code and the independent reader's code agree to within one krone on 1 500
made-up paths.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 17:17:13 +01:00
946adad62c
docs(modell): enter the operator's answers and correct the comparison of ownership forms
The operator's four answers of 2026-11-12: clarifications 41-60 approved,
clarifications 55-59 entered in the pre-registration as clarifications 9-12,
the addition to the direction entered, and the announced deviation from the
parameter freeze recorded. The result of the large comparison of part 5c is
in part 6 of the review log.

Clarifications 62-67 correct the weaknesses of clarification 61 in the
comparison of ownership forms: residual value at the final year, the levies,
the private owners, the rate the state's cash flow is valued with, and the
cost of capital before tax. An independent reader coded them from the text in
three rounds (20, 5 and 2 findings); part 7 of the review log. Clarification
68 holds the sources' figures for M5 (i), checked against the downloaded
primary sources, and 69 the figures shown next to each verdict.

The parameter file is unchanged. Nothing is computed for the hypothesis.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 17:17:13 +01:00
a705842f88
docs: describe the settled code for chapters 7 to 11
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 14:33:50 +01:00
d4aebad0f9
feat(kode): bring business economics, ownership, scale and verdicts in line with clarifications 41-61
The accident cost stays in S11 and S31 when the additionality rule binds;
the peak year of M6 is taken among operating years; tax depreciation and
carried losses lose real value with price growth; the special tax deducts
the corporate tax, has a return allowance and carries a negative basis with
interest, so it only meets return above r_e; ownership forms are compared
only with forms that pass the EEA assessment; the overall verdict needs a
negative median to fell a solution and takes whether conditions can be
named; M5 does not hold when both (i) and (ii) are broken; a non-positive
price without the programme is an error in M3. Made-up numbers only.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 14:33:49 +01:00
57a8256306
docs(modell): settle the readings of chapters 7 to 11 after five rounds of independent coding
Clarifications 41-61 in chapter 16 and part 6 of the review log. The
independent readers found 60 + 17 + 5 + 1 + 0 points. Weaknesses in the
comparison of ownership forms that are not corrected are listed in
clarification 61. The parameter file and the pre-registration are unchanged;
no result for the hypothesis has been computed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 14:33:48 +01:00
e216702d69
feat(kode): first coding of business economics, ownership, scale, environment and verdicts
Chapters 7 to 11 of the specification, on the made-up set only:

- nivaaisert: the power cost per facility, year and vintage on levelised
  form (S9, S11 with clarifications 2, 11, 13 and 15), S15, S19, S27, S42
- eierskap: the business cash flow with every asset booked, tax, S28, S29
  and S30 for the four ownership forms, the criteria over the draws
- skala: S31 year by year, the first year with stable operation, M6
- miljo: S32 year by year, the rules of M5 (i) and (ii)
- dommer: S37, the verdict per target, the step of the ladder, the overall
  verdicts; tested on invented outcomes
- kontantstrom: each asset is recorded as it is paid, and the price of
  compute exposes the competitor's cost and the markup

This is an intermediate step. The readings are not settled: an independent
reader is coding the same from the specification alone, a first comparison
agrees on the levelised cost, S19, S42, the cash flows, M3 and M4 and
differs on depreciation at the final year, tax, debt and two definitions.
Chapter 16 gets the clarifications before any result is computed.
Nothing is computed for the hypothesis; the parameter file is unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 12:45:54 +01:00
fb13b8fd75
feat(modell): count chips from the first possible operating year
The project owner answered the three questions from part 5b on 2026-11-12
("Ja til dine anbefalinger"), before any result is computed:

- chips are a stock from the solution's first possible operating year, not
  from the decision year (clarification 25 rewritten; the old reading stays
  as a switch that is not part of the verdicts)
- renewable power in C enters operation the same year as the facility
  (clarification 24 stands)
- the other choices in clarifications 21-40 are approved

The default in the code is flipped, seven tests that assumed a stock from
2027 are redone, and the comparison with the independent reader's code is
rerun with its switch set the same way: same numbers in all 9 471 paths
that can be built. The parameter file is unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 12:14:28 +01:00
326b80d8d1
docs: describe the build-out, the cash flow and the event stream
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 11:58:25 +01:00
5c91cadf4c
feat(kode): add the build-out, the power system and the cash flow
- utbygging.py: when each facility starts and which vintages of IT hardware it
  gets (S22, S33), with chips as a stock, replacement before new facilities and
  the export rule.
- kraftsystem.py: the fitted price lines and the power and capacity balances
  year by year (S23, S24, S25, S38).
- kontantstrom.py: the yearly cash flows per facility, the additionality rule
  by iteration, the residual value and the net present value for Norway (S26,
  S34, S35, S40, S45), for the solutions A, B, B', C and R.
- hendelser.py and data/aarshendelser.npy: the stream of random numbers for the
  export rule, one uniform number per draw and year 2028-2100, from its own seed.
- inndata.py: one set of values in the units of the equations.
- ligninger.py: one function per equation for chapters 4 to 6.

Tested on a made-up set of values only (tests/conftest.py); no result for the
hypothesis has been computed. 271 tests pass. Seven are documented misses
against a source: the five from before, and the price lines for NO3 and NO4,
which miss one of NVE's twelve scenarios by 6.0 and 7.7 per cent.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 11:58:24 +01:00
fd0db8b3d3
docs(modell): settle the ambiguities found by the second independent coding
A second independent reader coded the build-out, the power system and the cash
flow (S12, S22-S26, S33-S35, S38-S41, S45 and the sharing of S47) for all five
power solutions from the specification alone. It found 28 ambiguities, and ten
more when it coded again from the clarifications. Clarifications 21-40 in
chapter 16 settle them; clarification 29 (the nuclear units in B) was rewritten
twice after the reader showed that the first two rules were wrong. With the
final text the two implementations agree on 10 000 made-up build-out paths.

The clarifications that are choices are marked and put to the project owner.
Whether chips are counted from the decision year or from the first possible
operating year is left open until the owner has answered. The parameter file
and the pre-registration are unchanged, and no result has been computed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 11:58:13 +01:00
9c960950ae
docs(modell): record the project owner's approval of three clarifications
Clarifications 5, 10 and 11 in chapter 16 are choices, not only readings.
The project owner approved them on 2026-11-12, before any result, and decided
that the yearly production loss NVE assumes for wind is not added: the
deviation from NVE is to be stated in the report and the freeze stands.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 10:46:33 +01:00
aee22b9101
docs: describe the code, the commands and the new conventions
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 10:08:48 +01:00
a63f66c416
feat(kode): add the levelised equations, the parameter reader and the draws
One pure function per equation for chapters 1 to 3 of the specification
(S1-S21, S36, S43-S47), a strict reader for the frozen parameter file with
checksum, validation and unit conversion, and the 10 000 Monte Carlo draws of
the 87 drawn quantities, stored in data/ and reproducible bit for bit.

Tests: unit tests and edge cases per equation, the reader, the draws, and
known answers from Argonne, NOU 2026: 4, Epoch and NVE with the sources' own
assumptions. Five comparisons miss the 5 % tolerance and are kept as strict
expected failures with the measured deviation. No result for the hypothesis
is computed. ruff ALL and mypy strict pass.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 10:08:47 +01:00
736f636691
docs(modell): settle the ambiguities found by independent coding
An independent reader coded the key equations from the specification alone
and listed 19 ambiguities (4 blocking). Chapter 16 of the specification now
says how the text is to be read, dated 2026-11-12, after the parameter freeze
and before any result. Equations, equation numbers and the parameter file are
unchanged. The review log records each finding, what was done, and the
outcome of the known-answer tests.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 10:08:47 +01:00
0e7deb267d
docs(kilder): record primary-source readings behind the known-answer tests
K12-001: the method article behind the Argonne study (Hanna et al. 2024) read
in text; what the test needs is quoted, and what could not be read is stated.
K16-011: the committee's spreadsheet reproduces 132.2 øre/kWh but gives 222.1,
not 219, for the high scenario. K11-004: NVE's investment figure for hydro
already includes interest during construction.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 10:08:46 +01:00
28eaa80f09
docs(forhandsregistrering): enter the eight approved clarifications
The project owner approved the eight proposed clarifications of the
pre-registered criteria on 2026-11-12, as recommended, after the
parameter freeze and before any code or result exists. They are entered
under «Presiseringer» with a dated entry and the reason for each under
«Endringer». Three wordings in the criteria text are aligned with them.

The specification now refers to them as clarifications instead of
proposals, and the rule for conditions uses the 10th to 90th percentile.
Equations and parameters are unchanged; modell/parametere.json keeps its
checksum.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 09:07:33 +01:00
50e7d1e119
docs(forhandsregistrering): record the parameter freeze and its checksum
Commit 01b27fa, SHA-256 4582835…f6cc. The criteria are unchanged.
Eight proposed clarifications are with the project owner and are not
entered.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 00:58:07 +01:00
01b27fad78
feat(modell): freeze parameters
124 parameters for the model in modell/spesifikasjon.md (draft 3), all
amounts in real 2025 kroner, one distribution per parameter, each with
the source bank entries it rests on. 80 follow from confirmed entries,
1 is derived from them, 35 are open assumptions with a stated range and
8 are set-up choices. The file also fixes the conversion rule, the
Monte Carlo set-up and the list of sensitivities.

Frozen before anything is computed and before any code exists. The file
is not edited after this commit; a change is a deviation with a new
checksum and a dated entry in the pre-registration.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 00:57:57 +01:00
9e3feb367e
docs(modell): add specification draft 3 and review log
Draft 3 has 47 equations. Changes follow the pre-read of draft 2
(44 findings), two independent reviews of draft 3 (55 and 22 findings)
and an independent control of the corrections (39 findings). Each
finding was checked by the project before it was corrected; the log
says what was done with each.

Main changes: all parameters in 2025 kroner; explicit cash flows per
solution; the price of compute set per MW sold, so that unsold capacity
is not charged to Norway alone; power plants on the grid are never
credited a surplus (S45); the reading of the Norwegian nuclear cost
range is drawn (S46); dimensioning, build-out and residual value are
specified. Eight proposed clarifications of the pre-registration are
listed in chapter 15 and are not entered there.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 00:57:41 +01:00
75bf83a6e5
docs(kilder): record primary-source figures read during the review
Five entries get the figures the project itself read in the primary
source and that parameters now rest on: the remaining rows of table
5.17 in the consultant report (K16-002), the assumptions sheet of the
commission's spreadsheet (K16-012), all twelve power balances in NVE's
2035 scenarios (K21-087), the intermediate years of the carbon price
sensitivity paths (K09-014) and table 6-1 of the Argonne study (K12-001).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 00:35:19 +01:00
94c65da1c7
docs(kilder): add targeted source work for the open parameters
Second round of the source bank, before the parameter freeze: eight
tracks for the open points 10-17 in the specification (areas 13-20),
the three unconfirmed entries in area 11 and the outdated entries
(area 21). One researcher and one independent verifier per track.

286 new entries (157 confirmed, 93 corrected, 36 added by verifiers,
1 not confirmed). 57 verified corrections applied to existing entries,
each with the previous wording kept in the control line. 53 entries
checked by the project itself against the primary source (Egenkontroll).
README and the cross-area review updated.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 23:53:52 +01:00
2a9d463690
docs(forhandsregistrering): enter nine approved clarifications
Approved by the project owner after two independent reviews of the
model specification, before anything is computed and before any code
exists: overall verdict, M2 against the price of compute, verdict per
price scenario with fixed build-out paths, the M4 requirement, M3 in
normal and dry years, the M6 numerator and year, a symmetric M7
threshold, a grid-purchase reference run, and the limit for state risk.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 22:26:48 +01:00
5a4d9b0072
docs(modell): add model specification draft 2 and review log
Draft 1 was read by two independent reviewers (a subject reviewer and a
devil's advocate). Draft 2 corrects the equations they found wrong
(levelised price, token cost unit, welfare sign, double counting) and
models off-grid operation with unit size limits and reserve units.
Findings that touch the pre-registered criteria are listed as open
decisions, not applied.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 22:20:04 +01:00
5f60c681ed
feat: initial commit with pre-registration and source bank
Pre-registered criteria (M1-M7), approved before anything is computed,
and a source bank of 662 entries in twelve areas, each checked against
its primary source by an independent verifier.

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