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>
This commit is contained in:
parent
57a8256306
commit
d4aebad0f9
14 changed files with 335 additions and 95 deletions
|
|
@ -148,3 +148,10 @@ def test_relativ_prisvirkning_per_omraade(oppdiktet: LagInndata) -> None:
|
|||
# the price level of the dry year cancels; the factor on the effect does not
|
||||
tort = kraftsystem.relativ_prisvirkning(inn, Delta_Q=3e6, tort=True)
|
||||
assert tort["NO1"] == pytest.approx(1.2 * 30.0 / 600.0)
|
||||
|
||||
|
||||
def test_relativ_prisvirkning_krever_positiv_pris_uten_satsingen(oppdiktet: LagInndata) -> None:
|
||||
"""A price of zero or less without the programme would turn the sign of the ratio."""
|
||||
inn = oppdiktet(S0=80e6)
|
||||
with pytest.raises(ValueError, match="not positive"):
|
||||
kraftsystem.relativ_prisvirkning(inn, Delta_Q=3e6, tort=False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue