Search found 3811 matches

by tomfid
Sat May 18, 2013 11:19 pm
Forum: Vensim
Topic: Vensim PLE plus and Excel 2010
Replies: 19
Views: 13319

Re: Vensim PLE plus and Excel 2010

Actually they don't need to be shadow variables (unless appearing more than once on a diagram), but often they are used that way. Sounds like a good topic for a quick video clip ...
by tomfid
Sat May 18, 2013 6:05 pm
Forum: Vensim
Topic: Vensim PLE plus and Excel 2010
Replies: 19
Views: 13319

Re: Vensim PLE plus and Excel 2010

The syntax of a lookup is just like a function call, e.g. y = f(x), where f() is the lookup. A quick trip through the User Guide chapter linked above may help with this. In your case, you need a Lookup: dwg rate lookup = GET XLS LOOKUPS('ROI.xls','project' ,'E','F4' ) and an Auxiliary that uses the ...
by tomfid
Fri May 17, 2013 8:34 pm
Forum: Vensim
Topic: Vensim PLE plus and Excel 2010
Replies: 19
Views: 13319

Re: Vensim PLE plus and Excel 2010

The user guide has a chapter on lookups: http://www.vensim.com/documentation/usr08.htm
by tomfid
Fri May 17, 2013 4:35 pm
Forum: Vensim
Topic: Vensim PLE plus and Excel 2010
Replies: 19
Views: 13319

Re: Vensim PLE plus and Excel 2010

This is pointed at the wrong filename, but as soon as I change it to 'roi.xls' it works fine. An easy way to do that is to give it a query name flag, like '?roi', so that it'll ask you to locate the file on first use.
by tomfid
Fri May 17, 2013 4:03 pm
Forum: Vensim
Topic: How can i replace the optimization algorithm?
Replies: 27
Views: 10312

Re: How can i replace the optimization algorithm?

For maximum speed in the dll, you should run using the SYNTHESIM commands rather than ordinary simulations. http://www.vensim.com/documentation/25172.htm http://www.vensim.com/documentation/25531.htm http://www.vensim.com/documentation/25532.htm Turn AUTO off and use GO to launch simulations, after ...
by tomfid
Thu May 16, 2013 9:54 pm
Forum: Vensim
Topic: Vensim PLE plus and Excel 2010
Replies: 19
Views: 13319

Re: Vensim PLE plus and Excel 2010

Vensim is compatible with xlsx, so you should be able to use any version of Excel (I use 2010 regularly). If not, there's some peculiarity to your file or system (multiple versions of Excel running?). There shouldn't be any file name limitations either (other than the usual system-imposed limits). T...
by tomfid
Thu May 16, 2013 9:47 pm
Forum: Vensim
Topic: SIMULTANEOUS Error in 6.0b
Replies: 1
Views: 2224

Re: SIMULTANEOUS Error in 6.0b

You're right ... it looks like we broke it in the equation editor upgrade. There are two workarounds: - switch to the text editor view and manually delete the space in SIMUL TANEOUS, or - don't use the type dropdown in the equation editor; instead just type SIMULTANEOUS( ... ) in the equation field....
by tomfid
Thu May 16, 2013 9:41 pm
Forum: Vensim
Topic: Linear Program
Replies: 14
Views: 7537

Re: Linear Program

It's available now as an external function. Take a look, then we can talk ... http://vensim.com/workbench/
by tomfid
Thu May 16, 2013 1:03 pm
Forum: Vensim
Topic: Using Vensim as a DDE Client
Replies: 14
Views: 13210

Re: Using Vensim as a DDE Client

I think another thing that can cause the version -1 error is a missing resource file - be sure that you're running the version of the Vensim .dll that installs to your system, not a copy of the dll elsewhere.
by tomfid
Wed May 15, 2013 9:04 pm
Forum: Vensim
Topic: Using Vensim as a DDE Client
Replies: 14
Views: 13210

Re: Using Vensim as a DDE Client

Also, what version # are you using? I think the -1 error result actually indicates something other than a version mismatch, but I'd have to know what you're working with to be sure.
by tomfid
Tue May 14, 2013 4:57 pm
Forum: Vensim
Topic: Using Vensim as a DDE Client
Replies: 14
Views: 13210

Re: Using Vensim as a DDE Client

You need a separate Redistribution License to distribute the .dll, or have users install the Model Reader. We can give you a price quote if needed. It's possible to run a Vensim model from another Vensim model by creating an external function that calls the .dll. I've done it, and could probably fin...
by tomfid
Mon May 13, 2013 6:14 pm
Forum: Vensim
Topic: Level input
Replies: 5
Views: 3239

Re: Level input

It seems that what you're implying is that all of the steps can be completed in zero time, in which case it's not clear conceptually why you need any stocks. The missing component of this model is the time required to complete each step. For example, you have automated acceptance testing rate= integ...
by tomfid
Mon May 13, 2013 4:03 pm
Forum: Vensim
Topic: Level input
Replies: 5
Views: 3239

Re: Level input

Right. Things that respond instantaneously are not levels.

You might try working through something like the roadmaps series if this doesn't make sense.
http://clexchange.org/curriculum/roadmaps.asp
by tomfid
Mon May 13, 2013 4:00 pm
Forum: Vensim
Topic: stop generation of .vdf file
Replies: 6
Views: 3316

Re: stop generation of .vdf file

If you're using the .dll, you can use MEMFILE
http://www.vensim.com/documentation/25032.htm

What does modeFrontier provide that can't be done with the Vensim optimizers?
by tomfid
Wed May 08, 2013 1:42 pm
Forum: Vensim
Topic: Importing data in Lookup
Replies: 4
Views: 3018

Re: Importing data in Lookup

Right, forgot about that limitation. You could always upgrade ... You can write a simple equation in Excel to insert the needed punctuation, e.g., if you have row 1 & 2 1 2 3 4 0.1 0.2 0.3 0.4 write in cell A3, ="(" & A1 & "," & A2 & ")," Then fill r...
by tomfid
Mon May 06, 2013 2:34 pm
Forum: Vensim
Topic: Units in model
Replies: 4
Views: 3239

Re: Units in model

Here's how I'd modify the units to fix this: ************************************ Units changes from (<) Vensim Model Fish v2.mdl to (>) current model ************************************ Assumed Optimal Fish Density < Ton/m³ > Dmnl Change in Fleet < Fleet/Year > vessel/Year Effect of Fish Density o...
by tomfid
Mon May 06, 2013 2:26 pm
Forum: Vensim
Topic: Importing data in Lookup
Replies: 4
Views: 3018

Re: Importing data in Lookup

You can also use the "import vals" button in the "as graph" editor for the lookup to copy directly out of a spreadsheet. http://www.vensim.com/documentation/ref ... ort%2Bvals
by tomfid
Tue Apr 30, 2013 10:53 pm
Forum: Vensim
Topic: models & discussion of nonlinear dynamics
Replies: 0
Views: 4415

models & discussion of nonlinear dynamics

I've recently added a number of models on topics in nonlinear dynamics to my library: http://models.metasd.com/bifurcations-from-strogatz-nonlinear-dynamics-and-chaos/ http://models.metasd.com/early-warnings-of-catastrophe/ There are some corresponding discussions on my blog: http://blog.metasd.com/...
by tomfid
Tue Apr 30, 2013 5:00 pm
Forum: Vensim
Topic: Load CIN and external data
Replies: 9
Views: 5227

Re: Load CIN and external data

When you say "data" here, do you actually mean the history of decisions made in a previous simulation, rather than external data?
by tomfid
Tue Apr 30, 2013 1:52 am
Forum: Vensim
Topic: X-Y plot not X-t
Replies: 9
Views: 8517

Re: X-Y plot not X-t

They are uncorrelated, as are draws from any of the RANDOM functions. Completely uncorrelated white noise is actually not physically realizable, because it would have infinite power at high frequencies. So, you either need to ensure that your noise is sampled at some fixed interval, or implement a c...
by tomfid
Mon Apr 29, 2013 2:49 pm
Forum: Vensim
Topic: Randomized noise seed crashes model
Replies: 8
Views: 3847

Re: Randomized noise seed crashes model

Does this model run for you?
GET TIME VALUE.mdl
(5.02 KiB) Downloaded 228 times
(This is a modified version of what's in the help system.)

What version/hardware/OS are you on? [Never mind, I see this in your original post.]

Tom
by tomfid
Mon Apr 29, 2013 1:12 pm
Forum: Vensim
Topic: Randomized noise seed crashes model
Replies: 8
Views: 3847

Re: Randomized noise seed crashes model

Definitely reasonable - just tough for us to replicate unfortunately. Trying on this end too.
by tomfid
Sat Apr 27, 2013 10:56 pm
Forum: Vensim
Topic: Newb Q a Rate affecting > 1 Level
Replies: 2
Views: 1937

Re: Newb Q a Rate affecting > 1 Level

A typical thing to do would be to have a single auxiliary representing the coordinated action, and connect that to the two rates that affect separate levels.
by tomfid
Fri Apr 26, 2013 2:58 pm
Forum: Vensim
Topic: Load CIN and external data
Replies: 9
Views: 5227

Re: Load CIN and external data

Can you post the code you're using? .cin and data statements shouldn't normally interact.
by tomfid
Fri Apr 26, 2013 2:55 pm
Forum: Vensim
Topic: Randomized noise seed crashes model
Replies: 8
Views: 3847

Re: Randomized noise seed crashes model

You should be using INITIAL(GET TIME VALUE(2,0,10)) to avoid reinitializing the random stream at every time step. I don't think that's the issue though.

If you delete everything from the model but the NOISE SEED and the RANDOM instances, does it still crash? If so, could you share that portion?