Search found 3811 matches

by tomfid
Tue Apr 25, 2017 6:01 pm
Forum: Vensim
Topic: Map of data import/export diagram (primarily for Pro/DSS users)
Replies: 1
Views: 1566

Map of data import/export diagram (primarily for Pro/DSS users)

This model maps data import/export options in Vensim. If you open this in Vensim, the blue underlined items are hyperlinks to Help system topics:
DataPaths.mdl
(8.94 KiB) Downloaded 236 times
Here's an image of the model (links won't work):
DataPaths.png
DataPaths.png (51.25 KiB) Viewed 1566 times
by tomfid
Tue Apr 25, 2017 3:24 pm
Forum: Vensim
Topic: Help with model calibration
Replies: 359
Views: 128986

Re: Help with model calibration

Few questions: 1) I have historical data on 3 variables from my model on each driver (monthly driving, errors/mile, and errors/month). Can I just import data on 2 variables: errors/mile and monthly driving? Just because the third variable (errors/month) is a product of the other 2 variables. Or is ...
by tomfid
Tue Apr 25, 2017 3:15 pm
Forum: Vensim
Topic: Help with model calibration
Replies: 359
Views: 128986

Re: Help with model calibration

by tomfid
Mon Apr 24, 2017 7:56 pm
Forum: Vensim
Topic: Help with model calibration
Replies: 359
Views: 128986

Re: Help with model calibration

For the moment, you have to calculate the binomial or Poisson likelihood explicitly in an equation. Adding it to the optimizer's builtin distributions is just a convenience.
by tomfid
Mon Apr 24, 2017 1:14 pm
Forum: Vensim
Topic: Help with model calibration
Replies: 359
Views: 128986

Re: Help with model calibration

This conversation spurred me to add Poisson and Binomial distributions to the optimization payoff calculations, so that part will get easier as soon as we release 6.5. In the meantime, I'll post an example ASAP.
by tomfid
Fri Apr 21, 2017 4:20 pm
Forum: Vensim
Topic: Help with model calibration
Replies: 359
Views: 128986

Re: Help with model calibration

For data input, it looks like your data is already in Tidy format, so I'd use that - https://www.vensim.com/documentation/in ... dy2vdf.htm, or GET XLS DATA/GET DIRECT DATA if you want live spreadsheet links.
by tomfid
Thu Apr 20, 2017 11:32 pm
Forum: Vensim
Topic: Help with model calibration
Replies: 359
Views: 128986

Re: Help with model calibration

You might start with averages just to get a quick answer, but I'd lean toward individual stats. For example, if the model reduces to something like the following: error frequency = f ( state of driver ) ~ errors/sec Then the probability of making an error in the next time step is P error = 1-exp(-er...
by tomfid
Thu Apr 20, 2017 4:23 pm
Forum: Vensim
Topic: Getting around virus to install
Replies: 2
Views: 1634

Re: Getting around virus to install

Either that, or you have more than one virus protection application active, and not all are disabled.
by tomfid
Thu Apr 20, 2017 2:57 pm
Forum: Vensim
Topic: Help with model calibration
Replies: 359
Views: 128986

Re: Help with model calibration

One more thing to think about: The error distribution is probably not Normal (Gaussian). - If drivers make lots of errors, it's probably approximately Normal, in which case you could ignore this. - If they make only a few in total, it's probably Poisson - If you're looking at errors over time, it's ...
by tomfid
Thu Apr 20, 2017 2:49 pm
Forum: Vensim
Topic: Help with model calibration
Replies: 359
Views: 128986

Re: Help with model calibration

In general, there are two distinct situations: - If you have a population of individuals, but you don't have input data for the particular causes of errors for each driver, you probably can't expect to replicate the time series error rate for any particular driver. Therefore comparing individual dri...
by tomfid
Fri Apr 14, 2017 12:59 pm
Forum: Vensim
Topic: Price Determination via Supply Gap
Replies: 4
Views: 2427

Re: Price Determination via Supply Gap

Another option would be to use a level to store the time at which the price increase started.

This seems like unrealistic logic for a real firm. Is this for some kind of discrete game decision or something like that?
by tomfid
Fri Apr 14, 2017 12:57 pm
Forum: Vensim
Topic: Delay
Replies: 1
Views: 1747

Re: Delay

DELAY FIXED( weight, one day ) would work. There's a sample model for it (and everything else) in the Help system.
by tomfid
Wed Apr 12, 2017 7:39 pm
Forum: Ventity
Topic: Import Vensim models as entities
Replies: 1
Views: 3224

Re: Import Vensim models as entities

Definitely. We have a working prototype, but it's not ready for real use. The main challenge is dealing with detail - a Vensim model with arrays implies a certain entity structure, but discerning what to do at entity boundaries is complex. In many cases, it'll make sense to change the model architec...
by tomfid
Wed Apr 12, 2017 7:36 pm
Forum: Ventity
Topic: Forecast function
Replies: 4
Views: 5117

Re: Forecast function

Definitely. We'll provide a direct analog as well as something more robust to noise.
by tomfid
Wed Apr 12, 2017 7:01 pm
Forum: Vensim
Topic: Time series data
Replies: 1
Views: 2903

Re: Time series data

There's no great difference on the Vensim side.

Relational is rather verbose (lots of repeated variable names) so I tend to avoid that.

Otherwise, it really depends what your source data looks like - you can generally pick a format that minimizes the transformation needed.
by tomfid
Tue Apr 11, 2017 12:09 am
Forum: Vensim
Topic: How to impose a constraint or an equilibrium on Vensim?
Replies: 1
Views: 1759

Re: How to impose a constraint or an equilibrium on Vensim?

I think the obvious thing to do here would be to make either the interest rate of the stock of domestic money holdings a stock that adjusts in response to pressure. For example, you might have: Actual holdings = INTEG( change in holdings, initial holdings ) change in holdings = (Desired holdings - a...
by tomfid
Mon Apr 10, 2017 6:48 pm
Forum: Vensim
Topic: Time Scales of Plots
Replies: 4
Views: 2322

Re: Time Scales of Plots

It's not an internal precision issue; it's that the label is apparently using the integer truncation of whatever the real date is.

126 won't work because 126/6 = 21 months.

144 months with 6 divisions or 132 with 11 divisions should work though.
by tomfid
Mon Apr 10, 2017 5:15 pm
Forum: Vensim
Topic: Time Scales of Plots
Replies: 4
Views: 2322

Re: Time Scales of Plots

You have 6 divisions of 11 years here, which is a little unnatural because that means 22 month intervals. However, the labels are misleading, because they don't indicate the lack of precision - those dates should be Oct. 2006, Aug 2008, June 2010, ... I'll see what we can do to improve the display. ...
by tomfid
Mon Apr 10, 2017 5:05 pm
Forum: Vensim
Topic: Help with error "Floating Point"
Replies: 2
Views: 1723

Re: Help with error "Floating Point"

This model would really benefit from having units defined and balanced. That might reveal the error.
by tomfid
Mon Apr 10, 2017 4:56 pm
Forum: Vensim
Topic: Help with error "Floating Point"
Replies: 2
Views: 1723

Re: Help with error "Floating Point"

The way to find the answer is to trace the causes of "Proporção de Viagens TP." See for example https://www.vensim.com/documentation/20440.htm or http://vensim.com/causal-tracing-in-vensim/ . You'll find quickly that "Uso Total do TP" goes negative very quickly. There's clearly a...
by tomfid
Fri Apr 07, 2017 2:22 pm
Forum: Vensim
Topic: Big model in Vensim PLE, variables went missing after save and re-opening
Replies: 3
Views: 2471

Re: Big model in Vensim PLE, variables went missing after save and re-opening

Can you post the model so we can take a look? If you also have a backup copy, that would be useful for comparison.
by tomfid
Thu Apr 06, 2017 5:17 pm
Forum: Vensim
Topic: Tabbed Array and slider?
Replies: 5
Views: 3013

Re: Tabbed Array and slider?

That shouldn't be necessary. GET DIRECT should give you a slider whether or not there's a subscript. Example:
sub_get_direct_slider.png
sub_get_direct_slider.png (8.37 KiB) Viewed 2976 times
by tomfid
Tue Apr 04, 2017 1:38 am
Forum: Vensim
Topic: Tabbed Array and slider?
Replies: 5
Views: 3013

Re: Tabbed Array and slider?

I just tested GET XLS and yes, it works that way.
by tomfid
Sun Apr 02, 2017 11:36 pm
Forum: Vensim
Topic: protecting a model while making it possible to be run
Replies: 5
Views: 3506

Re: protecting a model while making it possible to be run

The encryption in Venapp and the redistribution kit will do this, I think. As for Microsoft Office, it's not strong encryption (a dedicated sneak can break it), so deleting the diagrams might be an additional precaution.