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

Changing option for --output-sced-demands to --output-sced-loads. #119

Merged
merged 1 commit into from
Oct 26, 2021

Conversation

jeanpaulwatson
Copy link
Collaborator

Key feature is providing a fix to a stack trace that results if the existing option --output-sced-demands is used (introduced recently).

This PR changes the --output-sced-demands keyword to --output-sced-loads. Loads are assigned to a bus, and multiple loads can be assigned to a single bus. Demands are not inherently part of the input data to an Egret SCED, but are rather computed as a by-product of the load data. And with price-responsive load, demand doesn't strictly make sense as a static scalar quantity. Thus, this is a first step in the direction of outputting all input load quantities for SCED debugging purposes. Output now shows (load, bus, quantity) triples.

Future commits should/will consider re-visiting demand output and associated, as a realized (post-solve) quantity.

Copy link
Collaborator

@darrylmelander darrylmelander left a comment

Choose a reason for hiding this comment

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

Looks good, tests pass locally for me, I'll merge if we can get the tests to pass (I just re-launched a test run).

@bknueven bknueven enabled auto-merge (squash) October 26, 2021 00:48
@bknueven bknueven merged commit 91aab32 into main Oct 26, 2021
@bknueven bknueven deleted the loadfix branch October 26, 2021 01:02
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.

3 participants