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

TODO for December 2022 Release #132

Closed
13 of 16 tasks
lbianchi-lbl opened this issue Jul 11, 2022 · 7 comments
Closed
13 of 16 tasks

TODO for December 2022 Release #132

lbianchi-lbl opened this issue Jul 11, 2022 · 7 comments
Assignees
Labels
Priority:High High Priority Issue or PR

Comments

@lbianchi-lbl
Copy link
Contributor

lbianchi-lbl commented Jul 11, 2022

Summary

There are two distinct sets of changes that should be merged into IDAES/idaes-pse for DISPATCHES, which I'm calling very arbitrarily A and B:

A

  • What it is Updates to MultiperiodModel
  • What is affected Needed for the nuclear case study (Although all three case studies use MultiPeriodModel, the updates are needed only for the nuclear case study. The updates are backwards compatible, so no changes are needed to the other case studies.)
  • How it is now: MultiperiodModel is re-implemented in DISPATCHES (i.e. imported from https://github.com/gmlc-dispatches/dispatches/blob/main/dispatches/models/nuclear_case/flowsheets/multiperiod.py)
  • How it should be: MultiperiodModel is imported from idaes.apps.grid_integration (Both renewables and fossil case studies are already doing this. After the updates are merged, the nuclear case study should be able to do it too.)

B

  • What it is Real-time bidding
  • What is affected
    • Currently needed by the RE case study
  • How it is now
    • The required changes are implemented in a separate fork and branch/tag of IDAES (dguittet:2.0.0.0a4)
      • Most of the changes were authored by @xiangao1; @dguittet created the branch/tag to store the changes to be able to include the RE case study in the June 2022 release during Add core infra for RE double-loop simulation #124
      • IMPORTANT these changes are NOT compatible with the rest of the codebase (i.e. just setting the idaes-pse requirement to this ref in setup.py will cause the non-RE case studies to fail)
      • This link shows the differences between dguittet:2.0.0.a4 and IDAES:main, i.e. "if a PR was opened from dguittet:2.0.0.a4 to IDAES:main, what would it look like?"): IDAES/idaes-pse@IDAES:main...dguittet:2.0.0.a4
    • An explicit check in various parts of the RE case study codebase ensures that the required functionality is available by looking at the version of the installed
    • To be able to test the RE notebooks in CI, a fairly clunky workaround is implemented in the CI workflow to run the RE notebooks only after re-installing idaes-pse from dguittet:2.0.0.a4
  • How it should be: These changes should be merged into IDAES/idaes-pse together with A so that the same version of idaes-pse works for the entire DISPATCHES codebase

C

  • ThermalGeneratorModelData is needed by the RE case study, but missing from the current IDAES
  • Fix AGC bounds in grid integration code for thermal generators
  • Update NE and FE double loop flow sheets to use above updates

D

PRs in IDAES/idaes-pse

TODO in DISPATCHES

Moved to #123

@radhakrishnatg
Copy link
Contributor

@dguittet From what I understand, you need this branch https://github.com/dguittet/idaes-pse/tree/2.0.0.a4 for the renewable case study. So, are you planning to create a PR in IDAES with these changes? If yes, it would be better to merge these changes as soon as possible.

@radhakrishnatg
Copy link
Contributor

@dguittet @xiangao1 Another question. Are the changes to Bidder, Coordinator and Tracker classes in this branch (https://github.com/dguittet/idaes-pse/tree/2.0.0.a4) valid in general, or are they RE case study specific? @lbianchi-lbl and I were thinking we could do the following. Merge the changes to the above classes that are not case study specific with IDAES main. And, the changes that are case study specific can be included in DISPATCHES. Let us know what your thoughts are regarding this. Thank you!

@adowling2
Copy link
Contributor

My vote is to generalize and contribute back to IDAES to the extent possible.

@ksbeattie
Copy link
Contributor

@dguittet : We need to determine if this is generalizable and contribute this back to IDAES - which would need to happen for the IDAES Aug release.

@lbianchi-lbl
Copy link
Contributor Author

@ksbeattie I've just updated the issue description with a more detailed description of (what I understand being) the situation. @dguittet @radhakrishnatg, could you verify that the information is correct, and add fixes and/or clarifications as needed?

@radhakrishnatg
Copy link
Contributor

Sorry, @lbianchi-lbl ! I must have missed the notification, and I noticed it just now. Thanks for capturing everything we discussed! Everything looks good. I only made minor changes the description.

@dguittet
Copy link
Contributor

Looks great @lbianchi-lbl

One thing that I haven't seen written here that we've discussed is: in (B), needing to update the nuclear and fossil double loop notebooks to use the changes. Once idaes-pse has been released with the changes in (B), those notebooks released in the current dispatches are going to be incompatible with this newest idaes-pse. The next dispatches release that follows this idaes Aug release should contain changes to all 3 double loop notebooks.

@radhakrishnatg radhakrishnatg changed the title Track changes in 2022 Aug IDAES release TODO for October 2022 Release Oct 2, 2022
@ksbeattie ksbeattie changed the title TODO for October 2022 Release TODO for December 2022 Release Oct 3, 2022
@lbianchi-lbl lbianchi-lbl pinned this issue Oct 10, 2022
Repository owner moved this from In Progress to Done in Dec 2022 Release Dec 19, 2022
@lbianchi-lbl lbianchi-lbl unpinned this issue Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:High High Priority Issue or PR
Projects
No open projects
Status: Done
Development

No branches or pull requests

5 participants