Search found 3808 matches

by tomfid
Fri Oct 03, 2014 1:44 am
Forum: Vensim
Topic: Ventity
Replies: 13
Views: 9806

Re: Ventity

Thanks. This sounds like a cool model, due to the real options angle - sell all the tickets up front and guarantee revenue? Or hold some for later in the season, and take your chances on the ups and downs of performance? Good luck with the model.
by tomfid
Fri Oct 03, 2014 1:39 am
Forum: Vensim
Topic: an amateur question
Replies: 5
Views: 3085

Re: an amateur question

1) from Little's Law, the average residence time in a stock is (stock/outflow). If you need more disequilibrium detail, you can create an explicit coflow to keep track of accumulating time. I think there have been a couple threads here on the topic. Something like http://www.ventanasystems.co.uk/for...
by tomfid
Tue Sep 30, 2014 2:06 pm
Forum: Vensim
Topic: Subscript combinations as a variable
Replies: 4
Views: 2463

Re: Subscript combinations as a variable

Just in case you haven't discovered it, you can build up subscripts hierarchically, which might make the 1-dimension idea easier:

Code: Select all

thingsthatfly : airplane, helicopter
thingsthatroll : car, truck
transportmode: thingsthatfly, thingsthatroll
by tomfid
Mon Sep 29, 2014 1:38 pm
Forum: Vensim
Topic: Plant Growth Modeling Question
Replies: 8
Views: 5583

Re: Plant Growth Modeling Question

For many situations, though, multiple IF THEN ELSE statements, and similar discrete logic, should be avoided.
by tomfid
Mon Sep 29, 2014 1:35 pm
Forum: Vensim
Topic: Subscript combinations as a variable
Replies: 4
Views: 2463

Re: Subscript combinations as a variable

EXCEPT statements are fixed. For some purposes, VECTOR SELECT might work for you (it doesn't execute elements that are 0 in the select statement). Or you might be able to use GET XLS SUBS.
by tomfid
Fri Sep 26, 2014 8:49 pm
Forum: Vensim
Topic: Plant Growth Modeling Question
Replies: 8
Views: 5583

Re: Plant Growth Modeling Question

Also some of the models in the User Guide might be relevant - I'm thinking of the Yeast example, but there are probably others.
by tomfid
Thu Sep 25, 2014 10:37 pm
Forum: Vensim
Topic: Ventity
Replies: 13
Views: 9806

Re: Ventity

Presumably there are thousands of tickets for any one game? Probably the one thing you wouldn't want to do is model literal individual tickets. Ventity isn't optimized for millions of lightweight entities with no dynamics, and I'm not sure it makes sense anyway. However, I think two aspects of this ...
by tomfid
Thu Sep 25, 2014 10:10 pm
Forum: Vensim
Topic: Looking for alternative for RAMP function???
Replies: 9
Views: 4022

Re: Looking for alternative for RAMP function???

Since your model has few parameters, you can probably fit it pretty well without using the optimizer. First you need to get your data into the model so that you can plot it alongside the simulation output. See http://www.vensim.com/documentation/usr16.htm . Since your data is in Excel, GET XLS or GE...
by tomfid
Thu Sep 25, 2014 9:57 pm
Forum: Vensim
Topic: Vensim debugging
Replies: 22
Views: 11919

Re: Vensim debugging

I agree that SI prefixes should simply be known by the software. It should also understand compound units, e.g. a Newton is a kg/m/s/s. It's in the Ventity spec, partially implemented. (More about that tomorrow.) One user question is how far to go with automatic conversion (as in the Mathematica exa...
by tomfid
Wed Sep 17, 2014 1:25 pm
Forum: Vensim
Topic: FOR Loop
Replies: 6
Views: 5291

Re: FOR Loop

Also, if this is a financial calculation, see: http://www.vensim.com/documentation/fn_financial.htm
by tomfid
Tue Sep 16, 2014 5:55 pm
Forum: Vensim
Topic: LOADMODEL does not work from Excel
Replies: 17
Views: 13092

Re: LOADMODEL does not work from Excel

Is the result from vensim_command("SPECIAL>LOADMODEL|worldapp.vpm") a 0 or 1?
by tomfid
Tue Sep 16, 2014 2:56 pm
Forum: Vensim
Topic: LOADMODEL does not work from Excel
Replies: 17
Views: 13092

Re: LOADMODEL does not work from Excel

What makes you think it's not loaded? Getting a 0 from check_status after a LOADMODEL could be normal.

What if you call vensim_get_info with 5 for the current model name? Or issue a MENU>RUN|o command?
by tomfid
Wed Sep 10, 2014 3:38 pm
Forum: Vensim
Topic: Calculation of Actual Completion Date
Replies: 6
Views: 4886

Re: Calculation of Actual Completion Date

When you get an FP error, take note of the warning at runtime: ERROR: Floating point error computing - #Current Completion Date>SMOOTHI# - at time = 0.000000. Then use the table tool to look at the problem variable and its inputs: Time (Month) 0 "Current Completion Date" and its causes Run...
by tomfid
Wed Sep 10, 2014 3:32 pm
Forum: Vensim
Topic: Which version to choose for conducting a master's thesis
Replies: 2
Views: 1898

Re: Which version to choose for conducting a master's thesis

Project management models cry out for arrays, so in the future you'll want to consider Pro or DSS. However, starting simple is always good.

There are a number of recent threads on a project model here; if you look through those, there are several links to useful theses and papers.
by tomfid
Mon Sep 08, 2014 2:48 pm
Forum: Vensim
Topic: Output Custom Graph
Replies: 6
Views: 4533

Re: Output Custom Graph

There isn't an option to directly suppress the y axis scale, but you could use the :y-label keyword: http://www.vensim.com/documentation/24000.htm You'd have to do this in a text editor on a .vgd file though.
by tomfid
Mon Sep 08, 2014 2:44 pm
Forum: Vensim
Topic: tracing subscripted variables
Replies: 3
Views: 3341

Re: tracing subscripted variables

Unfortunately I don't have anything to add. We'd need a 2-dimensional subscript picker for such combinations. I'm not sure how to implement that in the interface. We have the same problem in Ventity, so perhaps we'll come up with a solution that's portable.
by tomfid
Thu Sep 04, 2014 9:45 pm
Forum: Vensim
Topic: Calculation of Actual Completion Date
Replies: 6
Views: 4886

Re: Calculation of Actual Completion Date

A comment on your draft structure in the attachment: The stock-flow structure shown, sched completion date -------- Adjusting -------> actual completion date implies that the Adjusting flow reduces the scheduled completion date when it increases the actual completion date. This is not a situation wh...
by tomfid
Thu Sep 04, 2014 7:43 pm
Forum: Vensim
Topic: Calculation of Actual Completion Date
Replies: 6
Views: 4886

Re: Calculation of Actual Completion Date

Here's an example of the kind of structure you might want.
schedule adjustment.mdl
(4.84 KiB) Downloaded 275 times
It would need some tweaking - for example, it doesn't handle the time after the project is complete appropriately (it keeps adjusting the schedule). Also the task workflow portion is greatly simplified.
by tomfid
Fri Aug 29, 2014 10:18 pm
Forum: Vensim
Topic: Need help on market price
Replies: 10
Views: 4972

Re: Need help on market price

The FIND MARKET PRICE function provides a lot of flexibility in the supply curve descriptions. If you want supply curves that are arbitrary functions or lookups, you could accomplish the same thing by using FIND ZERO to clear the market. Finding a general solution for arbitrary demand curves isn't r...
by tomfid
Fri Aug 29, 2014 7:41 pm
Forum: Vensim
Topic: VECTOR SELECT function
Replies: 1
Views: 1798

Re: VECTOR SELECT function

I'm not sure where the threshold is with respect to speed, but that's of no interest unless your model is slow already.

Of greater importance is that, if your selection matrix is constant, causal tracing with VECTOR SELECT will show only elements that are used, rather than a lot of useless 0s.
by tomfid
Thu Aug 28, 2014 4:57 pm
Forum: Vensim
Topic: Need help with formulas
Replies: 26
Views: 13138

Re: Need help with formulas

Steady state error = in equilibrium, actual workforce (cumulative workforce level) doesn't equal required workforce. If you simplify to a first order (one stock model), it's easy to see why this happens: workforce = INTEG( hiring - departing, initial workforce ) hiring = (desired workforce - workfor...
by tomfid
Thu Aug 28, 2014 2:53 pm
Forum: Vensim
Topic: Need help with formulas
Replies: 26
Views: 13138

Re: Need help with formulas

Take a look at http://vensim.com/causal-tracing-in-vensim/ , then revisit your model. The aggregate behavior looks pretty reasonable to me, as long as willingness to increase workforce = 1. There's some steady state error (equilibrium workforce is short .3 people), because the hiring decision doesn'...
by tomfid
Wed Aug 27, 2014 7:03 pm
Forum: Vensim
Topic: Need help with formulas
Replies: 26
Views: 13138

Re: Need help with formulas

There are two ways to isolate: - copy/paste the structure into a separate model, improve it until you are satisfied, then copy/paste back into the complete model, or - break the causal links between the elements of the integrated model temporarily One way to implement the second approach might be: {...