Skip to content

Conversation

@Bill-Becker
Copy link
Collaborator

@Bill-Becker Bill-Becker commented Jun 16, 2025

PR:

Which was an aggregation of PRs:

This pull request introduces a series of enhancements and updates across multiple components of the REopt model. The changes include new features for financial and technology inputs, updates to default values, and the addition of new endpoints and migrations to support these features. Below is a summary of the most important changes grouped by theme:

Financial and Technology Inputs

  • Added new financial input fields: min_initial_capital_costs_before_incentives and max_initial_capital_costs_before_incentives to define capital cost constraints.
  • Added new fields to ElectricStorageInputs for fixed installation and replacement costs, and updated default values for cost parameters. [1] [2] [3]
  • Added size_class input to PVInputs for categorizing PV systems, along with new cost-related outputs (installed_cost_per_kw, om_cost_per_kw).

Ground Heat Pump (GHP) Enhancements

  • Added advanced GHP input fields for ground heat exchanger sizing (max_number_of_boreholes, max_ton) and load splitting (load_served_by_ghp).
  • Added new outputs to report GHP system sizes and borehole counts.

Code Updates and Endpoints

  • Updated reoptjl/models.py and validators.py to support new GHP inputs and validate defaults.
  • Added a new endpoint /pv_cost_defaults to retrieve PV cost defaults based on user inputs. [1] [2]

Migrations

  • Added multiple migrations to introduce new database fields for financial, PV, GHP, and electric storage inputs and outputs. [1] [2] [3] [4]

Miscellaneous Updates

  • Updated default values for PV.installed_cost_per_kw, PV.om_cost_per_kw, and electric storage cost parameters to reflect the latest cost data.

These changes collectively improve the functionality, configurability, and accuracy of the REopt model, particularly for financial and technology-related analyses.

adfarth and others added 30 commits March 20, 2025 09:44
@Bill-Becker Bill-Becker requested a review from bpulluta June 16, 2025 21:11
@Bill-Becker
Copy link
Collaborator Author

@bpulluta I tagged you as a reviewer mainly for the PV and Battery Cost updates - not for the "add CapEx constraints" or the "add GHP inputs/outputs" related stuff. Those have already been reviewed.

Copy link
Collaborator

@bpulluta bpulluta left a comment

Choose a reason for hiding this comment

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

@Bill-Becker, all of my internal tests are passing for me as it pertains to PV costs. The PV size classes seem to be working correctly on the API side.

no changes to suggest

@Bill-Becker Bill-Becker merged commit b586d18 into master Jun 18, 2025
2 of 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.

5 participants