[R-sig-dyn-mod] Limiting State Value to remain below a maximum value
Daniel Kaschek
daniel.kaschek at physik.uni-freiburg.de
Mon Jul 27 22:35:23 CEST 2015
Hi Derek,
On Mo, 2015-07-27 at 12:30 -0700, Derek van der Kamp wrote:
> Is there a more efficient way to keep a state value below some maximum
> value?
You could introduce a repulsive term for your state variable y, e.g.
dy/dt = f(y) - k^n/(ymax^n - y^n)
Cheers,
Daniel
>
> Cheers,
>
> Derek
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-dynamic-models mailing list
> R-sig-dynamic-models at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-dynamic-models
More information about the R-sig-dynamic-models
mailing list