ENH: Charge breakdown in-model for Pyomo
Open
@arao53 is already working on this.
Since Jun 26, 2025.
enhancement
- Dominant language
- Python
- Stars
- 11
- Forks
- 4
- Avg merge
- 5d 4h
- Merged PRs (30d)
- 1
Description
Use Case
Feedback from the WaterTAP team
Solution
It would be helpful to include the total demand cost and total energy cost as attributes of the optimization problem. this is just an intermediary variable + constraint before the total electricity cost calculation.
Alternatives
Instead of variables and constraints, we could form expressions (post-optimization evaluated) for the energy cost, demand cost, and customer cost. These would not affect the structure of the problem as it is but would still reflect the value of the associated charges.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.