Scenario specification
Scenario specification
R6 class used to store the data and model components needed to simulate
scenarios from a fitted solarModel object.
Version 1.0.3
locationTibble containing the name of the reference location and its coordinates.
targetCharacter, target variable.
quietLogical. If TRUE, suppress selected messages and warnings.
controlNamed list with date range and simulation setup values.
simulationsList of simulated scenario data sets.
placeCharacter value with the reference place.
ARMAList of stored ARMA model parameters used for simulation.
GARCHList of stored GARCH model parameters used for simulation.
transformTransformation object copied from the model specification.
data_simTibble containing the data used as the simulation template.
empTibble containing empirical data stored in the specification.
nsimInteger number of stored simulations.
scenariosNested tibble built from stored simulations.
new()Initialize a solarScenario_spec object.
solarScenario_spec$new(
model,
from = "2010-01-01",
to = "2010-12-31",
theta = 0,
exclude_known = FALSE,
seed = 1,
quiet = FALSE
)modelA fitted solarModel object.
fromDate or character value coercible to Date. First date of the scenario period.
toDate or character value coercible to Date. Last date of the scenario period.
thetaNumeric value stored in the simulation data as theta.
exclude_knownLogical. If TRUE, empirical data stored in the specification are restricted to dates from from to to.
seedInteger seed stored for scenario simulation.
quietLogical. If TRUE, suppress selected messages and warnings.
prob()Marginal mixture probabilities.
A numeric vector or object returned by the stored probability model's predict() method.
print()Print a summary of the scenario specification.