-
Notifications
You must be signed in to change notification settings - Fork 34
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
Raven and Teal integration #177
Raven and Teal integration #177
Conversation
…inistic case. still some bugs
…rac conversion fixed
…into teal-integration
…s, new plot image
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me.
# First, we add TEAL to the current Python path. Note that DISPATCHES, TEAL, and RAVEN are all | ||
# assumed to be subdirectories within the same directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this comment is referring to code in a previous version of this file, and so can now be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @radhakrishnatg I was able to use the install instructions and ARMA_Model files to generate synthetic LMPs
@radhakrishnatg I tried running the notebook through the test framework locally in a Windows VM in an environment where RAVEN and TEAL are installed. It seems to run just fine, but then ultimately fails because of one of the cells exceeding the default timeout (2000 s -> ~30 min). Is this in line with the runtime you get when running locally? Is there any way this example could be tweaked so that the notebook executes in 10 minutes or so? |
@lbianchi-lbl I could run all the cells in the notebook within 10 minutes on my local machine. I do not know why that cell is taking more than half an hour. Also, I'm running the simplest case possible in that cell. So, could you please try running the notebook once again and let me know if it still takes longer than half an hour? |
@radhakrishnatg OK, I see. I've tried re-running and the results are the same. I guess my resource-starved VM might be to blame, in which case we could just check how long it takes on the GHA runners. In the off-chance that some package version might be affecting that, could you run |
@lbianchi-lbl I do not have my work laptop (which I used to run the notebook) with me. I will be out of office starting tomorrow and I will be back Thursday of next week. Is there any other thing I could try to know what is causing it take more time? Also, the cell which is causing the issue is also present in the |
@radhakrishnatg No worries, I can look into it. Worst case, we can skip that cell since the RAVEN/TEAL setup happens in the first cells (which seem to run just fine). Also, good point about |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #177 +/- ##
=======================================
Coverage 93.74% 93.74%
=======================================
Files 59 59
Lines 7130 7130
=======================================
Hits 6684 6684
Misses 446 446 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
618715a
It looks like running the TEAL notebook in CI mostly works, but there seems to be a solver error causing cells 28 and 29 to fail. Given that:
I'll go ahead and merge this after having:
|
Thank you @lbianchi-lbl |
Addresses issue:
#86 and #90
Summary/Motivation:
This PR replaces #150
Changes proposed in this PR:
Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution: