View source: R/CreateSupervisor.R
CreateSupervisor | R Documentation |
Creation of a Supervisor for handling regulation in a model
CreateSupervisor(InputsModel, TimeStep = 1L)
InputsModel |
[object of type |
TimeStep |
numeric number of time steps between each supervision |
See RunModel.Supervisor and vignettes for examples of use.
A Supervisor
object which is an environment containing all the necessary variables to run a supervised simulation, such as:
DatesR
POSIXct: vector of date from InputsModel
InputsModel
: a copy of InputsModel
provided by CreateInputsModel.GRiwrm
griwrm
: a copy of griwrm
provided by CreateGRiwrm
Controllers
list: list of the controllers used in the supervised simulation (See CreateController)
some internal state variables updated during simulation (ts.index
, ts.previous
, ts.date
, ts.index0
, controller.id
)
RunModel.Supervisor()
, CreateController()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.