Skip to content

docs: add demand and supply bid market example#1536

Merged
lkstrp merged 6 commits intoPyPSA:masterfrom
flxlchr:docs-demand-supply-bidding
Feb 6, 2026
Merged

docs: add demand and supply bid market example#1536
lkstrp merged 6 commits intoPyPSA:masterfrom
flxlchr:docs-demand-supply-bidding

Conversation

@flxlchr
Copy link
Copy Markdown
Contributor

@flxlchr flxlchr commented Jan 22, 2026

Changes proposed in this Pull Request

Add an example notebook demonstrating uniform-price market clearing with supply and demand bids. It shows supply/demand curves, solves a single‑zone welfare‑maximization, then splits bids into two zones to show zonal price separation and the effect of adding an interconnector.

Other changes:

  • loads.md: better explain when and how to use generators as substitute for loads and link the example notebook
  • mkdocs.yml: add the example

Checklist

  • Code changes are sufficiently documented; i.e. new functions contain docstrings and further explanations may be given in docs.
  • Unit tests for new features were added (if applicable).
  • A note for the release notes docs/release-notes.md of the upcoming release is included.
  • I consent to the release of this PR's code under the MIT license.

@lkstrp
Copy link
Copy Markdown
Member

lkstrp commented Jan 22, 2026

Thanks @flxlchr for another one! Will review soon, the failing docs build is an issue in the main branch

@flxlchr flxlchr force-pushed the docs-demand-supply-bidding branch from a10de4e to 167aae4 Compare January 23, 2026 10:48
@lkstrp lkstrp added the docs Documentation improvements or features to be showcased in docs/ notebook label Jan 26, 2026
Copy link
Copy Markdown
Member

@fneum fneum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, very illustrative example. Thanks @flxlchr!

@lkstrp lkstrp enabled auto-merge (squash) February 6, 2026 10:56
@lkstrp lkstrp merged commit f6491b2 into PyPSA:master Feb 6, 2026
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation improvements or features to be showcased in docs/ notebook

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants