You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Model simulators can generate model outputs. Model simulators have a type, which is determined (at least partially) by the engine of a simulator. This discussion describes a proposed set of generic S3 methods for generating different kinds of outputs. The implemented methods for each type of output will depend on the type of model simulator. A challenge will be to get the signature of each implementation to be as similar as possible to the signature of the generic. The closer these signatures are, the easier it will be for users to swap out engines at the modelling output step.
Generic S3 Methods
mp_default
mp_initial
mp_trajectory(time_steps, quantities)
time_steps : number of time steps to simulate and return
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Context
Model simulators can generate model outputs. Model simulators have a type, which is determined (at least partially) by the engine of a simulator. This discussion describes a proposed set of generic S3 methods for generating different kinds of outputs. The implemented methods for each type of output will depend on the type of model simulator. A challenge will be to get the signature of each implementation to be as similar as possible to the signature of the generic. The closer these signatures are, the easier it will be for users to swap out engines at the modelling output step.
Generic S3 Methods
mp_default
mp_initial
mp_trajectory(time_steps, quantities)
time_steps
: number of time steps to simulate and returnquantities
: names of quantities to returnmp_final
mp_rates
mp_summaries
Beta Was this translation helpful? Give feedback.
All reactions