tokenfabrikker/tests
Kjell Tore Guttormsen 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
..
conftest.py feat(kode): add the build-out, the power system and the cash flow 2026-11-12 11:58:24 +01:00
test_fasit.py feat(kode): add the levelised equations, the parameter reader and the draws 2026-11-12 10:08:47 +01:00
test_hendelser.py feat(kode): add the build-out, the power system and the cash flow 2026-11-12 11:58:24 +01:00
test_kontantstrom.py feat(modell): count chips from the first possible operating year 2026-11-12 12:14:28 +01:00
test_kraftsystem.py feat(kode): add the build-out, the power system and the cash flow 2026-11-12 11:58:24 +01:00
test_ligninger.py feat(kode): add the levelised equations, the parameter reader and the draws 2026-11-12 10:08:47 +01:00
test_parametere.py feat(kode): add the levelised equations, the parameter reader and the draws 2026-11-12 10:08:47 +01:00
test_trekninger.py feat(kode): add the levelised equations, the parameter reader and the draws 2026-11-12 10:08:47 +01:00
test_utbygging.py feat(modell): count chips from the first possible operating year 2026-11-12 12:14:28 +01:00