diff --git a/docs/make.jl b/docs/make.jl index ce9640a38..572815ec9 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -53,6 +53,8 @@ makedocs(; pages = Any[p for p in pages], ) +rm(joinpath(@__DIR__, "build", "tutorials", "rts-store"); recursive = true) + deploydocs(; repo = "github.com/NREL-Sienna/PowerSimulations.jl.git", target = "build", diff --git a/docs/src/tutorials/pcm_simulation.md b/docs/src/tutorials/pcm_simulation.md index dd9bcbabb..434099b7d 100644 --- a/docs/src/tutorials/pcm_simulation.md +++ b/docs/src/tutorials/pcm_simulation.md @@ -38,7 +38,7 @@ First, we'll create a `System` with hourly data to represent day-ahead forecaste solar, and load profiles: ```@example pcm -sys_DA = build_system(PSISystems, "modified_RTS_GMLC_DA_sys") +sys_DA = build_system(PSISystems, "modified_RTS_GMLC_DA_sys"; skip_serialization = true) ``` ### 5-Minute system @@ -47,7 +47,7 @@ The RTS data also includes 5-minute resolution time series data. So, we can crea `System` to represent 15 minute ahead forecasted data for a "real-time" market: ```@example pcm -sys_RT = build_system(PSISystems, "modified_RTS_GMLC_RT_sys") +sys_RT = build_system(PSISystems, "modified_RTS_GMLC_RT_sys"; skip_serialization = true) ``` ## `ProblemTemplate`s define stages @@ -165,12 +165,13 @@ Now, we can build and execute a simulation using the `SimulationSequence` and `S that we've defined. ```@example pcm +mkdir(joinpath(".", "rts-store")) #hide sim = Simulation( name = "rts-test", steps = 2, models = models, sequence = DA_RT_sequence, - simulation_folder = mktempdir(".", cleanup = true), + simulation_folder = joinpath(".", "rts-store"), ) ```