# Is there a way to change a single parameter in am ODEproblem and rerun it?

**URL:** <https://discourse.julialang.org/t/is-there-a-way-to-change-a-single-parameter-in-am-odeproblem-and-rerun-it/86775>\
**Category:** Modelling & Simulations\
**Created:** [September 4, 2022, 11:01pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-change-a-single-parameter-in-am-odeproblem-and-rerun-it/86775 "2022-09-04T23:01:45Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![TS-CUBED](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ts-cubed/32/25292_2.png) [@TS-CUBED](https://discourse.julialang.org/u/TS-CUBED)\
**Post date:** [September 5, 2022, 8:39am UTC](https://discourse.julialang.org/t/is-there-a-way-to-change-a-single-parameter-in-am-odeproblem-and-rerun-it/86775/4 "2022-09-05T08:39:34Z")

</div>

> [@SteffenPL](#):
>
> you could simply define a function `update_params!` if you need it often.

I already have a `reparameterise(prob, sys, p)` which takes the whole parameter map `p`, will add the `default` option to that, so it deals with partial maps as well.

That’s very helpful.

---

_[View the full topic](https://discourse.julialang.org/t/is-there-a-way-to-change-a-single-parameter-in-am-odeproblem-and-rerun-it/86775)._
