Skip to content

Commit

Permalink
fix PCM folder and remove it
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigomha committed Jul 8, 2024
1 parent df14bae commit c6b2502
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
7 changes: 4 additions & 3 deletions docs/src/tutorials/pcm_simulation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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"),
)
```

Expand Down

0 comments on commit c6b2502

Please sign in to comment.