Construct a simulator from a model specification object.
Usage
mp_simulator(model, time_steps, outputs, default = list())
Arguments
- model
A model specification object.
- time_steps
How many time steps should be simulated when simulations are requested?
- outputs
Character vector of names of model quantities that will be outputted when simulations are requested.
- default
Named list of numerical objects that will update the default values defined in the model specification object. Any number of objects can be updated or not.