Search found 4585 matches

by Administrator
Mon Mar 14, 2011 7:59 am
Forum: Vensim
Topic: Compiled simulation in Mac OS X -- missing simext.c
Replies: 5
Views: 3133

Re: Compiled simulation in Mac OS X -- missing simext.c

I'll look into this today. I'll reply once I have some more information for you.

Tony.
by Administrator
Sat Mar 12, 2011 12:18 am
Forum: Vensim
Topic: Save file. vdf anywhere
Replies: 1
Views: 1616

Re: Save file. vdf anywhere

Look for SIMULATE>RUNNAME in the help system, this will allow you to change the results file name.

Tony.
by Administrator
Wed Mar 09, 2011 9:41 pm
Forum: Vensim
Topic: simulation to continue from saved data.
Replies: 2
Views: 2057

Re: simulation to continue from saved data.

Yes.

Search the help system for SIMULATEBASED, it has all the information you need.

Tony.
by Administrator
Wed Mar 09, 2011 10:21 am
Forum: Vensim
Topic: matrix
Replies: 8
Views: 4681

Re: matrix

What was the problem you couldn't work out? There is sample external function code that ships with Vensim. Search for the files VENEXT.DEF VENEXT.C VENEXT6.DSP VENEXT6.DSW VENEXT6.DSW is a Microsoft Visual Studio workspace. Open it and build the DLL. VENEXT.C is commented to show what to do to build...
by Administrator
Tue Mar 08, 2011 9:47 am
Forum: Vensim
Topic: matrix
Replies: 8
Views: 4681

Re: matrix

If the text file does change every time step, you will need to write some external functions to do this.
by Administrator
Tue Mar 08, 2011 9:16 am
Forum: Vensim
Topic: matrix
Replies: 8
Views: 4681

Re: matrix

Does the text file change every time step?
by Administrator
Tue Mar 08, 2011 8:52 am
Forum: Vensim
Topic: matrix
Replies: 8
Views: 4681

Re: matrix

There is a section in the Vensim documentation that should help you, search for "Importing Data".

It might also help if you show us the format of the data you want to import. There is not much we can recommend/suggest if we cannot see what you are trying to do.

Tony.
by Administrator
Tue Mar 08, 2011 8:49 am
Forum: Vensim
Topic: the problem obout“simultaneous equations involving。。。”
Replies: 2
Views: 2339

Re: the problem obout“simultaneous equations involving。。。”

Hello, You haven't really given us much information to go on. Have a read of http://www.ventanasystems.co.uk/forum/viewtopic.php?f=2&t=4391 and then re-post with a bit more detail and I'm sure someone will be able to help. There have also been many discussions regarding this, have a look through...
by Administrator
Mon Mar 07, 2011 7:33 am
Forum: Vensim
Topic: Saving vensim files
Replies: 3
Views: 4334

Re: Saving vensim files

If you just want to save all the model sketches, just use a PDF printer (I use PDF995, search Google for it).

If you want to export all sketches to Word, you will need to select everything on each sketch, then copy/paste to Word.
by Administrator
Wed Mar 02, 2011 3:16 pm
Forum: Vensim
Topic: Vensim's Users guide
Replies: 4
Views: 2944

Re: Vensim's Users guide

What version of Vensim are you using? And what operating system?
by Administrator
Wed Mar 02, 2011 1:57 pm
Forum: Vensim
Topic: tabbed array
Replies: 10
Views: 6617

Re: tabbed array

Follow the instructions in the help system and it works fine.

subsc : (sub1-sub3)

SAMPLING AT TIME[subsc] = TABBED ARRAY ( 24 26 27 )
by Administrator
Fri Feb 25, 2011 7:37 pm
Forum: System Dynamics Discussion
Topic: Strategic Management Dynamics and conventional SD
Replies: 15
Views: 15017

Re: Strategic Management Dynamics and conventional SD

Personally I don't see any merit in discussing DT at all. As long as it is chosen based on the guidelines then it only becomes relevant when DT is too large. For me it is far more important to make sure models are dimensionally correct. It seems a lot of model builders see this as an optional step. ...
by Administrator
Fri Feb 25, 2011 4:42 pm
Forum: Vensim
Topic: Does path matter when publishing a package?!
Replies: 2
Views: 2353

Re: Does path matter when publishing a package?!

a) Is this a known issue or am I missing something? No, it's not a known issue. Can you post the settings you are using to publish and we can see what options you have ticked? b) If I am reading in data from spreadsheet files in my model will I have to include those as well and if yes can I just 'a...
by Administrator
Wed Feb 23, 2011 2:01 pm
Forum: Vensim
Topic: Vensim with Visual Studio 2010 (Visual Basic)
Replies: 7
Views: 6074

Re: Vensim with Visual Studio 2010 (Visual Basic)

Now, what I want is to save the changes made in datagridview values and put these new values in a .vdf file. I know how to do it with excel (first save changes in worksheets and then use xls2vdf command). But how do I do it without excel. Do I need to create a new .Tab, .Dat or .txt file from my da...
by Administrator
Wed Feb 23, 2011 7:49 am
Forum: Vensim
Topic: The Gray Arrow
Replies: 3
Views: 3005

Re: The Gray Arrow

The modeller has just changed the colour of the arrow.
by Administrator
Tue Feb 22, 2011 5:14 pm
Forum: Vensim
Topic: Vensim with Visual Studio 2010 (Visual Basic)
Replies: 7
Views: 6074

Re: Vensim with Visual Studio 2010 (Visual Basic)

Try to work with vensim_get_vals. This probably will not work. tpoints1 = Unmanged.vensim_get_data("base1.vdf", "population", "Time", rval, tval, maxpoints(500)) Try the following (I'm writing this from memory so the syntax might not be quite correct). Dim tval() As Sin...
by Administrator
Tue Feb 22, 2011 3:37 pm
Forum: Vensim
Topic: Vensim with Visual Studio 2010 (Visual Basic)
Replies: 7
Views: 6074

Re: Vensim with Visual Studio 2010 (Visual Basic)

Can you list the code you are using and I should be able to correct the calls.
by Administrator
Tue Feb 22, 2011 9:07 am
Forum: Vensim
Topic: repeatitive cals
Replies: 2
Views: 1930

Re: repeatitive cals

You will need to store the values in a level, remove them after one year (use a DELAY FIXED for this) and divide by 12 (or the delay time if in months). You could also use a queue fifo to store the values. This would also give you the ability to calculate averages over a different time period than a...
by Administrator
Mon Feb 21, 2011 5:39 pm
Forum: System Dynamics Discussion
Topic: Strategic Management Dynamics and conventional SD
Replies: 15
Views: 15017

Re: Strategic Management Dynamics and conventional SD

Just a note (as I don't recall seeing it mentioned above). Straight from the Vensim documentation "TIME STEP should be smaller than 1/3 of the shortest time constant in the model (not applicable with automatic step size adjustment in Runge-Kutta integration)." "TIME STEP should be sma...
by Administrator
Mon Feb 21, 2011 4:14 pm
Forum: Vensim
Topic: Help! (Cannot View Equation Editor Window)
Replies: 24
Views: 11992

Re: Help! (Cannot View Equation Editor Window)

Nobody has reported anything similar.

What OS are you using, and what version of Vensim?
by Administrator
Mon Feb 21, 2011 9:14 am
Forum: Vensim
Topic: Using Reference Modes to model step function inputs
Replies: 8
Views: 6585

Re: Using Reference Modes to model step function inputs

I'll try and answer some of your questions. 1. For one thing I am still at a loss with regardt to the usage of reference modes in packaged models. You guys sure have thought of something when putting reference modes into Vensim, haven't you? - The ease of creating scenarios etc. (naming and saving t...
by Administrator
Mon Feb 21, 2011 8:11 am
Forum: Vensim
Topic: Setting Y axis maximum on the graph tool
Replies: 1
Views: 1821

Re: Setting Y axis maximum on the graph tool

Not with normal graphs. You will need to use custom graphs to do this. But there may be a shortcut that helps. Select the first parameter you want to display, hold the shift key down and select the 2nd/2nd/nth. Now click the graph tool. It should display all of them on the same graph. If you right c...
by Administrator
Fri Feb 18, 2011 3:16 pm
Forum: Vensim
Topic: Loops in external functions
Replies: 2
Views: 3331

Re: Loops in external functions

You don't specify the loops the function has, you specify how many subscript ranges it is going to be responsible for calculating. In C/C++ you can do anything you want to. For example, if you have x[sub] = SOMEFUNCTION_EG_COS(a[sub]) SOMEFUNCTION_EG_COS is computing COS, the function needs to be ca...
by Administrator
Fri Feb 18, 2011 3:10 pm
Forum: Vensim
Topic: Using Reference Modes to model step function inputs
Replies: 8
Views: 6585

Re: Using Reference Modes to model step function inputs

You can use the following.

DRIVING data held backward :HOLD BACKWARD: := DRIVING data var as reference mode

This works in the same way as the lookup.

I can only assume that the "-1" is causing problems. I'll ask our programmer to take a closer look.

Tony.
by Administrator
Thu Feb 17, 2011 4:01 pm
Forum: Vensim
Topic: Using External Functions with the Multicontext DLL
Replies: 7
Views: 6985

Re: Using External Functions with the Multicontext DLL

Email me at vensim@vensim.com with your serial number.

Tony.