Hi @Behnam
Yes, this is possible, as also mentioned in this forum post:
In your simulation it appears to be a rather fast change, so modeling it directly within the simulation is appropriate.
If the change were slow or simply a step, another option could be to stop the simulation at certain points and update the parameters before continuing.