# How to use replaceRV! in MIMI

**URL:** <https://forum.mimiframework.org/t/how-to-use-replacerv-in-mimi/115>\
**Category:** Uncategorized\
**Created:** [April 17, 2020, 9:38pm UTC](https://forum.mimiframework.org/t/how-to-use-replacerv-in-mimi/115 "2020-04-17T21:38:05Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![KGregory](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.mimiframework.org/kgregory/32/32_2.png) [@KGregory](https://forum.mimiframework.org/u/KGregory)\
**Post date:** [April 17, 2020, 9:38pm UTC](https://forum.mimiframework.org/t/how-to-use-replacerv-in-mimi/115/1 "2020-04-17T21:38:05Z")

</div>

The “Simulation Modification Functions” section of Tutorial 4 at [https://www.mimiframework.org/Mimi.jl/dev/tutorials/tutorial\_4/](https://www.mimiframework.org/Mimi.jl/dev/tutorials/tutorial_4/) says the function “replaceRV!” is “available to modify an existing `SimulationDef`.” Can this function be used to update a random variable for use in a Monte Carlo simulation? I want to update the climatesensitivity random variable which is currently “Truncated(Gamma(6.47815626,0.547629469), 1.0, Inf)”. How can I do this?

---

_[View the full topic](https://forum.mimiframework.org/t/how-to-use-replacerv-in-mimi/115)._
