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

Updating PluginABCE example to use new ABCE standard formats #97

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

biegelk
Copy link

@biegelk biegelk commented May 3, 2023

Description

This PR updates the ABCE-WATTS example case in examples/1App_ABCE_C2N. ABCE has undergone a major data format update, and the outdated ABCE input file template in the examples directory was causing the code to break. This PR updates the PluginABCE example input template to the new ABCE standards, and updates watts_exec.py to match.

Checklist:

  • My code follows the style guidelines
  • I have performed a self-review of my own code
    [n/a] I have made corresponding changes to the documentation (if applicable)
    [n/a] I have added tests that prove my fix is effective or that my feature works (if applicable)
  • I have updated the CHANGELOG.md file (if applicable)
  • I have successfully run examples that may be affected by my changes

@biegelk biegelk changed the title Updating ABCE example to use new ABCE standard formats Updating PluginABCE example to use new ABCE standard formats May 3, 2023
@nstauff nstauff self-requested a review May 4, 2023 14:27
@@ -11,41 +11,41 @@
from pathlib import Path
Copy link
Contributor

Choose a reason for hiding this comment

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

I recommend adding a little bit more description of what sensitivity analysis we are trying to do here. This is a sensitivity analysis where we are scanning a range of peak demand and PTC incentive to determine ???...

params.show_summary(show_metadata=True, sort_by='key')
abce_plugin = watts.PluginABCE(f'{template_name}', show_stdout=True, show_stderr=True)
abce_result = abce_plugin(params, extra_args=['-f'])
abce_result = abce_plugin(params, extra_args=["-f"])

Copy link
Contributor

Choose a reason for hiding this comment

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

Would it be possible to extract one or two potential results of interest and print them out?

@nstauff
Copy link
Contributor

nstauff commented Jul 11, 2023

@biegelk let me know if you can wrap up these changes so that we can resolve this PR. If too much effort, then let's disregard them.

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.

2 participants