Hi,
I am having challenges when trying to run a sensitivity analysis while using the GET DIRECT CONSTANTS() function.
This is my first time using this function because I need to integrate the model with an online dashboard. The online dashboard does not support reading from .out file, but it can read from Excel, so GET DIRECT CONSTANTS() helps with that. I calibrate the model by overriding the constants retrieved with GET DIRECT CONSTANTS(). I then store the calibrated variables in an Excel file and read from there for running the dashboard.
Now I want to move on to sensitivity analysis. I tried importing MCMC samples from a .tab file for a sensitivity run. However, even when I coded in the .cmd file to override GET DIRECT CONSTANTS, I am not able to read the sensitivity input from the file.
As a workaround, I considered duplicating the calibrated variables and connecting both variables to the main variable together with a switch variable. This would act as a manual override to GET DIRECT CONSTANTS(), allowing me to run sensitivity as usual.
However, I have quite a few such variables, and this approach feels inefficient. Also, I don’t want to remove GET DIRECT CONSTANTS() completely, since I still need it for dashboard integration and having two separate versions of the model would not be convenient as the model is being updated.
Question:
Is there a better/easier way to run sensitivity analysis with MCMC samples while still using GET DIRECT CONSTANTS()?
Best,
Zeynep
Difficulty running sensitivity analysis with GET DIRECT CONSTANTS() and MCMC samples
Re: Difficulty running sensitivity analysis with GET DIRECT CONSTANTS() and MCMC samples
Maybe this setting is what you need?
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/