That's the special value for :NA:. https://www.vensim.com/documentation/index.html?na.htm
The largest ordinary value is about +/- 3 x 10^38.
In double precision Vensim DSS the largest value is about 2 x 10^308.
Search found 3811 matches
- Fri Aug 26, 2016 11:31 pm
- Forum: Vensim
- Topic: The largest number vensim can calculate.
- Replies: 2
- Views: 1752
- Fri Aug 26, 2016 10:38 pm
- Forum: Vensim
- Topic: Problem with INVERT MATRIX
- Replies: 4
- Views: 2613
Re: Problem with INVERT MATRIX
Can you post a sample model?
Have you tried double precision Vensim DSS?
Have you tried double precision Vensim DSS?
- Fri Aug 26, 2016 2:08 pm
- Forum: Vensim
- Topic: optimization in vensim based on time
- Replies: 6
- Views: 4508
Re: optimization in vensim based on time
You'll need to attach the .voc and .vpd files for a diagnosis.
If a variable is subscripted in the model, it must also be subscripted in the control files.
If a variable is subscripted in the model, it must also be subscripted in the control files.
- Fri Aug 26, 2016 1:39 am
- Forum: Vensim
- Topic: Project within the Masterthesis
- Replies: 7
- Views: 3489
Re: Project within the Masterthesis
You might check the project model in the built-in help (User Guide, I think) for more ideas.
- Fri Aug 26, 2016 1:37 am
- Forum: Vensim
- Topic: Maximum and average
- Replies: 11
- Views: 5569
Re: Maximum and average
You can use the Stats tool if you just need to report these values. If you need them for use in an equation, you can use SAMPLE IF TRUE for the max. You can compute the average with a stock, or use a SMOOTH for a moving average. If you tell us a little more about what you're trying to do, we can sug...
- Tue Aug 23, 2016 5:11 pm
- Forum: Vensim
- Topic: how to map subscripts of different dimension
- Replies: 5
- Views: 3621
Re: how to map subscripts of different dimension
Great. This is an interesting problem. I started to build a version of the model in Ventity, but concluded that it didn't confer a big advantage over Vensim's arrays (or at least I didn't immediately discover one). However, it is much easier to build a version with individual buildings as entities i...
- Tue Aug 23, 2016 2:02 pm
- Forum: Vensim
- Topic: Initialize from last run?
- Replies: 7
- Views: 4724
Re: Initialize from last run?
You could run from -3500 to 0, and then use the Based On and Resume At options to start the run from 0 to 100: https://www.vensim.com/documentation/23320.htm This won't work if you have pipeline delays in the model. If that's an issue, there might be other options, though the internal delay states m...
- Tue Aug 23, 2016 3:49 am
- Forum: Vensim
- Topic: optimization in vensim based on time
- Replies: 6
- Views: 4508
Re: optimization in vensim based on time
You can make your decision rule a function of time, and search for the parameters, like: y = a + b*time + c*time^2 ... Or you can use VECTOR LOOKUP to search for an array of points over time. However, searching for a series of decisions over time is usually not a good strategy for realistic problems...
- Mon Aug 22, 2016 6:01 pm
- Forum: Vensim
- Topic: Project within the Masterthesis
- Replies: 7
- Views: 3489
Re: Project within the Masterthesis
Since grinding is a destructive process, you may want to limit the number of times a part can pass through the rework stage. In that case, you might want something more like this:
- Mon Aug 22, 2016 5:29 pm
- Forum: Ventity
- Topic: August - Beta 1254
- Replies: 0
- Views: 5383
August - Beta 1254
The latest beta is #1254. Get it at http://ventity.biz. We've simplified the download process a bit, too.
- Mon Aug 22, 2016 3:36 pm
- Forum: Vensim
- Topic: how to map subscripts of different dimension
- Replies: 5
- Views: 3621
Re: how to map subscripts of different dimension
One question: why the 500-element AaR dimension? Seems very big.
- Mon Aug 22, 2016 3:31 pm
- Forum: Vensim
- Topic: how to map subscripts of different dimension
- Replies: 5
- Views: 3621
Re: how to map subscripts of different dimension
Mapping works in two cases: 1. same size arrays range : (r1-r10) previous : (r1-r9) next : (r2:r10) -> previous y[r1] = x[r1] y[next] = y[previous] + x[next] 2. few-to-many cities : MTcities, COcities MTcities : bozeman, helena COcities : denver, boulder state : MT, CO -> (cities : MTcities, COcitie...
- Thu Aug 18, 2016 10:45 pm
- Forum: Vensim
- Topic: question about sum and arrays
- Replies: 7
- Views: 3675
Re: question about sum and arrays
Also, this might be a good Ventity model. You'd make each breeding stock with N failures an entity, and create the N needed entities automatically via an action.
- Thu Aug 18, 2016 10:25 pm
- Forum: Vensim
- Topic: question about sum and arrays
- Replies: 7
- Views: 3675
Re: question about sum and arrays
I might do this the old-fashioned way, with an explicit chain of stocks rather than arrays. It might be a little more work to set up, but it's more visible.
- Thu Aug 18, 2016 3:27 pm
- Forum: Vensim
- Topic: question about sum and arrays
- Replies: 7
- Views: 3675
Re: question about sum and arrays
What is the syntax for taking a partial sum of an array? I would expect something like SUM(array[i!],min_index,max_index) I avoid this kind of for-loop logic as much as possible. If the partial sum is over some predictable subset, use a subrange, e.g. range : a,b,c,d,e,f subrange : a, d, f y = SUM(...
- Thu Aug 18, 2016 3:04 pm
- Forum: Vensim
- Topic: Vensim seems to change my units
- Replies: 3
- Views: 2479
Re: Vensim seems to change my units
For extraction: (Barrels/Well)/Year is mathematically equivalent to Barrels/(Well*Year). I think the only thing you need to do is set up an equivalence between "well" and "wells". https://www.vensim.com/documentation/ref_units_equiv.htm For Petroleum Reserves & Wells: You don...
- Wed Aug 17, 2016 1:59 pm
- Forum: Vensim
- Topic: System dynamics in Agile. Problem with work transfer
- Replies: 3
- Views: 2137
Re: System dynamics in Agile. Problem with work transfer
TIME STEP applies to the whole model. The typical rule of thumb is that it should be <= to 1/2 of the shortest delay in the model.
In a stock-flow chain structure, units are the same throughout. So all stocks will have units of task, and all flows have units of task/time.
In a stock-flow chain structure, units are the same throughout. So all stocks will have units of task, and all flows have units of task/time.
- Wed Aug 17, 2016 1:54 pm
- Forum: Vensim
- Topic: How to make custom bar graphs?
- Replies: 1
- Views: 1546
Re: How to make custom bar graphs?
That's another .vgd editing topic. The syntax is here:
https://www.vensim.com/documentation/24010.htm
Let us know if you need help with the details.
https://www.vensim.com/documentation/24010.htm
Let us know if you need help with the details.
- Sat Aug 13, 2016 11:56 pm
- Forum: Vensim
- Topic: Tutorials (Video + text)
- Replies: 19
- Views: 44824
Re: Tutorials (Video + text)
Good to hear it. The latest is a look at model critique skills:
http://vensim.com/model-analysis-world-dynamics/
http://vensim.com/model-analysis-world-dynamics/
- Fri Aug 12, 2016 4:54 pm
- Forum: Vensim
- Topic: creating an array of functions
- Replies: 1
- Views: 1529
Re: creating an array of functions
You might look through Chapter 17 of the User Guide, which covers arrays (subscripts). https://www.vensim.com/documentation/usr17.htm For #1, you need to write a separate equation for each element. https://www.vensim.com/documentation/21265.htm This might look like: Liklihood_of_widget_failure[f1]= ...
- Thu Aug 11, 2016 3:14 pm
- Forum: Vensim
- Topic: subranges turning into subscripts on their own
- Replies: 2
- Views: 1986
Re: subranges turning into subscripts on their own
Generally this occurs from a typo. For example, if you have: range : a,b,c subrange : a,b but accidentally type subrange : a,d it's no longer clear what to do when subrange is not a subset of range. However, what you're getting seems different. I've never seen it. Can you save a model + spreadsheet ...
- Thu Aug 11, 2016 3:10 pm
- Forum: Vensim
- Topic: calibration comparing to var not data file
- Replies: 1
- Views: 1609
Re: calibration comparing to var not data file
The answer depends on the type of the comparison variable. If it's a data variable (i.e. a variable that references data directly, with no equation) or a data equation (defined with :=) you can use: modelvar|datavar/weight Currently payoffs don't support comparison between model variables, so you ca...
- Thu Aug 11, 2016 1:21 pm
- Forum: Vensim
- Topic: "GET_XLS_SUBSCRIPT" query
- Replies: 10
- Views: 11379
Re: "GET_XLS_SUBSCRIPT" query
Unfortunately this can't be done dynamically. Published models are essentially precompiled, because the .dll can't do that itself, so the array dimensions have to be fixed. GET XLS only updates the structure when run from the application. A possible workaround, if you need to add dimensions on the f...
- Thu Aug 11, 2016 1:17 pm
- Forum: Vensim
- Topic: more than 6 runs in one graph?
- Replies: 5
- Views: 2956
Re: more than 6 runs in one graph?
BTW, the charting is slated for an upgrade (in progress).
- Thu Aug 11, 2016 1:10 pm
- Forum: Vensim
- Topic: how to make vensim update get xls constants?
- Replies: 12
- Views: 6022
Re: how to make vensim update get xls constants?
That does sound wrong. I'll test.