Search found 3877 matches
- Sun Nov 10, 2024 6:56 pm
- Forum: Vensim
- Topic: Reiterating Data
- Replies: 15
- Views: 293
Re: Reiterating Data
Constants aren't supposed to change over time. My suggestion is to read the constants into an array, where the subscript serves as a virtual time axis. Then read from that array with VECTOR LOOKUP to get the time dimension.
- Sun Nov 10, 2024 6:35 pm
- Forum: Vensim
- Topic: Simultaneous workaround
- Replies: 1
- Views: 32
Re: Simultaneous workaround
I would be inclined to solve the system simultaneously. Often FIND ZERO is a better option than SIMULTANEOUS for this. Would have to see the equations to say more.
- Thu Nov 07, 2024 6:51 pm
- Forum: Vensim
- Topic: Reiterating Data
- Replies: 15
- Views: 293
Re: Reiterating Data
After further thought, I think the right way to do this is:
- Create a subscript for the hourly instances, like i : (i1-i8760)
- Read the data as constants into a subscripted variable, like
temperature = GET XLS CONSTANT( ... )
- Use VECTOR LOOKUP to read from that table, with x=Time modulo 8760.
- Create a subscript for the hourly instances, like i : (i1-i8760)
- Read the data as constants into a subscripted variable, like
temperature = GET XLS CONSTANT( ... )
- Use VECTOR LOOKUP to read from that table, with x=Time modulo 8760.
- Thu Nov 07, 2024 5:16 pm
- Forum: Vensim
- Topic: SETVAL in Python
- Replies: 1
- Views: 39
Re: SETVAL in Python
You might take a look at how it's done in VenPy:
https://github.com/VensimSoftware/venpy ... py.py#L406
https://github.com/VensimSoftware/venpy ... py.py#L406
- Thu Nov 07, 2024 4:49 pm
- Forum: Ventity
- Topic: ABM in Ventity
- Replies: 6
- Views: 121
Re: ABM in Ventity
Hybrid models are really the target of Ventity. The ideal use case is a model that mixes aggregate SD, and maybe a moderate number of agents with complex dynamics. Ventity is not designed for situations with millions of very simple agents. This series considers infection models from aggregate, cohor...
- Wed Nov 06, 2024 2:59 pm
- Forum: Ventity
- Topic: ABM in Ventity
- Replies: 6
- Views: 121
- Mon Nov 04, 2024 2:59 pm
- Forum: Vensim
- Topic: units for %
- Replies: 10
- Views: 188
Re: units for %
I use "fraction" if it's a share (0-1) and "percent" if it's really %, 0-100. I usually define a constant, like "hundred percent = 100 ~ percent" for converting between the two.
- Sun Nov 03, 2024 3:57 pm
- Forum: Vensim
- Topic: Reiterating Data
- Replies: 15
- Views: 293
Re: Reiterating Data
I would expect GET DATA AT TIME to have extremely slow performance - most of the GET DATA functions cause a noticeable slowdown, unless they are wrapped in an INITIAL (which wouldn't work here). If the model is small this may not be a problem.
- Sat Nov 02, 2024 8:48 pm
- Forum: Vensim
- Topic: Reiterating Data
- Replies: 15
- Views: 293
Re: Reiterating Data
There's no built-in way to do this, but I can think of some kluges, though they might not be very efficient. How many variables are in this dataset, and what is the purpose of the repetition? Knowing more might make it easier to choose a solution.
- Sat Oct 19, 2024 4:15 pm
- Forum: Vensim
- Topic: MCMC Sampling and Boundary Penalty
- Replies: 10
- Views: 5185
Re: MCMC Sampling and Boundary Penalty
This experiment does suggest another interesting case: if all the likelihoods and/or priors have a beta distribution with small a,b then all the density should be concentrated at the extremes of the range (or worse, the corners of the hypercube if it's multidimensional). In theory the algorithm can ...
- Sat Oct 19, 2024 4:11 pm
- Forum: Vensim
- Topic: MCMC Sampling and Boundary Penalty
- Replies: 10
- Views: 5185
Re: MCMC Sampling and Boundary Penalty
I modified the hard bounds constraint behavior so the concentration of mass at the bound no longer happens, at least in a case like this with a uniform likelihood and (implicitly) flat prior over a unit hypercube. It probably still makes sense to apply some kind of prior within the range. We plan to...
- Fri Oct 18, 2024 10:06 pm
- Forum: Vensim
- Topic: "No runs are loaded. Please load runs."
- Replies: 8
- Views: 971
Re: "No runs are loaded. Please load runs."
Wish I'd thought of that sooner!
- Fri Oct 18, 2024 10:06 pm
- Forum: Vensim
- Topic: v.10 Parallel computations
- Replies: 10
- Views: 3061
Re: v.10 Parallel computations
You might be running the nonparallel version of DSS. The installer currently installs both. You want to see DSS 10.x.x (MC) in your title bar or About window. If you don't see the option in the GUI, it won't work from the .voc - the options will behave like the normal nonparallel restart options.
- Thu Oct 17, 2024 3:57 pm
- Forum: Vensim
- Topic: "No runs are loaded. Please load runs."
- Replies: 8
- Views: 971
Re: "No runs are loaded. Please load runs."
A possible cause is that "activate on variable selection" is turned on for one of your analysis tools. activate var select.PNG You can right-click the tools to check and turn it off if needed, or use Tools>Analysis Toolset>New to reload a fresh toolset (losing previous unsaved settings).
- Thu Oct 17, 2024 3:49 pm
- Forum: Vensim
- Topic: Converting Stella model to Vensim
- Replies: 3
- Views: 676
Re: Converting Stella model to Vensim
vensim at vensim dot com.
- Sat Oct 12, 2024 1:30 am
- Forum: Vensim
- Topic: "No runs are loaded. Please load runs."
- Replies: 8
- Views: 971
Re: "No runs are loaded. Please load runs."
I think the key question is, what tool are you using when you click on things?
Also would need to know operating system and Vensim version to say more.
Also would need to know operating system and Vensim version to say more.
- Fri Oct 11, 2024 3:54 am
- Forum: Vensim
- Topic: error! aborting! vensim program error
- Replies: 1
- Views: 346
- Sun Oct 06, 2024 1:28 pm
- Forum: Vensim
- Topic: loading of data
- Replies: 5
- Views: 940
Re: loading of data
Ventity also does data.
- Sun Oct 06, 2024 1:28 pm
- Forum: Vensim
- Topic: loading of data
- Replies: 5
- Views: 940
Re: loading of data
It starts with PLE+, though if you want to do much with the data (e.g., calibration optimization) you really want Pro or DSS.
https://vensim.com/comparison-chart-for ... gurations/
https://vensim.com/comparison-chart-for ... gurations/
- Fri Oct 04, 2024 8:43 pm
- Forum: Vensim
- Topic: loading of data
- Replies: 5
- Views: 940
Re: loading of data
For visual comparison, I think there is one option: the Reference Mode tool. However, if you want your data to drive the model behavior, the lookup is it.
- Fri Oct 04, 2024 1:57 pm
- Forum: Vensim
- Topic: The error report was sent to us.
- Replies: 3
- Views: 717
Re: The error report was sent to us.
We'll look into it. In the meantime, if you have any detail about the circumstances, you can shoot us an email at vensim at vensim.com - if they arrive roughly concurrently, we'll know what's what.
- Wed Oct 02, 2024 6:23 pm
- Forum: Vensim
- Topic: Birth simulation
- Replies: 8
- Views: 1230
Re: Birth simulation
Ah ... try this ...
- Tue Oct 01, 2024 3:20 pm
- Forum: Vensim
- Topic: Finding unique feedback loops
- Replies: 3
- Views: 767
Re: Finding unique feedback loops
However, this is an area of active development, using the shortest independent loop set methodology originated by Kampmann and developed by a number of others in the SD literature.
- Fri Sep 27, 2024 1:45 pm
- Forum: Vensim
- Topic: Birth simulation
- Replies: 8
- Views: 1230
Re: Birth simulation
Also, when the input becomes nonzero, should there be an immediate pulse, or should the pulses be restricted to a particular time (for example, always in month 6 of the year)?
- Fri Sep 27, 2024 1:43 pm
- Forum: Vensim
- Topic: Birth simulation
- Replies: 8
- Views: 1230
Re: Birth simulation
Is the input going to go from 0 to nonzero in a single step, or vary on/off over time?