SSMSE icon indicating copy to clipboard operation
SSMSE copied to clipboard

"replicate" option in future_om_list does not replicate rec_devs when scenarios run in tandem

Open rwildermuth opened this issue 2 years ago • 3 comments

After some digging, I figured out that running multiple scenarios in a single run_SSMSE() call with scen = c("replicate", "all") in the future_om_list doesn't actually make the recruitment deviations in the OM the same across scenarios. If I provide a seed to the run_SSMSE() call and run it separately for each scenario, then I do get the same rec_dev time series.

I've saved an example of this while implementing autocorrelated recruitment to our SardineMSE github here.

I discovered this because I need to call run_SSMSE() separately for our project in order to use multiple different custom HCR functions and that function won't allow you to specify more than one 'custom_MS_source'.

Note: this isn't a problem for situations where all recruitment deviations are provided outside of SSMSE as is done here. In this case, tandem scenarios all have rec_dev time series in common.

rwildermuth avatar Dec 16 '22 00:12 rwildermuth