Search found 18 matches

by devM5
Fri Jul 07, 2023 9:57 am
Forum: Vensim
Topic: Can't find function "View > As Text" in new sketch UI
Replies: 1
Views: 573

Can't find function "View > As Text" in new sketch UI

Hello,

I am using the new sketch style in Vensim 8.2.1, however I cannot find the function to view the model as text.

image.png
image.png (13.11 KiB) Viewed 573 times

It used to be in the menu bar in View > As Text. Has it been moved to another place or is there a shortcut to open the text view?
by devM5
Fri Feb 18, 2022 8:27 am
Forum: Vensim
Topic: why are vdfx double the size than vdf files?
Replies: 5
Views: 1755

Re: why are vdfx double the size than vdf files?

OK, thank you!
by devM5
Thu Feb 17, 2022 10:51 am
Forum: Vensim
Topic: why are vdfx double the size than vdf files?
Replies: 5
Views: 1755

Re: why are vdfx double the size than vdf files?

Is there a way to have Vensim save simulation results as single precision numbers, even though the DP version of Vensim is installed? As far as I can see, there has been no SP version released with version 8.2.1 and newer. The simulation size of over 1 GB fills a local hard disk with 250 GB of space...
by devM5
Mon Jul 19, 2021 2:06 pm
Forum: Vensim
Topic: 32-bit Excel cannot find 64-bit DLL
Replies: 2
Views: 1092

Re: 32-bit Excel cannot find 64-bit DLL

Ok, thank you!
by devM5
Mon Jul 19, 2021 12:43 pm
Forum: Vensim
Topic: 32-bit Excel cannot find 64-bit DLL
Replies: 2
Views: 1092

32-bit Excel cannot find 64-bit DLL

I am trying to get the DLL-examples delivered with Vensim 8.2.1 (64-bit) to run in Microsoft Excel 2016 (32-bit). The example I am using is C:\Users\Public\Vensim\DLL\excel97\VENDLL.XLS When I run the "Get Vensim Info"-macro, Excel is returning a runtime error errorcode 53 - vendll32.dll n...
by devM5
Thu Feb 04, 2021 7:51 am
Forum: Vensim
Topic: Compiled simulation error with Vensim DSS 8.0.9 x64
Replies: 15
Views: 5609

Re: Compiled simulation error with Vensim DSS 8.0.9 x64

The difference may also come from me operating the stopwatch late in the evening, so it could be less :D

I will check it again.
by devM5
Wed Feb 03, 2021 10:27 pm
Forum: Vensim
Topic: Compiled simulation error with Vensim DSS 8.0.9 x64
Replies: 15
Views: 5609

Re: Compiled simulation error with Vensim DSS 8.0.9 x64

Must be either different compilers, or optimization settings for the compiler. Are you using the same compiler on both machines? And the line beginning "cl" in mdl.bat, what /O switches are on each? Machine 1 is using Visual Studio 2010 with compile statement CL /c /I "%2" /DWIN...
by devM5
Wed Feb 03, 2021 12:17 pm
Forum: Vensim
Topic: Compiled simulation error with Vensim DSS 8.0.9 x64
Replies: 15
Views: 5609

Re: Compiled simulation error with Vensim DSS 8.0.9 x64

Sorry for the delay, I didn't get to test it again until yesterday. I could figure out that the compiled simulation wasn't working due to a wrong configuration. In the vensim settings, I configured a mdl.bat which pointed to the wrong location in the Visual Studio\bin directory. I got it to work now...
by devM5
Wed Jan 20, 2021 6:39 am
Forum: Vensim
Topic: Compiled simulation error with Vensim DSS 8.0.9 x64
Replies: 15
Views: 5609

Re: Compiled simulation error with Vensim DSS 8.0.9 x64

Thanks for your help @tomfid and @Administrator.

I won't be in office until tomorrow to try out the tests you recommended. Once I return there, I will test it.
by devM5
Mon Jan 18, 2021 4:38 pm
Forum: Vensim
Topic: Compiled simulation error with Vensim DSS 8.0.9 x64
Replies: 15
Views: 5609

Re: Compiled simulation error with Vensim DSS 8.0.9 x64

This is the output I get in my cmd-window. Did I do it as you intended?
cmd_cl.PNG
cmd_cl.PNG (13.96 KiB) Viewed 5605 times
by devM5
Mon Jan 18, 2021 3:43 pm
Forum: Vensim
Topic: Compiled simulation error with Vensim DSS 8.0.9 x64
Replies: 15
Views: 5609

Compiled simulation error with Vensim DSS 8.0.9 x64

I have been unsuccessfully trying to configure Vensim DSS 8.0.9 x64 to simulate using the MS Visual Studio 2012 compiler. Here is a screenshot of the error message that is produced: error.png I worry about "The specified configuration type is missing. The tools for the configuration might not b...
by devM5
Mon Dec 07, 2020 9:22 am
Forum: Vensim
Topic: Compatibility of Vensim DSS versions
Replies: 2
Views: 1539

Compatibility of Vensim DSS versions

Hello everybody,

we are currently using different Vensim versions in our company like 6.3E, 6.4 and 7.3.5. A project partner is now thinking to get Vensim 8.1.2 to use and edit the models that we develop together.

Can you tell me if there are any compatibility issues to expect?
by devM5
Mon Oct 12, 2020 9:30 am
Forum: Vensim
Topic: Unable to open *.mdl with SPECIAL>LOADMODEL
Replies: 10
Views: 3893

Re: Unable to open *.mdl with SPECIAL>LOADMODEL

I would prefer to be able to load a .mdl with the DLL. This is a security feature. Loading a MDL would mean someone could use PLE to generate a model (or even just a text editor), and then all the advanced features of DSS (optimization, sensitivity etc) via the DLL. I see, that makes sense. Thanks ...
by devM5
Fri Oct 09, 2020 8:12 am
Forum: Vensim
Topic: Unable to open *.mdl with SPECIAL>LOADMODEL
Replies: 10
Views: 3893

Re: Unable to open *.mdl with SPECIAL>LOADMODEL

Thanks for your help!

I was able to create a .vpm with FILE>PUBLISH in a command script, call it from Excel-VBA and then append the subscripts to my variables like I wanted. It solves the problem, but still it is not very comfortable. I would prefer to be able to load a .mdl with the DLL.
by devM5
Thu Oct 08, 2020 7:05 pm
Forum: Vensim
Topic: Unable to open *.mdl with SPECIAL>LOADMODEL
Replies: 10
Views: 3893

Re: Unable to open *.mdl with SPECIAL>LOADMODEL

I tried that already and could successfully append the subscripts to the variable names using vensim_get_varattrib after loading a .vpm file. However, that method returns -1 (error or no variable found) when I don't load the model using vensim_command(SPECIAL>LOADMODEL|...) earlier in my VBA-script....
by devM5
Thu Oct 08, 2020 2:28 pm
Forum: Vensim
Topic: Unable to open *.mdl with SPECIAL>LOADMODEL
Replies: 10
Views: 3893

Re: Unable to open *.mdl with SPECIAL>LOADMODEL

I'm guessing you are looking at descriptions of the commands. The DLL will not load a MDL file. I see, thanks for your help. I guess I misread the help file since I'm a bloody beginner to Vensim. Can you share the commands you are using? And a screenshot of the export dialog in Vensim? Of course: F...
by devM5
Thu Oct 08, 2020 8:47 am
Forum: Vensim
Topic: Unable to open *.mdl with SPECIAL>LOADMODEL
Replies: 10
Views: 3893

Re: Unable to open *.mdl with SPECIAL>LOADMODEL

I found it in the Vensim.chm help file in section DSS Reference Supplement > 5 Command Descriptions > SPECIAL > LOADMODEL|mdlname . Is it possible to read a dataset for a variable including all subscripts in Excel-VBA using vensim_get_data() ? When I export a dataset with Model > Export dataset... i...
by devM5
Wed Oct 07, 2020 5:02 pm
Forum: Vensim
Topic: Unable to open *.mdl with SPECIAL>LOADMODEL
Replies: 10
Views: 3893

Unable to open *.mdl with SPECIAL>LOADMODEL

Hello everyone, I am using Microsoft Excel 2016 with VBA macros to import data from Vensim runs (*.vdf) with the 32bit Vensim DLL. The variables that need to be read with the vensim_get_data() method are stored in a savelist (*.lst). Additionally to the base variable names, I need to retrieve the su...