PRAS
NLR's Probabilistic Resource Adequacy Suite (PRAS)
Install / Use
/learn @NatLabRockies/PRASREADME
Probabilistic Resource Adequacy Suite
The Probabilistic Resource Adequacy Suite (PRAS) is a collection of tools for bulk power system resource adequacy analysis and capacity credit calculation. Latest documentation is available here. The citable documentation report for v0.6 is available here.
Installation
PRAS is written in the Julia numerical programming language. If you haven't already, your first step should be to install Julia. Instructions are available at julialang.org/downloads.
Once you have Julia installed, PRAS can be installed from the Julia General registry which is installed by default if you have no other registries installed.
From the main Julia prompt, type ] to enter the package management REPL.
The prompt should change from julia> to something like (v1.10) pkg>
(your version number may be slightly different).
Type (or paste) the following (minus the pkg> prompt)
pkg> add PRAS
This will automatically install the PRAS Julia module and all of its
related dependencies. At this point you can hit Backspace to switch back to the
main julia> prompt.
Basic usage
With PRAS installed, you can load it into Julia as follows:
using PRAS
This will make the core PRAS functions (most importantly, the SystemModel
and assess functions) available for use in your Julia script or
interactive REPL session.
The following snippet shows expected unserved energy (EUE) assessment for the RTS-GMLC system, which is packaged with PRAS.
rts_gmlc_sys = rts_gmlc();
shortfall, = assess(rts_gmlc_sys,
SequentialMonteCarlo(samples=10,seed=1),
Shortfall()
);
println("Total system $(EUE(shortfall))")
# Total system EUE = 0.00000 MWh/8784h
The Getting Started page provides more information on using PRAS.
Related Skills
node-connect
341.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.6kCommit, push, and open a PR
