Search found 80 matches

by Pruyn
Mon May 15, 2006 11:54 am
Forum: Vensim
Topic: Display of variables in Venapp
Replies: 1
Views: 2303

Display of variables in Venapp

In the newest version of vensim (5.5d), the showvar command in Venapp doesn't seem to work. See attached model and venapp
by Pruyn
Thu Apr 21, 2005 3:52 pm
Forum: Vensim
Topic: Output only new values through vdo
Replies: 1
Views: 2647

Output only new values through vdo

I'm using vensim as for a gaming model. In this role I use a vdo-script to output some data from the model, each time step. Until now I used delete and insert for this, but there is a lot of output and logically the output will increase with each game step taken as the whole time serie is outputted ...
by Pruyn
Thu Apr 21, 2005 8:31 am
Forum: Vensim
Topic: Allocate by priority
Replies: 13
Views: 9244

To get back to your earlier post, if I'm not mistaken vensim can "transpose" your matrix for you. Just use: After[region,pp] = Before[pp,region] You can than use before to input excel as you like with the max of 65536 rows for excel. Although I wouldn't know why you would need more than 25...
by Pruyn
Wed Apr 20, 2005 8:17 am
Forum: Vensim
Topic: Allocate by priority
Replies: 13
Views: 9244

I think it is important to mention that allocate by priority only works over 1 subscript, the last one in the row.
So you might need a step in between to come to one measurement. Like Tony describes above.

Jeroen
by Pruyn
Tue Apr 05, 2005 1:58 pm
Forum: Vensim
Topic: One more call for help- simple problem
Replies: 1
Views: 2679

You should also check your influences. What you are saying now is: if SAT Requirements increase, Actual enrollments decrease. This causes enrollment shortfall to increase, which causes SAT Requirements to Decrease. But if this is correct I would say Actual Enrollment is a Level. Although I don't kno...
by Pruyn
Tue Apr 05, 2005 1:41 pm
Forum: Vensim
Topic: SOS!- Please help with simple model!
Replies: 4
Views: 4273

Hi Laubé,

I didn't take the time to check your model, since it looked solid. I prefer the sample if true, for I am working with large models and this simplifies the overview. But I see your point.

Jeroen
by Pruyn
Tue Apr 05, 2005 1:25 pm
Forum: Vensim
Topic: Reading in Values through Venapp
Replies: 11
Views: 7340

While working on a smaller model, I found the cause of my problems. Using your test.vcd If I used chgfile, the data-series were giving me troubles. If I used the readcin, the constants and lookups, were giving me trouble. Somehow, the model wanted the two data-types to be separated. Data-series, whe...
by Pruyn
Tue Apr 05, 2005 11:25 am
Forum: Vensim
Topic: SOS!- Please help with simple model!
Replies: 4
Views: 4273

I think you made a mistake somewhere, since when I try your model with a random inflow, it will only bounce around te 95% limit. From vensimnovice's description I understood, the gates should remain open untill the level reached 85% of maximum. I used a sample if true function to obtain this, see at...
by Pruyn
Tue Mar 29, 2005 4:40 pm
Forum: Vensim
Topic: Help, please
Replies: 3
Views: 2946

See chapter 5 of the user's Guide.
by Pruyn
Thu Mar 24, 2005 4:40 pm
Forum: Vensim
Topic: Reading in Values through Venapp
Replies: 11
Views: 7340

I hope to find some time to try and replicate the behaviour in another way.
I could sent you my project, but it wouldn't work, since the odbc connection is made with a MySQL server that doesn't allow logins from outside the university.
by Pruyn
Mon Mar 21, 2005 12:12 pm
Forum: Vensim
Topic: Reading in Values through Venapp
Replies: 11
Views: 7340

It took a while to try the solution (busy with another project), but even if I put the line after the showwarnings statement, I still get the same results; read out of the data-series, no overwriting of constants and lookups.

I added my .vdi-file, maybe there is a problem there?

Jeroen
by Pruyn
Fri Mar 04, 2005 2:23 pm
Forum: Vensim
Topic: Error with Allocate Available
Replies: 12
Views: 9308

The model will run if I change the ship subscript to ship1 only, not that's any good than.

changing to allocate by priority or another allocation type doesn't solve the problem either.

Would rebuilding the model from scratch do any good?

[Edited on 4-3-2005 by Pruyn]
by Pruyn
Fri Mar 04, 2005 1:37 pm
Forum: Vensim
Topic: Error with Allocate Available
Replies: 12
Views: 9308

I'm using 5.4b

PProfile :
ptype, ppriority, pwidth, pextra
~
~ |

ship:
(ship1-ship25)
~
~ |

Yard: (Yard1-Yard10)
~
~ |

I have searched for subranges, but can't find any.
by Pruyn
Thu Mar 03, 2005 3:10 pm
Forum: Vensim
Topic: Error with Allocate Available
Replies: 12
Views: 9308

Here are the values for the input. Time (Month) 0 "Potential Priority of Ship[Yard,ship,PProfile]" Runs: Current Potential Priority of Ship [Yard10,ship1,ptype] 1 [Yard10,ship1,ppriority] -- [Yard10,ship1,pwidth] 1 [Yard10,ship1,pextra] 0 [Yard10,ship2,ptype] 1 [Yard10,ship2,ppriority] -- ...
by Pruyn
Thu Mar 03, 2005 2:21 pm
Forum: Vensim
Topic: Error with Allocate Available
Replies: 12
Views: 9308

I think so, also because before I added some new part it worked fine. But to be sure, here are the relevant equations: Potential Priority of Ship[Yard,ship,ptype]= 1 ~~| Potential Priority of Ship[Yard,ship,ppriority]= zidz ( VMAX ( Time Left[Yard,ship!] ) - Time Left[Yard,ship] , VMAX ( Time Left[Y...
by Pruyn
Thu Mar 03, 2005 2:08 pm
Forum: Vensim
Topic: Reading in Values through Venapp
Replies: 11
Views: 7340

I don't know what is wrong, but this works exactly as you would expect. I tried the same for my model and I get the following error: ERROR: Floating point error computing - Volume of Parcel in Hall[Yard1,PFHall,Ship1] - at time = 0.000000. Trying to save the results anyway This is the result of not ...
by Pruyn
Thu Mar 03, 2005 1:26 pm
Forum: Vensim
Topic: Error with Allocate Available
Replies: 12
Views: 9308

Error with Allocate Available

I use Allocate Available to divide available production capacity over the different projects. All worked fine untill I added a new part to my model, which is not involved in any feedback loop (yet). After I wanted to test this I got the following Error message. ERROR: Error in ALLOCATE_AVAILABLE/FIN...
by Pruyn
Thu Feb 24, 2005 8:33 am
Forum: Vensim
Topic: Reading in Values through Venapp
Replies: 11
Views: 7340

FYI I tried the SIMULATE>CHGFILE|file.vdi But it would not load data series. I am using only one file.vdi, but for some reason I have to put it as a change file in the simulation control box and load it through venapp as I described in my first post. If I look at the output screen the same file is l...
by Pruyn
Wed Feb 23, 2005 4:01 pm
Forum: Vensim
Topic: Reading in Values through Venapp
Replies: 11
Views: 7340

I changed readcin to chgfile, but it had no effect. I'm trying to read constants, lookups and datasets all in the same script, could that pose a problem? Although I don't really see how, since everything works fine if I use it directly in Vensim (game or simulation). I use a different vdi, for the g...
by Pruyn
Fri Feb 18, 2005 2:27 pm
Forum: Vensim
Topic: Reading in Values through Venapp
Replies: 11
Views: 7340

Reading in Values through Venapp

I'm using a .vdi file to read in changes form a database over ODBC. In Vensim the file works flawless, so I don't expect any problems there. When I try to apply the file with Venapp and for a game, at least the data series are not read. I use the following lines: BUTTON,"Play the game (Keep the...
by Pruyn
Wed Feb 16, 2005 8:57 am
Forum: Vensim
Topic: multi-player network games
Replies: 4
Views: 3654

I'm actually quite content with this solutions. It offers a replay mode and variable time for each game step (longer at the start, shorter towards the end) and most of all, non vensim users are able to adjest the startup situation. I admit I haven't tried sable as an input program, but MySQL allows ...
by Pruyn
Wed Feb 09, 2005 9:15 am
Forum: Vensim
Topic: supply curve
Replies: 13
Views: 8617

In a lot of other cases the allocate available would be, but in this case I would choose the rectangular version, or the old allocate by priority (they are the same). But to comply with the new directions I added the same model with the new function. The outcome is the same, but might insights in th...
by Pruyn
Tue Feb 08, 2005 8:58 am
Forum: Vensim
Topic: supply curve
Replies: 13
Views: 8617

I did it a little different than explained earlier. Thanks to the sugestion from Laube.

For a dissertation on width, work through the refference manual appendix E. It is quite important you understand this, since your model might otherwise come up with unexpected behaviour.

Jeroen
by Pruyn
Thu Feb 03, 2005 4:07 pm
Forum: Vensim
Topic: supply curve
Replies: 13
Views: 8617

If I understand your question right this is a marginal cost problem. I guess, you will need both a lookup function (or series of if than else) and a alloc by priority. The lookup will only work if the capacities and cost don't change over time (in my case they do). You input a requested qauntity int...
by Pruyn
Thu Feb 03, 2005 9:58 am
Forum: Vensim
Topic: multi-player network games
Replies: 4
Views: 3654

I haven't tried it that way, but instead worked my way around it. I use a MySQL database and a simple venapp program. Each time I forward one step in time, the data-series are read from the database over an ODBC connection and at the end of a step the values are written to the database. This way it ...