Skip to content

Add existing CHP capacity support#608

Open
bpulluta wants to merge 54 commits into
developfrom
chp-dev-bp
Open

Add existing CHP capacity support#608
bpulluta wants to merge 54 commits into
developfrom
chp-dev-bp

Conversation

@bpulluta

@bpulluta bpulluta commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Please check if the PR fulfills these requirements

  • CHANGELOG.md is updated
  • Docs have been added / updated if applicable
  • Any new packages have been added to the [compat] section of Project.toml
  • REopt version number is updated in Project.toml and CHANGELOG.md if merging into master (do this right before merging)
  • Tests for the changes have been added. These tests compare expected behavior and include CHP-specific regression coverage.
  • Any new REopt outputs and required inputs have been added to the corresponding Django model in the REopt API

Description of changes

This PR adds support for modeling existing CHP capacity through existing_kw and aligns CHP sizing semantics (min_kw and max_kw apply to new capacity beyond existing capacity).

Validation

  • Added CHP existing capacity regression coverage.
  • Ran CHP-focused regression suite from the test directory:
    • CHP Existing KW
    • Multiple CHPs
    • Avoid CHP Binary
    • Off-Grid CHP
    • CHP Production Factor
  • Result: all tests passed in the focused suite (36/36).

… production for each timestep

Could represent run-of-river hydro or OA temp-dependent turbine power
To be used for PV, CHP, and any future techs using a cost curve
@bpulluta bpulluta changed the title Add existing CHP capacity support and purchase-based CHP capex Add existing CHP capacity support Jun 3, 2026
@bpulluta bpulluta changed the base branch from master to develop June 3, 2026 20:32
@bpulluta bpulluta requested a review from Bill-Becker June 3, 2026 20:34
@bpulluta bpulluta removed the request for review from Bill-Becker June 4, 2026 20:10
@bpulluta bpulluta marked this pull request as draft June 4, 2026 20:44
Bill-Becker and others added 3 commits July 1, 2026 13:53
Resolve conflicts in CHP scenario/results/tests, preserving multi-CHP behavior from chp-expand while incorporating develop CHP default cost updates.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use include_cooling_in_chp_size when constructing CHP objects in Scenario for multi-CHP inputs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@bpulluta bpulluta marked this pull request as ready for review July 7, 2026 18:09
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