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

Issue494 baselinetesting #495

Merged

Conversation

terrancelu92
Copy link
Contributor

The testcase driver scripts for running baseline controllers and associated results files are included.

Copy link
Collaborator

@dhblum dhblum left a comment

Choose a reason for hiding this comment

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

@terrancelu92 This is looking very good and much better, thanks again for the updates. I have some additional comments in-line below. In addition to those, please also address the following:

  • Update your branch to include the latest ibpsa:master.
  • Change baseline_testing directory name to baselines since its more concise.
  • Add a brief description of the change/addition in releasenotes.md under the 0.6.0-dev heading. You can look at the previous entries for an idea of what to write.
  • Add your name to contributors.md.

baseline_testing/config.json Outdated Show resolved Hide resolved
model_config = config[test_case]

# Run user-defined baseline control testing or run all scenarios
if model_config.get("run_user_defined_test", False):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are you sure this is valid since model_config, defined in Line 137, I think only contains fields in the specific test case, which are electricity_price and time_period? Is "run_user_defined_test" checked correctly?

Related, it would be good to include the script(s) and config(s) you used to generate all the two-week rolling simulations (if they're pretty concise), which I think probably used the "user_defined" feature and maybe automated creation of the necessary config files? Were they tested with this version of run_baselines.py?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

During this round of revision, I've tested both the "user_defined" feature with "true" and "false" (running predefined scenarios) settings. Additionally, I've included a script baselines/csv/run_all_scenarios.py for running two-week rolling simulations to reproduce the baseline testing results.

baseline_testing/baseline_control.ipynb Outdated Show resolved Hide resolved
baseline_testing/README.md Outdated Show resolved Hide resolved
baseline_testing/README.md Outdated Show resolved Hide resolved
baseline_testing/README.md Outdated Show resolved Hide resolved
@terrancelu92
Copy link
Contributor Author

Thank you @dhblum for the review! I will address these within a few days.

@terrancelu92
Copy link
Contributor Author

@dhblum , thank you for all the comments. I have addressed the following comments and also the in-line ones. Please take another review and let me know further edits if needed. Thank you!

  • Update your branch to include the latest ibpsa:master.
  • Change baseline_testing directory name to baselines since its more concise.
  • Add a brief description of the change/addition in releasenotes.md under the 0.6.0-dev heading. You can look at the previous entries for an idea of what to write.
  • Add your name to contributors.md.

@terrancelu92 terrancelu92 requested a review from dhblum May 14, 2024 02:50
Copy link
Collaborator

@dhblum dhblum left a comment

Choose a reason for hiding this comment

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

@terrancelu92 Thank you again for addressing my comments. Can you please address just a few more I've made, in-line? We're getting close and I appreciate your effort to complete this.

baselines/README.md Outdated Show resolved Hide resolved
baselines/README.md Outdated Show resolved Hide resolved
baselines/README.md Show resolved Hide resolved
baselines/README.md Outdated Show resolved Hide resolved
baselines/baseline_control.ipynb Outdated Show resolved Hide resolved
baselines/README.md Outdated Show resolved Hide resolved
contributors.md Outdated Show resolved Hide resolved
releasenotes.md Outdated Show resolved Hide resolved
@terrancelu92 terrancelu92 requested a review from dhblum June 11, 2024 03:11
@terrancelu92
Copy link
Contributor Author

@terrancelu92 Thank you again for addressing my comments. Can you please address just a few more I've made, in-line? We're getting close and I appreciate your effort to complete this.

@dhblum Thank you for providing detailed instructions and comments. I have incorporated the changes as per your in-line comments. Would you mind reviewing the updated version once more? Please let me know if there are any further adjustments needed. Thank you once again for your guidance!

Copy link
Collaborator

@dhblum dhblum left a comment

Choose a reason for hiding this comment

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

Thank you @terrancelu92!

@dhblum dhblum merged commit 428b707 into ibpsa:issue494_baselinetesting Jun 11, 2024
@dhblum dhblum mentioned this pull request Jun 11, 2024
4 tasks
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.

4 participants