cumulative value over specified time range

Use this forum to post Vensim related questions.
Post Reply
ebr567
Member
Posts: 36
Joined: Sat Mar 14, 2015 11:26 am
Vensim version: DSS

cumulative value over specified time range

Post by ebr567 »

Hello,

I am currently using a Level with an initial value of 0 to determine the amount of money generated. How can I start integrating the money after 5 days instead of 0 days?

Thank you!
tomfid
Administrator
Posts: 3808
Joined: Wed May 24, 2006 4:54 am

Re: cumulative value over specified time range

Post by tomfid »

Something like:

Code: Select all

cumulative = INTEG( inflow, 0 ) ~ $
inflow = STEP(1,start time) * fund_flow ~ $/day
start time = 5 ~ days
ebr567
Member
Posts: 36
Joined: Sat Mar 14, 2015 11:26 am
Vensim version: DSS

Re: cumulative value over specified time range

Post by ebr567 »

Excellent. Thanks!
Post Reply