# Monte Carlo problem, saving at different time points with 'saveat' from DifferentialEquations pkg

**URL:** <https://discourse.julialang.org/t/monte-carlo-problem-saving-at-different-time-points-with-saveat-from-differentialequations-pkg/24476>\
**Category:** Modelling & Simulations\
**Tags:** diffeq\
**Created:** [May 22, 2019, 1:29pm UTC](https://discourse.julialang.org/t/monte-carlo-problem-saving-at-different-time-points-with-saveat-from-differentialequations-pkg/24476 "2019-05-22T13:29:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![moesphere](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/moesphere/32/3348_2.png) [@moesphere](https://discourse.julialang.org/u/moesphere)\
**Post date:** [May 22, 2019, 1:29pm UTC](https://discourse.julialang.org/t/monte-carlo-problem-saving-at-different-time-points-with-saveat-from-differentialequations-pkg/24476/1 "2019-05-22T13:29:41Z")

</div>

Is it possible to save at different time points for each ODE problem in a Monte Carlo study?

```julia
DifferentialEquations.solve(MCprob, saveat=[10.0,20.0])

```

works fine, but saves each ODE problem at the same time points.

I am aware of the fact, that I can extract the solutions at the given time points for each ODE problem individually after solving.

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [May 22, 2019, 2:17pm UTC](https://discourse.julialang.org/t/monte-carlo-problem-saving-at-different-time-points-with-saveat-from-differentialequations-pkg/24476/2 "2019-05-22T14:17:51Z")

</div>

Yeah, our API doesn’t give you a nice way to do this.
