Try this instead ...
You can also use SAMPLE IF TRUE for this (though I think it's not available in all versions).
Search found 3800 matches
- Fri Mar 08, 2024 3:57 pm
- Forum: Vensim
- Topic: Help with PULSE TRAIN and random variable
- Replies: 6
- Views: 95
- Tue Mar 05, 2024 2:06 pm
- Forum: Vensim
- Topic: it is frustrating!
- Replies: 17
- Views: 284
- Mon Mar 04, 2024 4:36 pm
- Forum: Vensim
- Topic: where is the sim set up from the old GUI in the new one?
- Replies: 9
- Views: 9682
Re: where is the sim set up from the old GUI in the new one?
Not sure I'm tracking the issue here. In the old gui, PLE sim setup doesn't have a dialog. Everything is in the toolbar. 2024-03-04_09-33-54.png In the new gui, PLE does have a dialog (albeit without much content). 2024-03-04_09-32-44.png In both cases, constants and lookups are highlighted, and you...
- Mon Feb 05, 2024 11:10 pm
- Forum: Vensim
- Topic: Reinstall Vensim (error 977).
- Replies: 5
- Views: 544
Re: Reinstall Vensim (error 977).
Typically this indicates a path problem. Have you moved the dll?
- Fri Feb 02, 2024 4:00 pm
- Forum: Vensim
- Topic: RC Fonksiyon
- Replies: 1
- Views: 377
Re: RC Fonksiyon
I think you'll have to elaborate a bit, because there are a lot of different possible population structures, which might call for different approaches.
One option is to use the Little's Law equilibrium estimate, i.e. residence time = stock/flow_throughput. https://en.wikipedia.org/wiki/Little%27s_law
One option is to use the Little's Law equilibrium estimate, i.e. residence time = stock/flow_throughput. https://en.wikipedia.org/wiki/Little%27s_law
- Fri Feb 02, 2024 2:00 pm
- Forum: System Dynamics Discussion
- Topic: Utilizing Ventana Systems Tools for enhancing data breach protection strategies ?
- Replies: 3
- Views: 920
Re: Utilizing Ventana Systems Tools for enhancing data breach protection strategies ?
For starters, google "sander zeijlemaker security system dynamics" - he's done quite a bit of interesting work. You should be able to find much of it in the ISDC conference proceedings.
- Fri Feb 02, 2024 1:52 pm
- Forum: Vensim
- Topic: Can the Vensim PLE version achieve seasonal forecasting?
- Replies: 2
- Views: 522
Re: Can the Vensim PLE version achieve seasonal forecasting?
I think the month variable is intentional, for creating a seasonal input.
Since the seasonal behavior has 3 episodes, switched in an IF THEN ELSE statement, I think you could create the same thing for seasonal smoothing - have 3 smoothing structures, one active during each episode.
Since the seasonal behavior has 3 episodes, switched in an IF THEN ELSE statement, I think you could create the same thing for seasonal smoothing - have 3 smoothing structures, one active during each episode.
- Thu Feb 01, 2024 3:45 pm
- Forum: Vensim
- Topic: Units tips or laws
- Replies: 7
- Views: 715
Re: Units tips or laws
Your flows are dimensioned dmnl/hour, but your time unit in Model>Settings is Mes.
- Wed Jan 31, 2024 3:57 pm
- Forum: Vensim
- Topic: Units tips or laws
- Replies: 7
- Views: 715
Re: Units tips or laws
There are at least two rules: - a flow has the same units as the stock it connects to, divided by the time unit - EXP, LN, and a number of other functions require dimensionless units beyond that, if you have y = a / b the units follow y units = a units/b units One consequence of this is that you can...
- Mon Jan 29, 2024 6:30 pm
- Forum: Vensim
- Topic: Copy & Paste between models
- Replies: 4
- Views: 476
Re: Copy & Paste between models
If you open them in the same application instance, this works. (If you open the files by double-clicking from the finder/explorer, you have two application instances, and it won't work.)
In pro/DSS, general settings, you can enable opening multiple models simultaneously.
In pro/DSS, general settings, you can enable opening multiple models simultaneously.
- Thu Jan 25, 2024 5:35 pm
- Forum: Vensim
- Topic: Max file size
- Replies: 5
- Views: 1057
Re: Max file size
I think the 3221226505 return code may be a variable type mismatch - this has been reported in other contexts.
- Sun Jan 14, 2024 11:19 pm
- Forum: Vensim
- Topic: Finding MAX of simulation variable
- Replies: 2
- Views: 890
Re: Finding MAX of simulation variable
If you can make the calculation at FINAL TIME, you can use SAMPLE IF TRUE to hold the max value over the simulation - there's an example in the help system.
- Wed Jan 10, 2024 5:44 pm
- Forum: Vensim
- Topic: Get data xls with multiple subscripts
- Replies: 4
- Views: 3027
Re: Get data xls with multiple subscripts
In a case like this, importing the data to vdf would be less error-prone.
- Wed Jan 10, 2024 5:42 pm
- Forum: Vensim
- Topic: Get data xls with multiple subscripts
- Replies: 4
- Views: 3027
Re: Get data xls with multiple subscripts
The GET DATA calls are basically 1-dimensional because the spreadsheet is 2D, and one is taken by time.
One possible way to semi-automate a GET call with more dimensions is to put the sheet names or first-cell references in a string variable with the appropriate subscripting.
One possible way to semi-automate a GET call with more dimensions is to put the sheet names or first-cell references in a string variable with the appropriate subscripting.
- Sat Jan 06, 2024 5:33 pm
- Forum: Vensim
- Topic: Vensim not correctly calculating stock from flows
- Replies: 4
- Views: 5953
Re: Vensim not correctly calculating stock from flows
Right. Personally I find it hard to remember the beginning/ending balance sequencing. It would be nice if we could update the table tool to make it easy to toggle display of stocks as start/end of period, though that might be tricky for some variables using functions like SAMPLE IF TRUE. It would al...
- Sat Jan 06, 2024 3:23 pm
- Forum: Vensim
- Topic: Vensim not correctly calculating stock from flows
- Replies: 4
- Views: 5953
Re: Vensim not correctly calculating stock from flows
I think that the computation is actually correct. The Euler update in your spreadsheet is: stock(t + dt) = stock(t) + flows This is fine if the TIME STEP (dt) = 1, but in this model it's 0.25. The correct Euler update is: stock(t + dt) = stock(t) + flows*dt In this case, the value 1618 in cell F37 i...
- Tue Jan 02, 2024 10:46 pm
- Forum: Vensim
- Topic: Solving for implicit functions before starting time
- Replies: 7
- Views: 8618
Re: Solving for implicit functions before starting time
I agree. The drawback of a lookup is that it might not be totally general (i.e. you'd have to recompute the values if some assumption changed). My guess is that the speed penalty for FIND ZERO is small. Unfortunately, you can't wrap FIND ZERO in an INITIAL statement, but you could set the error vect...
- Fri Dec 29, 2023 4:02 pm
- Forum: Vensim
- Topic: Solving for implicit functions before starting time
- Replies: 7
- Views: 8618
Re: Solving for implicit functions before starting time
Another option would be to put a table of solutions (Moody diagram) into a lookup or fitted function.
- Fri Dec 22, 2023 3:14 pm
- Forum: Vensim
- Topic: Can't view model as sketch
- Replies: 12
- Views: 11204
Re: Can't view model as sketch
This means there are syntax errors in the equations. Use Check Model <ctl><T> to see the error window.
- Fri Dec 22, 2023 3:13 pm
- Forum: Vensim
- Topic: download stel2ven.zip and/or stel2ven.exe
- Replies: 2
- Views: 3847
Re: download stel2ven.zip and/or stel2ven.exe
Newer Stella models are in XMILE, which you can import via the File menu.
- Fri Dec 22, 2023 3:12 pm
- Forum: Vensim
- Topic: Erased variables
- Replies: 2
- Views: 2139
Re: Erased variables
Whether variables remain in the model depends on user choice - when you delete a variable with the delete key, a dialog asks whether to remove them from the model or only the current view. You can find these variables by opening the Control Panel > Variables tab, and selecting the "orphans"...
- Sat Dec 16, 2023 10:52 pm
- Forum: Ventity
- Topic: Very strange behavior when I edit auxiliary names
- Replies: 1
- Views: 6791
Re: Very strange behavior when I edit auxiliary names
I can replicate this. Ticketed for the devs to take a look.
- Sat Dec 16, 2023 10:47 pm
- Forum: Ventity
- Topic: Ventity download
- Replies: 1
- Views: 4443
Re: Ventity download
It's working right now. There was an intermittent issue that seems to be resolved with our last web site update. Sorry for the issue.
- Fri Dec 15, 2023 4:58 pm
- Forum: Vensim
- Topic: Sub-Subscripts?
- Replies: 3
- Views: 2731
Re: Sub-Subscripts?
Notice here that the COUNTRIES range is built up hierarchically by first defining euro and non-euro subranges. That's not necessary however - you can mix & match ranges and elements. City : Boston, Las Vegas, Denver, San Diego, Seattle, New York East Coast : Boston, New York West Coast : San Die...
- Tue Dec 12, 2023 2:11 pm
- Forum: Vensim
- Topic: Level initial series
- Replies: 4
- Views: 3600
Re: Level initial series
It sounds like you want a population stock that's moving approximately alongside the data from 1995-2023, then reset the population stock to precisely match the data at 2023, then have the population evolve into the future by endogenous forces? If so, there are several ways to do this. The general i...