Search found 39 matches

by SionC
Sat Jun 12, 2021 8:41 am
Forum: Vensim
Topic: VENSIM output data from R
Replies: 8
Views: 4127

Re: VENSIM output data from R

Hi - Great. I'll can set up a GIT repository next week and we can share things that way if that sounds like a good way ahead.
by SionC
Fri Jun 11, 2021 11:38 am
Forum: Vensim
Topic: VENSIM output data from R
Replies: 8
Views: 4127

Re: VENSIM output data from R

Hi morebru - are you running the command files from R? I have been trying to run simulations using R via the Vensim dll but I am not having much success!
by SionC
Thu Feb 18, 2021 11:48 am
Forum: Vensim
Topic: Vensim dll + R
Replies: 2
Views: 2832

Re: Vensim dll + R

Hi - I am assuming that the lack of replies means that there isn't anyone who has managed this!
by SionC
Fri Dec 11, 2020 11:26 am
Forum: Vensim
Topic: Vensim dll + R
Replies: 2
Views: 2832

Vensim dll + R

Hi,

I was wondering if anyone has any successfully linked R to the Vensim dll?

Many thanks,

Sion
by SionC
Fri Oct 30, 2020 6:56 pm
Forum: Vensim
Topic: Time series data into Vensim
Replies: 6
Views: 4553

Re: Time series data into Vensim

Wonderful - Thanks!
by SionC
Fri Oct 30, 2020 4:32 pm
Forum: Vensim
Topic: Time series data into Vensim
Replies: 6
Views: 4553

Re: Time series data into Vensim

Hi, Thanks for the super quick responses! :) I have attached my test model. I get the following errors when I run it: ERROR: The variable Variable[aaa] not found in file TestDataImportForum.vdfx. ERROR: Unable to get data values for Data Variable[aaa]. ERROR: Failed to make live links to data - abor...
by SionC
Fri Oct 30, 2020 4:09 pm
Forum: Vensim
Topic: Time series data into Vensim
Replies: 6
Views: 4553

Time series data into Vensim

Hi, I would like to read time series data into Vensim. The model is subscripted and the text file I have does not contain all the variables. What is the best approach for getting the data in? As a simple example I have this data in a text file: Time 0 1 2 3 4 5 Variable [AAA] 1 3 5 2 5 Variable [CCC...
by SionC
Wed Apr 12, 2017 6:16 pm
Forum: Vensim
Topic: Time series data
Replies: 1
Views: 2496

Time series data

Hi,

What is the most efficient file type/format for getting arrayed time series data into Vensim?

Thanks

Sion
by SionC
Tue Nov 22, 2016 12:59 pm
Forum: Vensim
Topic: "GET_XLS_SUBSCRIPT" query
Replies: 10
Views: 9589

Re: "GET_XLS_SUBSCRIPT" query

Hi, Sadly this does not seem to work. I have got the "GET DIRECT SUBSCRIPT" linking to the excel file to read in the subscript elements OK in the MDL version. However the VPM version of the model does not appear to look at the spreadsheet when run from Excel, or I cannot trigger it to look...
by SionC
Tue Nov 22, 2016 11:16 am
Forum: Vensim
Topic: "GET_XLS_SUBSCRIPT" query
Replies: 10
Views: 9589

Re: "GET_XLS_SUBSCRIPT" query

Thanks - I'll give it a go...
by SionC
Tue Nov 22, 2016 10:39 am
Forum: Vensim
Topic: "GET_XLS_SUBSCRIPT" query
Replies: 10
Views: 9589

Re: "GET_XLS_SUBSCRIPT" query

Thanks Tom, I am going to have to do something like this; but instead have multiple models with varying numbers of subscript elements to make the simulation more efficient as it will not then simulate the unused array elements. I will need to chose the appropriate model file for simulation from Exce...
by SionC
Tue Nov 15, 2016 8:56 am
Forum: Vensim
Topic: Getting a string from a VDF
Replies: 9
Views: 8603

Re: Getting a string from a VDF

Hi,

Is this functionality planned to be in the December release of Vensim 6.4E?

Thanks

Sion
by SionC
Tue Nov 15, 2016 8:51 am
Forum: Vensim
Topic: What improvements would you like to see in Vensim?
Replies: 150
Views: 11206117

Re: What improvements would you like to see in Vensim?

Hi,

I am running a .vpm Vensim model from an Excel spreadsheet using the dll. I would like to be able to define the size and names of the subscripts in the model from Excel, in a similar manner to using the GET XLS SUBSCRIPT function.

Thanks

Sion
by SionC
Fri Nov 11, 2016 11:03 am
Forum: Vensim
Topic: "GET_XLS_SUBSCRIPT" query
Replies: 10
Views: 9589

Re: "GET_XLS_SUBSCRIPT" query

Hi, I was just thinking a bit further about this...Is it possible from Excel to do the following: - open up Vensim DSS - run a command file/script that includes the commands to publish the model using a predefined .frm file (thus generating a VPM file with the correct subscript names) - close Vensim...
by SionC
Tue Sep 13, 2016 7:58 am
Forum: Vensim
Topic: Getting a string from a VDF
Replies: 9
Views: 8603

Re: Getting a string from a VDF

That is fantastic! Thanks :)
by SionC
Mon Sep 12, 2016 3:17 pm
Forum: Vensim
Topic: Getting a string from a VDF
Replies: 9
Views: 8603

Re: Getting a string from a VDF

Hi Tom,

Sadly it is ad hoc information, for example a text description of a particular scenario.

Best wishes

Sion
by SionC
Mon Sep 12, 2016 7:59 am
Forum: Vensim
Topic: Getting a string from a VDF
Replies: 9
Views: 8603

Re: Getting a string from a VDF

Hi, They are there, see the attached VPM file with three VDF files loaded. Refer to the variable SAMPLE STRING VARIABLE. I am using string variables to store additional run information. It would be great to be able to get the information back into Excel via the DLL. It would also be an issue if it i...
by SionC
Fri Sep 09, 2016 4:07 pm
Forum: Vensim
Topic: Getting a string from a VDF
Replies: 9
Views: 8603

Getting a string from a VDF

Hi,

Is it possible to get a string variable value from a VDF file via the DLL?

Thanks :)
by SionC
Thu Aug 11, 2016 2:04 pm
Forum: Vensim
Topic: "GET_XLS_SUBSCRIPT" query
Replies: 10
Views: 9589

Re: "GET_XLS_SUBSCRIPT" query

Thanks for the info Tom - perhaps one to add to the Vensim Updates list :) My model requires the same number of active subscripts throughout the simulation and I want to define this number in the interface, so I can perhaps create a set of .vpms with differing numbers of subscript elements and pick ...
by SionC
Wed Aug 10, 2016 3:38 pm
Forum: Vensim
Topic: "GET_XLS_SUBSCRIPT" query
Replies: 10
Views: 9589

"GET_XLS_SUBSCRIPT" query

Hi, I am currently running a model from Excel using the dll, and I have the model published in .vpm format. I want to be able to define the subscripts in the Excel, and the 'GET_XLS_SUBSCRIPT' function allows the subscript elements to defined in a spreadsheet. How can I trigger the subscripts to be ...
by SionC
Fri Jun 24, 2016 11:40 am
Forum: Vensim
Topic: What improvements would you like to see in Vensim?
Replies: 150
Views: 11206117

Re: What improvements would you like to see in Vensim?

Hi, I am doing a lot of sensitivity runs, with many iterations for a lot of different scenarios. I would like Vensim to be able to export the results that are plotted in the Sensitivity Graph (i.e., the values of the various percentiles over time). I am currently getting these values by importing th...
by SionC
Thu Oct 01, 2015 10:44 am
Forum: Vensim
Topic: System Dynamics in Fisheries
Replies: 1
Views: 2582

Re: System Dynamics in Fisheries

Hi, John Morecroft and Stewart Robinson presented on this topic at the UK SD conference in 2008. Please see: http://systemdynamics.org.uk/wp-content/uploads/2008-Day1-Morecroft-Slides.pdf For info, details on all the presentations delivered at the UK conference over the years are available from here...
by SionC
Thu Apr 30, 2015 12:02 pm
Forum: Vensim
Topic: Statistics tool
Replies: 7
Views: 7251

Re: Statistics tool

Hi JJ, That is pretty much exactly what I am doing at the moment, and I am then analysing the multiple runs elsewhere. What I want to do is get the values that Vensim calculates based on the multiple runs (e.g. median, percentiles etc.) without having to do this separate analysis elsewhere. Vensim c...
by SionC
Thu Apr 30, 2015 9:39 am
Forum: Vensim
Topic: Statistics tool
Replies: 7
Views: 7251

Re: Statistics tool

Hi All, Thanks you all for your thoughts - it is always useful to get gather expert opinion. I am currently carrying out lots of sensitivity runs, exporting the results to large text files, importing the text files into a data analysis package (not Excel) and then calculating the summary stats I nee...
by SionC
Wed Apr 29, 2015 10:59 am
Forum: Vensim
Topic: Statistics tool
Replies: 7
Views: 7251

Statistics tool

Hi, I was wondering if you can help.... I am doing lots of sensitivity runs and I want to be able to export the median value of the simulations to a datafile. I can use the Vensim statistics tool to get the summary statistical information for the sensitivity run for a particular time, and I can then...