SiennaPRASInterface.jl
About
SiennaPRASInterface.jl is a Julia package that provides an interface to PRAS.jl from Sienna's PowerSystem.jl's System data model.
The Probabilistic Resource Adequacy Suite (PRAS) analyzes the resource adequacy of a bulk power system using Monte Carlo methods.
Getting Started
To use SiennaPRASInterface.jl, you first need a System from PowerSystems.jl
1. Install
] add SiennaPRASInterface2. Add Data
Add outage information to generators using the supplemental attribute GeometricDistributionForcedOutage.
using PowerSystems
transition_data = GeometricDistributionForcedOutage(;
mean_time_to_recovery=10, # Units of hours
outage_transition_probability=0.005, # Probability for outage per hour
)
component = get_component(Generator, sys, "test_generator")
add_supplemental_attribute!(sys, component, transition_data)3. Calculate Shortfalls and Expected Unserved Energy on System
using SiennaPRASInterface
sequential_monte_carlo = SequentialMonteCarlo(samples=10_000, seed=1)
shortfalls, = assess(sys, PowerSystems.Area, sequential_monte_carlo, Shortfall())
eue = EUE(shortfalls)Documentation
SiennaPRASInterface has been developed as part of the Transmission Planning Tools Maintenance project at the U.S. Department of Energy's National Renewable Energy Laboratory (NREL) funded by DOE Grid Deployment Office (GDO).