Stocks and flows

Use this forum to post Vensim related questions.
Post Reply
jensen568
Junior Member
Posts: 2
Joined: Mon Dec 13, 2021 4:40 pm
Vensim version: PLE

Stocks and flows

Post by jensen568 »

Hey, im new to vensim. I cant seem to figure out how to make this stock and flow diagram work..
I would really appreciate som tips/help! :D
Attachments
Tommis s and f.mdl
(6.82 KiB) Downloaded 102 times
tomfid
Administrator
Posts: 3804
Joined: Wed May 24, 2006 4:54 am

Re: Stocks and flows

Post by tomfid »

I think it would be good to start by resolving the unit errors, because some of them suggest conceptual problems in a few equations.

In particular,

Code: Select all

Surveys in execution  = 
        INTEG( ( surveys in executions 
                  + Surveys executed ) 
                  / 2, 
             100) 
I'm not sure what's going on here, but this is integrating the average of the inflow and outflow, both as positive values. Probably this should just be INTEG( surveys in executions - Surveys executed, 100 ). Generally your INTEG expression (i.e. stocks) should only be summing the inflows (added) & outflows (subtracted).

Code: Select all

Cancelled  = 
        Surveys in aqusition 
             * ( 1
                  - 0.8)
Not sure what the "1-0.8" here means, but guessing that this should be made a separate named parameter, like
cancellation rate = 0.2 ~ fraction/year There are several other parameters buried in equations that should be made into separate named variables.
jensen568
Junior Member
Posts: 2
Joined: Mon Dec 13, 2021 4:40 pm
Vensim version: PLE

Re: Stocks and flows

Post by jensen568 »

Thank you for you're reply! :D
Post Reply