This package contains examples and tutorials for Scalable Integrated Infrastructure Planning (SIIP) packages developed at the National Renewable Energy Laboratory (NREL). This repository uses a template established by JuMPTutorials.jl.
The examples included here are intended as practical examples of using SIIP packages. However, in many cases users may find the documentation pages for each package more informative:
- InfrastructureSystems.jl docs
- PowerSystems.jl docs
- PowerSimulations.jl docs
- PowerGraphics.jl docs
- PowerSimulationsDynamics.jl docs
To try out any of the tutorials in the browser without downloading Julia, click on the launch binder button above. Note that this functionality only supports open-source solvers which do not have additional requirements (for e.g. BLAS or MATLAB). This is also very slow and can take several minutes to start as it has to first install Julia and all the dependencies. Thus, you should download and run the notebooks on your local machine for the best experience.
Prerequisites:
- Install Julia
To get started running the Jupyter notebooks included in this package, you can follow the process in this video demonstrating the following steps:
- Install SIIPExamples:
using Pkg; Pkg.add("SIIPExamples")
- Launch a notebook server for any of the example categories (
JuliaExamples, PSYExamples, PSIExamples, PSDExamples
):notebook(PSYExamples)
- Introduction
- PowerSystems.jl Examples
- PowerSimulations.jl Examples
- Single Step UC RTS Example
- Sequential DA-RT RTS Example
- Hydro Modeling with tips to inspect formulations
- Sequential DA-RT 5bus Example
- ACOPF Example
- Selective Line Enforcement Example
- Simulations with large-scale U.S. systems
- Simulations with TAMU test systems
- Simulating Time Varying Market Bids
- PTDF Network and LMP Calculations
- Plotting with PowerGraphics.jl
- PowerSimulationsDynamics.jl Examples
On occasion, you may have constructed a System
using PowerSystemsCaseBuilder.jl that needs
to be reconstructed. In this case, you may receive an error such as:
ERROR: UndefVarError: PowerSystems.ReserveUp not defined
To resolve this issue, you can purge the serialized system data from your PowerSystemsCaseBuilder.jl instance by running:
using PowerSystemCaseBuilder
PowerSystemCaseBuilder.clear_all_serialized_system()