Clears the output interval from the simulation and adds a new one.
Source:R/utilities-output-schema.R
setOutputInterval.Rd
Clears the output interval from the simulation and adds a new one.
Examples
simPath <- system.file("extdata", "simple.pkml", package = "ospsuite")
# Load the simulation
sim <- loadSimulation(simPath, addToCache = FALSE, loadFromCache = FALSE)
# Adds a new interval starting at 1h and ending at 10h with a resolution of 10 points per hour
setOutputInterval(sim, 1 * 60, 10 * 60, 1 / 6)