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>
This commit is contained in:
parent
709ca45898
commit
1e7273b4b0
9 changed files with 809 additions and 55 deletions
|
|
@ -14,7 +14,6 @@ from tokenfabrikker import inndata as idt
|
|||
from tokenfabrikker import kontantstrom as ks
|
||||
from tokenfabrikker import ligninger as lg
|
||||
from tokenfabrikker import utbygging as ub
|
||||
from tokenfabrikker.kontantstrom import Knapphet
|
||||
from tokenfabrikker.utbygging import Kraft, Losning
|
||||
|
||||
if TYPE_CHECKING:
|
||||
|
|
@ -381,14 +380,6 @@ def test_bryterne_for_t_gjelder_bare_t(oppdiktet: LagInndata) -> None:
|
|||
)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("losning", [Losning.T_F, Losning.T_K])
|
||||
def test_t_gaar_ikke_gjennom_kontantstrommen_ennaa(oppdiktet: LagInndata, losning: Losning) -> None:
|
||||
inn = oppdiktet(tau_nett=6.0)
|
||||
plan = _lag(inn, losning, 1)
|
||||
with pytest.raises(NotImplementedError, match="not taken through the cash flow yet"):
|
||||
ks.regn_program(inn, losning, plan, Knapphet.NORMALISERING)
|
||||
|
||||
|
||||
# ----------------------------------------- AI use on the users' own machines, S51 and S52
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue