Search found 4585 matches

by Administrator
Sun Dec 18, 2011 8:35 pm
Forum: Vensim
Topic: Call vensim
Replies: 91
Views: 52252

Re: Call vensim

Can you post the code that you are using?
by Administrator
Tue Dec 13, 2011 9:07 am
Forum: Vensim
Topic: converting from stella to vensim
Replies: 26
Views: 20059

Re: converting from stella to vensim

Is it a recent version of Stella you are using David?
by Administrator
Thu Dec 08, 2011 2:46 pm
Forum: Vensim
Topic: Error in compilation
Replies: 2
Views: 2194

Re: Error in compilation

This usually happens when you use the compilation files from an old version of Vensim (eg, Vensim 5.8) with a newer version of Vensim.

Do you have more than one version of Vensim installed on your computer?
by Administrator
Sun Dec 04, 2011 8:00 pm
Forum: Vensim
Topic: Screening test - Sensitivity analysis
Replies: 4
Views: 4091

Re: Screening test - Sensitivity analysis

Try the following. 1. Start an optimization. 2. Select the parameter you are interested in as the payoff. 3. In the "optimization control" dialog, for "Sensitivity" select "All constants" and in the next box put in the number 10. 4. In the "optimization control&quo...
by Administrator
Sun Dec 04, 2011 11:08 am
Forum: Vensim
Topic: Screening test - Sensitivity analysis
Replies: 4
Views: 4091

Re: Screening test - Sensitivity analysis

Once you have run your sensitivity simulations, Vensim creates two files in the same directory as the run. I think (as I'm not at my computer) they are called sortsens.tab and sens.tab.

Take a look at these two files as they may contain what you need.
by Administrator
Tue Nov 29, 2011 1:45 pm
Forum: Vensim
Topic: vdf file reader
Replies: 10
Views: 7368

Re: vdf file reader

Sable works in Microsoft Windows only.

The price lists should be on the left hand side of the page at
http://www.ventanasystems.co.uk/index.php?page=sable

Kind regards,

Tony.
by Administrator
Sat Nov 26, 2011 4:27 pm
Forum: Welcome and General Information
Topic: losing the message
Replies: 2
Views: 14117

Re: losing the message

Hello JJ,

I've never lost a message when replying to posts.

What browser are you using and I'll use the same one for a while to see if I can replicate the error.

Tony.
by Administrator
Fri Nov 25, 2011 7:47 am
Forum: Sable
Topic: Show the Simulation Run
Replies: 2
Views: 4995

Re: Show the Simulation Run

Add some text to the screen, and in it enter

Code: Select all

Runname = @RUNNAME@
The @RUNNAME@ will be replaced with the current run name.

You can also use

Code: Select all

@RUNNAMENOPATH@
and the following to display the runs that are currently loaded.

Code: Select all

@RUN0@
@RUN1@
...
@RUNn@
by Administrator
Thu Nov 17, 2011 9:53 am
Forum: Vensim
Topic: ! in external functions
Replies: 10
Views: 4761

Re: ! in external functions

If big vec is defined by several equations, it might happen, that the big vec sum equation is evaluated before let's say big vec[b3] gets a value.
Has this happened to you?
by Administrator
Tue Nov 15, 2011 6:10 pm
Forum: Vensim
Topic: ! in external functions
Replies: 10
Views: 4761

Re: ! in external functions

No you can't.

What are you trying to do?
by Administrator
Tue Nov 15, 2011 11:08 am
Forum: Vensim
Topic: 3 dimensional graph in Vensim?
Replies: 1
Views: 1462

Re: 3 dimensional graph in Vensim?

3D graphs were removed from Vensim some time ago (but the help was not updated).

You will need to export to Excel (or similar) and plot there.
by Administrator
Wed Nov 09, 2011 4:33 pm
Forum: Vensim
Topic: load a dataset (run)
Replies: 15
Views: 7789

Re: load a dataset (run)

Have a look in the Vensim help at CIN files. These can be used to store the constants that are going to be used in a simulation.

Is this what you need to do?

What version of Vensim are you using?
by Administrator
Tue Nov 08, 2011 8:49 pm
Forum: Vensim
Topic: load a dataset (run)
Replies: 15
Views: 7789

Re: load a dataset (run)

Can you email me one of the files you are trying to load and I'll see if there is a problem with it?
by Administrator
Tue Nov 08, 2011 3:43 pm
Forum: Vensim
Topic: load a dataset (run)
Replies: 15
Views: 7789

Re: load a dataset (run)

Load it via the control panel instead (look for an icon on the top toolbar towards the right that has a picture a bit like a clock).
by Administrator
Mon Nov 07, 2011 2:05 pm
Forum: Vensim
Topic: Runname as path?
Replies: 3
Views: 2163

Re: Runname as path?

Hello,

I'm not entirely sure what you are doing here. Are you using Vensim, or the Vensim DLL? How are you adding the runname?

Kind regards,

Tony.
by Administrator
Mon Nov 07, 2011 9:12 am
Forum: Vensim
Topic: Loading custom graph from Vensim DLL
Replies: 2
Views: 2018

Re: Loading custom graph from Vensim DLL

Hello, I don't recall selling a distribution licence to anyone with your email address recently. To display a custom graph, use the vensim_tool_command function (see http://www.vensim.com/documentation/index.html?26255.htm). You need to call it something like vensim_tool_command("CUSTOM>custom_...
by Administrator
Tue Nov 01, 2011 2:27 pm
Forum: Vensim
Topic: Linking Vensim and Mathematica
Replies: 15
Views: 12018

Re: Linking Vensim and Mathematica

Would you have some comments on how .NET is different from DLL (I believe there is a difference)? They are two different things, http://en.wikipedia.org/wiki/Dynamic-link_library http://en.wikipedia.org/wiki/.NET_Framework I cannot comment on any of the other questions (I last used Mathematica a lo...
by Administrator
Mon Oct 31, 2011 8:43 pm
Forum: Vensim
Topic: Linking Vensim and Mathematica
Replies: 15
Views: 12018

Re: Linking Vensim and Mathematica

I don't recall any Mathematica related questions cropping up on this forum. But if Mathematica can load DLLs and call functions within them, then it should be straightforward to load the Vensim DLL. DSS ships with examples of calling the DLL using Visual Basic, VBA, C++ and Java, it would just be a ...
by Administrator
Mon Oct 31, 2011 6:28 pm
Forum: Vensim
Topic: Graphs
Replies: 5
Views: 3261

Re: Graphs

I don't think there is a way of doing this (maybe someone else will chip in with a way).
by Administrator
Mon Oct 31, 2011 2:18 pm
Forum: Sable
Topic: Publishing - making it easier for the client
Replies: 4
Views: 7522

Re: Publishing - making it easier for the client

I did a tutorial once for someone (but it is specific to that project). You will need Inno Setup Compiler - http://www.jrsoftware.org/ Download and install Inno. Create a sub-directory under your Sable project dir called "Install". Create a new text file called "setup.iss". Selec...
by Administrator
Mon Oct 31, 2011 1:42 pm
Forum: Vensim
Topic: One level with two outflows
Replies: 6
Views: 5847

Re: One level with two outflows

There are two simple ways of doing what you want. The first way is what Guido suggests (take into account the amount removed from the stock by outflow 1 when calculating outflow 2). The attached model "demo.mdl" demonstrates this. The second way is to proportionally allocate what is in the...
by Administrator
Sat Oct 29, 2011 5:35 pm
Forum: Vensim
Topic: :NA: and Not A Number (NaN) in Vensim
Replies: 4
Views: 4092

Re: :NA: and Not A Number (NaN) in Vensim

I can't help but to notice that the fact that 'something silly happens' if :NA: enters calculations does not really approach very robust program design. It looks to me that mapping a 'special value' like :NA: onto a numeric range should not be done if it can be avoided. Wouldn't C/C++ know things l...
by Administrator
Sat Oct 29, 2011 2:05 pm
Forum: Vensim
Topic: :NA: and Not A Number (NaN) in Vensim
Replies: 4
Views: 4092

Re: :NA: and Not A Number (NaN) in Vensim

:NA: in Vensim is usually used when working with external data to allow a test for missing values, it is not related to the NaN in any way.

I'd advise against using it in any other way purely because it does have a numeric value and can throw some silly calculation results.
by Administrator
Sat Oct 29, 2011 1:59 pm
Forum: Vensim
Topic: Venapp and External function - passing variable
Replies: 18
Views: 9798

Re: Venapp and External function - passing variable

I'm not sure what you are doing, but it sounds like you have the order of things mixed up. You can set constants before the simulation starts using a slidevar, and gaming vars during a game. If your changes require a 2nd simulation to take effect, maybe you have started the simulation before trying ...
by Administrator
Sat Oct 29, 2011 1:57 pm
Forum: Sable
Topic: Publishing - making it easier for the client
Replies: 4
Views: 7522

Re: Publishing - making it easier for the client

You can specify the icon for the project (but not with SPK files, for some reason I cannot extract an icon from the archive, only a physical file). I'd suggest you create a custom install for your clients. I use Inno (it's free). All you need to do is create a directory in the client machine "M...