Page 1 of 1

Integration over a time-invariant variable

Posted: Wed Oct 10, 2018 4:47 pm
by WayneZhou2009
Hi,

Is there any way to do integration over a variable that is not related to TIME STEP, i.e. time-invariant? For example, P(mu) is a probability density function of mu where mu is the time-invariant variable which has a predefined range, say, 1 to 10. Now I want to integrate variable A over the distribution of mu, in order to get variable B. Variable A is a function of mu and other variables.

Variable B = INTEG Variable A * P(mu) d mu

I guess the first step is to normalize P(mu), and then do the integration.

How to realize this in Vensim? I checked LOOKUP AREA example but it appears somewhere in the model setup the TIME has to be involved. Maybe subscript is the way out?

Many thanks.