Search found 4585 matches

by Administrator
Fri Oct 10, 2003 4:02 pm
Forum: Vensim
Topic: PULSE function
Replies: 3
Views: 4550

I don't think PULSE is what you need to use. At t=0, "TDS Switch"=0 (which is the start time of the pulse, so it will trigger at t=0).

Try looking at the SAMPLE IF TRUE function, that might do what you want.

Tony.
by Administrator
Fri Oct 10, 2003 12:51 pm
Forum: Vensim
Topic: ordering vectors
Replies: 6
Views: 6680

As a followup, the VECTOR SORT ORDER function works fine (we just misunderstood its return values).

It returns in the first position the index of the smallest element, in the second the index of the next smallest and so on. The indices are 0 based.

We thought it was a VECTOR RANK function.

Tony
by Administrator
Fri Oct 10, 2003 12:49 pm
Forum: Vensim
Topic: Multiple runs of a stochastic model
Replies: 4
Views: 5293

Thats exactly what I would do, so yes, it sounds fine.

Tony.
by Administrator
Fri Oct 10, 2003 10:58 am
Forum: Vensim
Topic: Multiple runs of a stochastic model
Replies: 4
Views: 5293

The easiest way is to change the noise seed for the random number generation and do lots of batch runs (see http://www.vensim.com/documentation/html/25670.htm for details on how to automate this process using a command file). Basically change the noise seed and save each run under a different name. ...
by Administrator
Thu Oct 09, 2003 3:36 pm
Forum: Vensim
Topic: ordering vectors
Replies: 6
Views: 6680

I have asked for clarification (I would expect the same results as you). If you are still using our external function library, you could use the SORT ASCEND/DESCEND funciotns. That should work as expected (not zero based though). Syntax is something like SORT ASCEND 1D ( vector, size of vector, trig...
by Administrator
Wed Oct 08, 2003 12:12 pm
Forum: Vensim
Topic: ordering vectors
Replies: 6
Views: 6680

Hello Chester, The Vensim documentation on the web contains some help, http://www.vensim.com/documentation/html/22782.htm I would use the sort function (to give "sorted vars"), then something like addition param[subrange 2] = sum ( if then else ( sorted vars[sub range 1!] = subrange 2 , so...
by Administrator
Sat Oct 04, 2003 7:45 pm
Forum: Vensim
Topic: Coding Convention
Replies: 1
Views: 3635

Hello Peter, I tend to make use of the "Capitalize by type" setting in Vensim (under Tools->Options->Settings). This will make all constants capital, first letters of levels capital, first three letters of data variables capital and some other changes as well. I cannot seem to find a compl...
by Administrator
Sun Sep 28, 2003 3:52 pm
Forum: Vensim
Topic: array and subscript
Replies: 1
Views: 3936

Best thing is to go through the tutorial.

If you go to the following link, and then go to the "User guide", chapter 17, that covers subscripts.

http://www.vensim.com/documentation/vensim.htm

Tony.
by Administrator
Mon Sep 01, 2003 11:39 am
Forum: Vensim
Topic: system dynamics mailing list still working?
Replies: 2
Views: 5434

I asked Bob Eberlein, he replied with "No traffic, August seems a quiet month."

Tony.
by Administrator
Tue Aug 26, 2003 7:40 am
Forum: Vensim
Topic: Alternative implementation of GET DATA AT TIME function
Replies: 1
Views: 3941

Looking at the Vensim help, it appears not.

You could bring the data in to the model as a lookup and that would allow getting data at any value of model time.

Tony.
by Administrator
Wed Aug 20, 2003 8:59 am
Forum: Sable
Topic: SPECIAL>ALIASSCREEN command
Replies: 15
Views: 13273

When you select XCommand, you should also be able to select the correct function to call.

Can you e-mail me the screen you are using? I should be able to work out what is going wrong.

Tony.
by Administrator
Wed Aug 20, 2003 8:57 am
Forum: Vensim
Topic: Suggestion for search functionality
Replies: 7
Views: 6674

Hello Robbert,

The best thing to do would be to break the structure up into more manageable parts. Using Vensim, you can construct your model over a number of views.

Tony.
by Administrator
Wed Aug 20, 2003 8:32 am
Forum: Sable
Topic: SPECIAL>ALIASSCREEN command
Replies: 15
Views: 13273

Hello Ali, Are you manually typing in the following commands? XCommnad  Execute Script:ExtProg.movetoscreen("Simulate LT ST BF CT R and measurement") XCommnad  Execute Script:SableScript.movetoscreen("Simulate LT ST BF CT R and measurement") XCommnad &...
by Administrator
Thu Aug 07, 2003 8:14 am
Forum: Sable
Topic: Vensim graph tools in Sable.
Replies: 2
Views: 5288

Just a quick addition to the reply.

If you copy the Vensim.ini file into the MODEL directory for Sable, it will be loaded automatically and have the correct fonts etc on the graph.

Tony.
by Administrator
Thu Aug 07, 2003 8:13 am
Forum: Sable
Topic: Vensim graph tools in Sable.
Replies: 2
Views: 5288

[ADMIN]Received via e-mail[ADMIN]

To answer question the font information is stored in Vensim.ini - you can copy that from your windows directory and then use the Venapp command SPECIAL>READINI|vensim.ini to load that information. That should make the graphs appear the same.
by Administrator
Thu Aug 07, 2003 8:12 am
Forum: Sable
Topic: Vensim graph tools in Sable.
Replies: 2
Views: 5288

Vensim graph tools in Sable.

[ADMIN]Received via e-mail[ADMIN] I am using the graph tools in sable. It is working very fine. But I have the following problem: I changed the font size of the title of the custom graphs in the vensim tools--> option menu. The new fonts are shown on the custom graphs when I open them from vensim. B...
by Administrator
Thu Aug 07, 2003 8:10 am
Forum: Sable
Topic: Problem with updating of Check Button, Radio Button, Combo B
Replies: 1
Views: 4418

[ADMIN]Response via e-mail.[ADMIN] This is how Sable/Vensim works. When you are in Vensim and do a run, all constants etc return to their previous values. This is exactly how Sable works as well. To get around the problem, simply write a CIN file before the run is done, and read it immediately after...
by Administrator
Thu Aug 07, 2003 8:09 am
Forum: Sable
Topic: Problem with updating of Check Button, Radio Button, Combo B
Replies: 1
Views: 4418

Problem with updating of Check Button, Radio Button, Combo B

[ADMIN]This was received via e-mail.[ADMIN] I have problem using any of the following tools to set up my model and simulate it: Check Button, Radio Button, Combo Box, and Slider. The problem is that when I use the above tools to set a constant and/or a game variable at specific value different from ...
by Administrator
Mon Jul 28, 2003 7:43 am
Forum: Vensim
Topic: Encryption
Replies: 1
Views: 3679

Hello, Encryption is only possible when a redistribution kit has been purchased. The kit allows models to be encrypted before distribution to protect the code within them. There is no way of protecting the model if only using runtime versions of the DLL. One more small bit of info, you need to purch...
by Administrator
Tue Jul 22, 2003 9:41 am
Forum: Vensim
Topic: Molecules software
Replies: 1
Views: 4344

Lee Jones is currently at the conference, and is trying to get hold of them.

They shoudl also appear on the Vensim website very soon. I will post another reply when they are available.

Tony.
by Administrator
Tue Jul 08, 2003 9:41 am
Forum: Vensim
Topic: Reading column from excel
Replies: 2
Views: 4879

Also, to get data from a column and not a row, the 'time row or col' part of the function chances. If you put in an "A" then Vensim knows you are looking for a column of data, if you put in a "1", Vensim will look for a row.

Tony.
by Administrator
Mon Jul 07, 2003 12:28 pm
Forum: Vensim
Topic: Reading column from excel
Replies: 2
Views: 4879

Hello, I moved the post here as it is a more appropriate place for it. I hope you do not mind. You need to look at the functions GET XLS DATA and GET XLS CONSTANTS. If you go to the index at the Vensim documentation website, http://www.vensim.com/documentation/vensim.htm Type in GET XLS and you will...
by Administrator
Fri Jul 04, 2003 8:34 am
Forum: Vensim
Topic: I need help
Replies: 2
Views: 5042

Hello and welcome to the forum. It is very simple to do what you want. Look at the DELAY FIXED function in the Vensim help system. You would have the equation Z = X + Y and X = DELAY FIXED ( Z , TIME STEP , 0 ) You might need to check the syntax, but it should do what you want. Z takes on the value ...
by Administrator
Wed Jul 02, 2003 1:06 pm
Forum: Vensim
Topic: How to model the following situation in VENSIM
Replies: 2
Views: 5323

Hello Anand,

You need to run your simulation as a game. Details of this are in the Vensim help system.

Tony.
by Administrator
Wed Jun 18, 2003 4:28 pm
Forum: Sable
Topic: Creating a new project
Replies: 1
Views: 4633

Sable only works with binary Vensim files. Open your model in Vensim and click
"File->Save as"
There is a box where you can select the file type, select Binary and your model will be saved as a .vmf file.

You should be able to open this in Sable now.

Tony.