Skip to content

Markets tutorial update replacing LCOE with marginal costs - #26

Merged
JortGroen merged 5 commits into
mainfrom
dev
Jun 1, 2026
Merged

JortGroen merged 5 commits into
mainfrom
dev

Conversation

@JortGroen

Copy link
Copy Markdown
Contributor
  • Replace LCOE with marginal costs and relative sources, fix merit order curve labels superposition
  • Updated expected output for market tests

nniko2233 and others added 5 commits February 20, 2026 13:28
Update Marginal Costs instead of LCOE, fix Merit Order Plot labels
Tutorial_Power_Balance_a.yaml contained a leftover debug connection
'CSV_pv.Ta -> DummyWind.u' that referenced a non-existent model. The
engine raises a ValueError on it, but the notebook cell that runs the
scenario uses %%capture, which swallowed the error. As a result the
output CSV was never regenerated and the test compared a stale committed
file, failing on Controller1.res_load / PV1.pv_gen.

Removing the bogus connection lets the scenario run again and the
power_balance test pass (full tutorial suite green locally).

Introduced in 0683b4f.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…ind-connection

Remove stray DummyWind connection from power_balance scenario
@JortGroen
JortGroen merged commit 8af5f08 into main Jun 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants