Integration over a time-invariant variable

Use this forum to post Vensim related questions.
Post Reply
WayneZhou2009
Senior Member
Posts: 105
Joined: Wed Oct 25, 2017 3:52 pm
Vensim version: PRO

Integration over a time-invariant variable

Post 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.
Post Reply