Search found 17 matches

by nika85
Tue Feb 24, 2009 11:51 am
Forum: Vensim
Topic: INFO_DLL and INFO_VERSION
Replies: 3
Views: 2884

Where do you think the problem is?
Thank you
by nika85
Mon Feb 23, 2009 5:15 pm
Forum: Vensim
Topic: INFO_DLL and INFO_VERSION
Replies: 3
Views: 2884

INFO_DLL and INFO_VERSION

Hello, We are trying to know info_dll and info_version with this code: String plist[] = vensim.get_info(vensim.INFO_DLL) ; String qlist[] = vensim.get_info(vensim.INFO_VERSION) ; if(plist.length + qlist.length > 0) { StringBuffer buf = new StringBuffer("") ; buf.append("Vensim ")...
by nika85
Sat Feb 21, 2009 9:55 am
Forum: Vensim
Topic: ContextAdd
Replies: 10
Views: 5659

In vensim.err i don´t have anything about load the model, no clues. And vensim_ctxt001.err fle does not exist.

All command returns 0 and the library it is load...
Where can be the problem?

Thank you so much
by nika85
Fri Feb 20, 2009 11:59 am
Forum: Vensim
Topic: ContextAdd
Replies: 10
Views: 5659

Ok, thank you.

And the other question:
When we are using Apache Tomcat we need not enter anything in the code about threads?

Thank you very much
by nika85
Fri Feb 20, 2009 8:18 am
Forum: Vensim
Topic: ContextAdd
Replies: 10
Views: 5659

Then, we are using Apache Tomcat so we need not enter anything in the code about threads? And another question: We are using the command: Vensim vensim = new Vensim("library"); /**The library load correctly**/ - with CComand: int cid = vensim.ContextAdd(0); int r = vensim.CCommand(cid,&quo...
by nika85
Thu Feb 19, 2009 2:38 pm
Forum: Vensim
Topic: ContextAdd
Replies: 10
Views: 5659

We have get that it recognize the command ContextAdd.

Other question:
We are using multicontext dll and we wanted to know if it is necessary to use threads, and how is it used in servlet?

Thank you

[Edited on 2-19-2009 by nika85]
by nika85
Thu Feb 19, 2009 7:22 am
Forum: Vensim
Topic: ContextAdd
Replies: 10
Views: 5659

No, don´t recognize me the command, it show me an error message
by nika85
Wed Feb 18, 2009 5:16 pm
Forum: Vensim
Topic: ContextAdd
Replies: 10
Views: 5659

ContextAdd

Hello,

If i use vensim.contextAdd(1); Vensim not recognize me this command. I am working with vendlstc.dll.

Thank you

[Edited on 2-18-2009 by nika85]
by nika85
Thu Jan 22, 2009 4:25 pm
Forum: Vensim
Topic: how to know the period of simulation in which we are
Replies: 17
Views: 8375

We have Vensim DSS licence academic, Multicontext DLL is included in or is a different license??

Thank you very much
by nika85
Wed Jan 21, 2009 4:17 pm
Forum: Vensim
Topic: how to know the period of simulation in which we are
Replies: 17
Views: 8375

Yes, we are tryng to create some sort of web based simulation.

What is the Vensim multi context DLL???

Thank you very much
by nika85
Wed Jan 21, 2009 3:26 pm
Forum: Vensim
Topic: how to know the period of simulation in which we are
Replies: 17
Views: 8375

This is exactly what we want to do. This is possible??

We first load the library and then we load the model and then we trying to access it from two different places but it mix the periods.


Thank you

[Edited on 1-21-2009 by nika85]
by nika85
Wed Jan 21, 2009 9:51 am
Forum: Vensim
Topic: how to know the period of simulation in which we are
Replies: 17
Views: 8375

We are doing an interface for a Vensim model, with the interface we can change the values of the variables and we display results of the simulations. With a button we communicate with Vensim to load the model, send datas of variables, simulate(assigning a name to simulate different in each case) and...
by nika85
Wed Jan 21, 2009 9:03 am
Forum: Vensim
Topic: how to know the period of simulation in which we are
Replies: 17
Views: 8375

There is no possible to do differents simulations with the same model at the same time???

We are trying to do this but the periods of simulation appear mixed.

[Edited on 1-21-2009 by nika85]
by nika85
Tue Jan 20, 2009 11:10 am
Forum: Vensim
Topic: how to know the period of simulation in which we are
Replies: 17
Views: 8375

We load a model and we want to simulate two simulations at the same time and they will be independent, the problem is that the periods mix......

PD sorry but my english isn´t very good

Thank you very much
by nika85
Mon Jan 19, 2009 3:02 pm
Forum: Vensim
Topic: how to know the period of simulation in which we are
Replies: 17
Views: 8375

Ok, and there is no way to tell it what is the period we want to simulate later??

For example, we are in 6º period and we want to simulate again 3º period and then continue the simulation (4, 5, 6, 7...)

Thank you very much
by nika85
Sat Jan 17, 2009 12:38 pm
Forum: Vensim
Topic: how to know the period of simulation in which we are
Replies: 17
Views: 8375

like this??

int tiempo=1;
vensimCommand = "SIMULATE>SETVAL|Time = " +tiempo;
r = vensim.command(vensimCommand);

This give me problems

Someone can help me?
Thank you
by nika85
Sat Jan 17, 2009 10:30 am
Forum: Vensim
Topic: how to know the period of simulation in which we are
Replies: 17
Views: 8375

how to know the period of simulation in which we are

Hello, someone tell me can I know the period of simulation in which we are? There is some command that tell me that??

And how can i tell to vensim the period we want to simulate??

Thank you very much!

[Edited on 1-17-2009 by nika85]