Hi
I have found a solution that works but where one must make the reality check run with both value of the constant
choice of the competitor to be checked. It should be written differently with many subscripts using mapping.
But by making the constant vary accordingly one should be able to run reality check from VBA with any number of subscripts.
Joined the model corrected.
Regards.
JJ
[Edited on 21-4-2009 by LAUJJL]
Reality check problem
Reality check problem
- Attachments
-
- essairc2.mdl
- (5.24 KiB) Downloaded 345 times
reality check problem
Hi
Browsing the DSS documentation, I did not find any command concerning reality check in the Venapp, scripting language not the DLL. The only place where there was a command was in external compiled function.
Is it possible to launch reality checking from Excel, or is it necessary to build an external compiled function and in that case it is possible to drive compiled applications from Excel through VBA.
Best regards.
JJ
Browsing the DSS documentation, I did not find any command concerning reality check in the Venapp, scripting language not the DLL. The only place where there was a command was in external compiled function.
Is it possible to launch reality checking from Excel, or is it necessary to build an external compiled function and in that case it is possible to drive compiled applications from Excel through VBA.
Best regards.
JJ
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm
Reality Checks can only be launched via the main Vensim interface, there is no Venapp command for this. Each time a reality check is activated the model structure changes and the model equations are reordered for computation. There is no way to make this work with compiled simulation or by using the Venim DLL both of which require a fixed morel structure.
reality check
Hi Bob
Thank you for the reply. I will try to cope with that shortcoming the best I can.
Best regards.
JJ
Thank you for the reply. I will try to cope with that shortcoming the best I can.
Best regards.
JJ