The PDL cascades section defines when each shock fires after the triggering event, using day-offsets (at: 14d, at: 28d…). Currently the simulation fires all shocks simultaneously at a single shock_onset_step.
The goal of this issue is to read the cascade offsets, convert them to per-parameter onset steps (days → simulation weeks), and apply each shock on the correct step.
It might be useful to also convert the simulation timesteps from weeks to days for this.
The PDL cascades section defines when each shock fires after the triggering event, using day-offsets (at: 14d, at: 28d…). Currently the simulation fires all shocks simultaneously at a single shock_onset_step.
The goal of this issue is to read the cascade offsets, convert them to per-parameter onset steps (days → simulation weeks), and apply each shock on the correct step.
It might be useful to also convert the simulation timesteps from weeks to days for this.