setInitialValues function

Set initial values to values from a simulation