Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation/feature to extract whole system cost #32

Open
GabrielKS opened this issue Feb 3, 2025 · 0 comments
Open

Add documentation/feature to extract whole system cost #32

GabrielKS opened this issue Feb 3, 2025 · 0 comments
Assignees

Comments

@GabrielKS
Copy link
Collaborator

Relayed by @claytonpbarrows, there is a request to be able to easily extract the total operational cost of a simulation — not quite the same thing as the objective function value. There are two ways this could be done:

  1. Documentation of existing feature: we already have the calc_total_cost metric, which operates on individual generators, so one could just do something like:
calc_total_cost(make_selector(Generator; groupby = :all), sys)

. I should make sure there aren't any edge cases; if something like this actually works it seems like we should just go this route and put it in a tutorial somewhere.
2. Addition of new feature: there could be a new system-level metric:

calc_system_cost(sys)

that bakes in any edge cases (and would likely be a bit more performant, not that performance should be a huge issue).

Once #24 is merged and released (this week, probably), I'll work on this.

@GabrielKS GabrielKS self-assigned this Feb 3, 2025
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

No branches or pull requests

1 participant