Sorry, I didn’t notice that accumulation happens on the group level for the max value in a step. So times in each step are added in top of cumulative max values of all previous steps. Therefore we need to:
- Get max values of each step
- Get a cumulative sum of them
- Bring them to the next step
- Add step times to the cumulative sum
Here is an example that does group-level accumulation.
group-cumulative-sum.morph (4.4 KB)