we3lab / we3lab/eeco

ENH: Charge breakdown in-model for Pyomo

Open
#19 0 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.