Skip to content

Update PRAS version used in ReEDS to 0.8.0 #47

Merged
sriharisundar merged 7 commits into
mainfrom
ssh/upgradePRAS
Apr 23, 2026
Merged

Update PRAS version used in ReEDS to 0.8.0 #47
sriharisundar merged 7 commits into
mainfrom
ssh/upgradePRAS

Conversation

@sriharisundar
Copy link
Copy Markdown
Collaborator

@sriharisundar sriharisundar commented Apr 20, 2026

Summary

Upgrading PRAS and Julia dependencies, moving Julia from conda environnment to juliaup installation based installation on Linux and MacOS, and updating to Julia 1.12+. With this change PRAS is installed from the Julia general repository and this should reduce installation issues with SSL etc.

Technical details

Implementation notes

We restrict Julia to a very specific version because of more flexibility just throwing a warning and not an error - JuliaLang/Pkg.jl#2296
Something to keep an eye out for.

Additional changes

Switches added/removed/changed

Issues resolved

#32

Known incompatibilities

Relevant sources or documentation

Charge code for review

Validation, testing, and comparison report(s)

53a60f80-fe3c-43ff-b078-031ccb81b558

New repo and installation procedures listed work on

Checklist for author

Details to double-check

  • Charge code provided for review
  • Included comparison reports for appropriate test cases
  • Documentation updated if necessary

General information to guide review

  • Zero impact on results of default case
  • No large data file(s) added/modified
  • No substantive impact on runtime for full-US reference case
  • No substantive impact on folder size for full-US reference case
  • No change to process flow (runbatch.py, d_solve_iterate.py)
  • No change to code organization
  • No change to package requirements (environment.yml or Project.toml)

Did you use LLM tools (chatbot or copilot) in the preparation of this PR? If so, describe how

Yes. I used copilot in writing the installation instructions for Julia but verified it myself and against Julia github installation instructions.

Tag points of contact here if you would like additional review of the relevant parts of the model

@sriharisundar sriharisundar marked this pull request as ready for review April 20, 2026 21:37
Comment thread docs/source/setup.md
@kennedy-mindermann
Copy link
Copy Markdown
Contributor

I tested this on Mac and took the following steps to uninstall the conda version of Julia and reinstall via homebrew:

  1. run conda env update -f environment.yml --prune
  2. activate the reeds2 environment if you didn't already
  3. verify Julia was removed by running the following command: which julia (nothing should be returned)
  4. installed via homebrew: brew install juliaup
  5. continued with the rest of the setup here

Comment thread .github/workflows/cache.yaml Outdated
@louisaserpe
Copy link
Copy Markdown

louisaserpe commented Apr 22, 2026

I tested this on Yampa using the following setup steps:

  1. Removed Julia from the reeds2 environment (machine has Julia installed)
  2. Instantiate the Julia environment using julia --project=. instantiate.jl

The Pacific test case completed as expected.

Copy link
Copy Markdown
Contributor

@patrickbrown4 patrickbrown4 left a comment

Choose a reason for hiding this comment

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

We should wait to merge until we've confirmed it works on Windows, but otherwise it looks great; the explicit platform-specific docs are really helpful. Thanks a lot!

Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread Project.toml
Copy link
Copy Markdown
Contributor

@wesleyjcole wesleyjcole left a comment

Choose a reason for hiding this comment

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

I tested this on Windows and it worked for me.

Comment thread docs/source/setup.md Outdated
Comment thread README.md Outdated
Comment thread docs/source/setup.md Outdated
Comment thread docs/source/setup.md Outdated
sriharisundar and others added 2 commits April 22, 2026 18:06
Co-authored-by: Patrick Brown <25125211+patrickbrown4@users.noreply.github.com>
@sriharisundar sriharisundar merged commit 8f7a569 into main Apr 23, 2026
10 checks passed
@sriharisundar sriharisundar deleted the ssh/upgradePRAS branch April 23, 2026 02:28
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.

6 participants