Maths - Integrals
Posted: Tue Aug 17, 2021 10:05 am
Hi all,
I am trying to represent this mathematical expression into a SD-Vensim model:
X(t)=∫X(t,r)f(r)dr
The integral is defined between zero and R=2 (for example)
X(t,r) represent a variable (disease incidence) at time t with a rate r, and is defined by the logistic equation X(t)=1/(1+(1-Yo/Yo)*EXP(-r*t)).
Yo is a parameter constant.
f(r) is a density function, specifically, the exponential distribution: f(r)=EXP(-r/d)/d.
d is a parameter constant
Is it possible to translate this into a stock-and-flows diagram model in Vensim?
Thanks in advance
I am trying to represent this mathematical expression into a SD-Vensim model:
X(t)=∫X(t,r)f(r)dr
The integral is defined between zero and R=2 (for example)
X(t,r) represent a variable (disease incidence) at time t with a rate r, and is defined by the logistic equation X(t)=1/(1+(1-Yo/Yo)*EXP(-r*t)).
Yo is a parameter constant.
f(r) is a density function, specifically, the exponential distribution: f(r)=EXP(-r/d)/d.
d is a parameter constant
Is it possible to translate this into a stock-and-flows diagram model in Vensim?
Thanks in advance