Search found 4568 matches

by Administrator
Thu Oct 28, 2010 2:13 pm
Forum: Vensim
Topic: vensim link matlab
Replies: 74
Views: 43200

I've replied to you via email.

Tony.
by Administrator
Thu Oct 28, 2010 1:42 pm
Forum: Vensim
Topic: vensim link matlab
Replies: 74
Views: 43200

There seems to be a DDE problem here.

Give me a short while and I'll generate an example using the Vensim DLL.

Tony.
by Administrator
Thu Oct 28, 2010 11:11 am
Forum: Vensim
Topic: vensim link matlab
Replies: 74
Views: 43200

You will need to upload the model and spreadsheet for us to take a proper look. If you would prefer to email them to me direct I can take a look (tony@vensim.com).
by Administrator
Thu Oct 28, 2010 7:38 am
Forum: Vensim
Topic: Working with Venapp
Replies: 12
Views: 6447

I've tried it and it works for me.

Do you have a model loaded before you try these commands?
by Administrator
Thu Oct 28, 2010 7:32 am
Forum: Vensim
Topic: Custom graph in Venapp not showing the correct run
Replies: 3
Views: 2295

Does the custom graph show up ok in Vensim itself?

And can you post the custom graph set and a model to go with the venapp? I cannot investigate the problem without these.
by Administrator
Thu Oct 28, 2010 7:28 am
Forum: Vensim
Topic: Subscript
Replies: 2
Views: 1978

You cannot do this.

Can you post the model here and maybe we can tell you what you should be doing?
by Administrator
Wed Oct 27, 2010 10:16 pm
Forum: Vensim
Topic: vensim link matlab
Replies: 74
Views: 43200

Try MENU>RUN|o and see if that solves the problem.
by Administrator
Wed Oct 27, 2010 10:09 am
Forum: Vensim
Topic: vensim link matlab
Replies: 74
Views: 43200

>> when I link vensim and excel, I use another excel file for >> my variable in vensim and in vensim I used it's adress, now I >> want to close automatically the data excel window after run micro >> and run vensim.what can I do? This is all in Matlab code isn't it? You will need to ask on a Matlab f...
by Administrator
Sat Oct 23, 2010 7:43 am
Forum: Vensim
Topic: Printing problem on 5.10.b
Replies: 9
Views: 5946

Vensim 5.10c was uploaded yesterday. Can you give that a try and see if it fixes the problem?

Tony.
by Administrator
Sat Oct 23, 2010 7:39 am
Forum: Vensim
Topic: control flow in subscript
Replies: 5
Views: 3128

I don't really follow what you are trying to do here.

Can you post a sample model with some of the structure you are trying to model?

Tony.

[Edited on 23-10-2010 by Administrator]
by Administrator
Fri Oct 22, 2010 9:50 am
Forum: Welcome and General Information
Topic: Forum downtime.
Replies: 1
Views: 11861

We should all be back up and running now.

In the end our account was moved to another server, this has been completed now, hopefully no more downtime.
by Administrator
Wed Oct 20, 2010 7:04 pm
Forum: Welcome and General Information
Topic: Forum downtime.
Replies: 1
Views: 11861

Forum downtime.

The forum has been down for short periods over the last couple of days. Our ISP first suffered a hard drive failure (one half of a RAID, so nothing was lost), but there was some downtime while they replaced it. And today one of the memory modules on our server failed. Things will be a little slow un...
by Administrator
Thu Oct 14, 2010 6:14 pm
Forum: Vensim
Topic: vendll32 with java problem
Replies: 3
Views: 2526

What version of Vensim do you have?
by Administrator
Thu Oct 14, 2010 2:47 pm
Forum: Vensim
Topic: vdf files - vensim dll
Replies: 5
Views: 4791

I cannot think of a way.

You don't actually need the model to get the results, but you do need the variable name.
by Administrator
Sat Oct 09, 2010 5:02 pm
Forum: Vensim
Topic: Inputs being reset in Venapp
Replies: 2
Views: 1890

The only thing you can do is save a CIN file before the sim starts, and reload it as soon as the simulation is finished. So something like COMMAND,,,,,,,,"SPECIAL>LOADRUN|Baseline" COMMAND,,,,,,,,"SIMULATE>RUNNAME|Alternate" COMMAND,,,,,,,,"SIMULATE>RUNNAME|Alternate" C...
by Administrator
Tue Oct 05, 2010 9:42 am
Forum: Vensim
Topic: Saving an Excel file for Vensim to use
Replies: 2
Views: 1991

You shouldn't need to save all as values. What is the problem, are you linking via XLS or importing the Excel files?
by Administrator
Tue Oct 05, 2010 9:41 am
Forum: Vensim
Topic: User defined functions in .Net, Csharp or Java?
Replies: 1
Views: 1667

As far as I am aware, there are no samples of the DLL in C#/Java. However, if you can work with C# or Java you should have no trouble understanding C, the syntax is almost identical.

And the DLL does stay in memory once loaded.

Tony.
by Administrator
Mon Oct 04, 2010 12:26 pm
Forum: Vensim
Topic: Vensim for Dummies?
Replies: 15
Views: 10201

Equations must always balance on both sides. Eg, think of the equation "distance = time_doing_speed * speed" distance = km speed = km/hour time_doing_speed = hour Put the units on both sides gives km = hour * km/hour On the right hand side of the equation, the "hour" cancels out....
by Administrator
Mon Oct 04, 2010 6:32 am
Forum: Vensim
Topic: Vensim for Dummies?
Replies: 15
Views: 10201

I can answer Q1. Percentages are dimensionless, so in the units box, just add DMNL or percent (or spell it out in full if you need to). Any parameter can be any dimension. When you run the units check, Vensim makes sure the units on one side of the equation match the other. It just gives a lot more ...
by Administrator
Thu Sep 30, 2010 8:07 am
Forum: Vensim
Topic: Viewing the equations per submodel
Replies: 5
Views: 3855

Have you tried using the document tool to generate reports?

How do you want them ordered?
by Administrator
Wed Sep 29, 2010 10:48 pm
Forum: Vensim
Topic: Question of function "zidz"
Replies: 2
Views: 2353

The function is "Zero if divide by zero".

Eg,

Proportion allocated = my allocation / total allocated.

If total allocated = 0, we have divide by zero. So ZIDZ is a short way of saying

if then else ( total allocated = 0 , 0 , my allocation / total allocated )
by Administrator
Wed Sep 29, 2010 11:08 am
Forum: Vensim
Topic: Modeling a process which can produce 2 different items with
Replies: 3
Views: 2503

Chapter 17 in the user guide is the section on subscripts.
by Administrator
Tue Sep 28, 2010 1:47 pm
Forum: Vensim
Topic: vensim link matlab
Replies: 74
Views: 43200

Best thing to do is try it and see.
by Administrator
Sun Sep 26, 2010 6:59 pm
Forum: Vensim
Topic: vensim link matlab
Replies: 74
Views: 43200

Maybe it's best to try contacting someone who has successfully managed to get Matlab and Vensim communicating (try arraywanted or mrj.hoseini). http://www.ventanasystems.co.uk/forum/memberlist.php?mode=viewprofile&u=1847 http://www.ventanasystems.co.uk/forum/memberlist.php?mode=viewprofile&u...
by Administrator
Sun Sep 26, 2010 3:30 pm
Forum: Vensim
Topic: vensim link matlab
Replies: 74
Views: 43200

What happens if you try the following (I copied it from http://www.ventanasystems.co.uk/forum/v ... php?t=4181)?

str=['SPECIAL>LOADMODEL|D:\Documents and Settings\m\Desktop\vensim practice\1.vpm'];
lp=libpointer('voidPtr',[int8(str) 0]);
calllib('vendll32','vensim_command',lp);