How to generate the cumulative variable from existing variable in vensim?

Use this forum to post Vensim related questions.
Post Reply
Susan@6
Junior Member
Posts: 3
Joined: Thu Mar 28, 2024 4:12 pm
Vensim version: PLE

How to generate the cumulative variable from existing variable in vensim?

Post by Susan@6 »

I wanted to generate a new variable, which is a cumulative frequency on another variable in the model. Eg:

Year GDP Cumulative GDP
2014 100
2015 200 300
2016 300 600

Now, how do we find this Cumulative GDP? I have Vensim PLE only.
tomfid
Administrator
Posts: 3986
Joined: Wed May 24, 2006 4:54 am

Re: How to generate the cumulative variable from existing variable in vensim?

Post by tomfid »

Accumulation implies a stock, so you could create a stock of Cumulative GDP with an inflow of Current GDP. Note that this implies a change of units (if the flow is $/year, and the stock is $ for example).
Post Reply