Sensitivity on subscripted variable

Use this forum to post Vensim related questions.
Post Reply
mrwerdna
Junior Member
Posts: 6
Joined: Fri Oct 30, 2015 3:45 pm
Vensim version: DSS

Sensitivity on subscripted variable

Post by mrwerdna »

How does sensitivity analysis work on subscripted variable. The sensitivity Simulation setup does not seem to allow you to select the individual subscripts to apply and tries to assign a single value that fails. From the VSC file on a single subscripted variable:

200,M,1234,,0
SubscriptedVariable =RANDOM_UNIFORM(.1,.9)

Would editing the VSC file to account for individual subscript groups work? The documentation of simulation and subscripting do not seem to overlap. Any guidance would be appreciated.
Thanks You
Eric
tomfid
Administrator
Posts: 3808
Joined: Wed May 24, 2006 4:54 am

Re: Sensitivity on subscripted variable

Post by tomfid »

When you select a parameter, the variable list dialog has an option to add the subscript range or elements. Alternately, you can add it manually in the parameter field in the sensitivity control setup dialog.

You can also edit the .vsc directly, but that's generally not needed.
SubscriptedVariable =RANDOM_UNIFORM(.1,.9)
This won't work. You either need SubscriptedVariable[range] or SubscriptedVariable[element].
Post Reply