Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/PRAS.jl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ on:
branches: [main]
tags: ["*"]
pull_request:

jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
cancel-in-progress: true
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/PRASCapacityCredits.jl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ on:
branches: [main]
tags: ["*"]
pull_request:

jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
cancel-in-progress: true
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/PRASCore.jl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ on:
branches: [main]
tags: ["*"]
pull_request:

jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
cancel-in-progress: true
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/PRASFiles.jl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ on:
branches: [main]
tags: ["*"]
pull_request:

jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
concurrency:
group: ${{ github.workflow }} - ${{ github.event.pull_request.number || github.ref }} - ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
cancel-in-progress: true
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
jobs:
docs:
name: Documentation
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
runs-on: macOS-latest
permissions:
contents: write
Expand Down
4 changes: 2 additions & 2 deletions PRAS.jl/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ uuid = "05348d26-1c52-11e9-35e3-9d51842d34b9"
authors = [
"Gord Stephen <Gord.Stephen@nrel.gov>",
"Surya Chandan Dhulipala <SuryaChandan.Dhulipala@nrel.gov>",
"Hari Sundar <Hari.Sundar@nrel.gov>",
"Srihari Sundar <Hari.Sundar@nrel.gov>",
"Julian Florez <Julian.Florez@nrel.gov"
]
version = "0.8.0"
Expand All @@ -15,7 +15,7 @@ PRASFiles = "a2806276-6d43-4ef5-91c0-491704cd7cf1"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"

[compat]
PRASCapacityCredits = "0.7"
PRASCapacityCredits = "0.8.0"
PRASCore = "0.8.0"
PRASFiles = "0.8.0"
Reexport = "1"
Expand Down
2 changes: 1 addition & 1 deletion PRASCapacityCredits.jl/Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PRASCapacityCredits"
uuid = "2e1a2ed5-e89d-4cd3-bc86-c0e88a73d3a3"
authors = ["Gord Stephen <gord.stephen@nrel.gov>"]
version = "0.7.0"
version = "0.8.0"

[deps]
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Expand Down
2 changes: 1 addition & 1 deletion PRASCore.jl/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ uuid = "c5c32b99-e7c3-4530-a685-6f76e19f7fe2"
authors = [
"Gord Stephen <gord.stephen@nrel.gov>",
"Surya Chandan Dhulipala <SuryaChandan.Dhulipala@nrel.gov>",
"Hari Sundar <Hari.Sundar@nrel.gov>",
"Srihari Sundar <Hari.Sundar@nrel.gov>",
"Julian Florez <Julian.Florez@nrel.gov"
]
version = "0.8.0"
Expand Down
2 changes: 1 addition & 1 deletion PRASFiles.jl/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ uuid = "a2806276-6d43-4ef5-91c0-491704cd7cf1"
authors = [
"Gord Stephen <Gord.Stephen@nrel.gov>",
"Surya Chandan Dhulipala <SuryaChandan.Dhulipala@nrel.gov>",
"Hari Sundar <Hari.Sundar@nrel.gov>",
"Srihari Sundar <Hari.Sundar@nrel.gov>",
"Julian Florez <Julian.Florez@nrel.gov",
]
version = "0.8.0"
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ These are some steps to follow when making changes to documentation.
1. Checkout a new branch from `main` (e.g. `git checkout -b docupdate`).
2. Instantiate the environment in the `docs` folder by running `] instantiate` in the Julia REPL.
3. Make changes to the documentation files in the `docs` folder and/or the example scripts in the `examples` folder.
4. You can iteratively make changes and build documentation to serve locally by running the `serve.jl` script in the `docs` folder by running
4. You can iteratively make changes and build documentation to serve locally by running the `serve.jl` script from the `docs` folder using this command
```bash
julia --project=. serve.jl --threads auto
julia --project=. -e "using Pkg; Pkg.add(\"LiveServer\"); include(\"serve.jl\")" --threads auto
```
5. Once you push to origin (github.com/NREL/PRAS) and create a pull request, the documentation will be built and served at https://nrel.github.io/PRAS/previews/PR{#}. Once the changes are merged to `main`, the documentation will be available at https://nrel.github.io/PRAS/dev. On tagging a PRAS version for release, the documentation will be available at https://nrel.github.io/PRAS/stable and https://nrel.github.io/PRAS/vX.Y.Z (where X.Y.Z is the version number).
6. More instructions on version tagging and release can be found in the [Documenter.jl](https://documenter.juliadocs.org/stable/man/hosting/#Documentation-Versions) instructions.
11 changes: 6 additions & 5 deletions docs/serve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ using LiveServer
using Pkg

# Develop all packages
for pkg in ["PRASCore.jl", "PRASFiles.jl", "PRASCapacityCredits.jl"]
pkg_path = joinpath("..", pkg)
isdir(pkg_path) || continue
Pkg.develop(PackageSpec(path=pkg_path))
end
Pkg.develop([
(path="../PRASCore.jl",),
(path="../PRASFiles.jl",),
(path="../PRASCapacityCredits.jl",),
(path="../PRAS.jl",)
])

# Build docs
include("make.jl")
Expand Down
7 changes: 7 additions & 0 deletions docs/src/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# PRAS

!!! note "Announcement"
PRAS v0.8.0 was released in October 2025, and it includes the capability to
model shift and shed type demand reponse devices. If you need these
capabilities, be sure to increment PRAS version in your projects. There are no
breaking changes with this release, and your old workflows will also work
as is.

The Probabilistic Resource Adequacy Suite (PRAS) provides an open-source, research-oriented collection of tools for analysing the [resource adequacy](@ref resourceadequacy) of a
bulk power system. It allows the user to simulate power system operations under a wide range of operating conditions in order to study the risk of failing to meet demand (due to a lack of supply or deliverability), and identify the time periods and regions in which that risk occurs. It offers high-performance sequential Monte Carlo methods supporting multi-region composite reliability assessment, including simulation of energy-limited resources such as storage.

Expand Down
Loading