Search found 25 matches

by sjgenco
Fri Aug 18, 2023 12:23 am
Forum: Ventity
Topic: any plans for a Mac version of Ventity?
Replies: 3
Views: 3323

Re: any plans for a Mac version of Ventity?

Thanks Tom. If you're ever looking for a beta tester, keep me in mind.
Meanwhile, I will stop holding my breath.
by sjgenco
Fri Aug 11, 2023 10:37 pm
Forum: Ventity
Topic: any plans for a Mac version of Ventity?
Replies: 3
Views: 3323

any plans for a Mac version of Ventity?

[ ] Almost done.
[ ] In the works.
[ ] We're thinking about it
[ ] It's complicated.
[ ] No way, don't hold your breath

Please check the appropriate box.
Thanks!
by sjgenco
Mon Jul 31, 2023 10:58 pm
Forum: Vensim
Topic: Units Check whack-a-mole
Replies: 9
Views: 1215

Re: Units Check whack-a-mole

Yes, I think it's the Ignorance stock that's particularly problematic. It's defined as Obsolescence-Learning, and both of those are rates/year, so it has to be a stock of rates, which gets very weird very quickly. I can conceptualize Knowledge as a "thing" that can be acquired or depleted,...
by sjgenco
Mon Jul 31, 2023 6:59 pm
Forum: Vensim
Topic: how do I reload an existing dataset, including variable values?
Replies: 5
Views: 592

Re: how do I reload an existing dataset, including variable values?

Datasets include output data only. That's the little nugget of info I was missing.
I've been thinking of upgrading to Pro for the sensitivity analysis. This could be another good reason to consider it.
Thanks again Tom!
by sjgenco
Mon Jul 31, 2023 5:28 pm
Forum: Vensim
Topic: how do I reload an existing dataset, including variable values?
Replies: 5
Views: 592

Re: how do I reload an existing dataset, including variable values?

Synthesim is great and I've been using it. This is more an issue of getting back to a starting point after changing a model and running it under different names. For example, here is a snapshot of my Control Panel: vensim-control-panel.jpg To create a graph comparing the effects of different values ...
by sjgenco
Sun Jul 30, 2023 7:07 pm
Forum: Vensim
Topic: how do I reload an existing dataset, including variable values?
Replies: 5
Views: 592

how do I reload an existing dataset, including variable values?

I'm using VensimPLE. Suppose I have a model that includes 6 variables, a thru f, all constants. I use them to create some Custom Graphs. I populate each constant with a value. Now I want to save this model as my default, so I set the Run Name to 'default' and run it. Now I play around with my variab...
by sjgenco
Sat Jul 29, 2023 5:41 pm
Forum: Vensim
Topic: Units Check whack-a-mole
Replies: 9
Views: 1215

Re: Units Check whack-a-mole

Thanks Tom, for your patience in helping me work thru this. I was able to use your suggestion to get down to 2 unit errors. I did make Knowledge and Ignorance dimensionless, and Learning and Obsolescence 1/Year, and that got rid of some of the EXP and LOG errors. I was also able to put the Environme...
by sjgenco
Fri Jul 28, 2023 8:34 pm
Forum: Vensim
Topic: Units Check whack-a-mole
Replies: 9
Views: 1215

Re: Units Check whack-a-mole

Knowledge and Ignorance are key stocks in the model. Their "unit" is actually a little obscure in the InsightMaker model and the 2021 paper. Both basically represent the amount of technology in the system. "Knowledge" is the amount of useful technology and "Ignorance" i...
by sjgenco
Thu Jul 27, 2023 11:35 pm
Forum: Vensim
Topic: Units Check whack-a-mole
Replies: 9
Views: 1215

Units Check whack-a-mole

I recently took on the task of converting an interesting model written in InsightMaker to VensimPLE. After various fits and starts, I succeeded in getting the Vensim model to exactly replicate all the equations, parameters, and output in the InsightMaker model. But now I'm dealing with some pesky un...
by sjgenco
Mon Jul 24, 2023 12:45 am
Forum: Vensim
Topic: a gnarly IF THEN ELSE problem
Replies: 9
Views: 1060

Re: a gnarly IF THEN ELSE problem

okey dokey, live and learn.
by sjgenco
Mon Jul 24, 2023 12:44 am
Forum: Vensim
Topic: a simple example of my gnarly IF THEN ELSE problem (bug?)
Replies: 8
Views: 713

Re: a simple example of my gnarly IF THEN ELSE problem (bug?)

OK, now I know what the problem is (is this mentioned in the documentation anywhere, if so, I couldn't find it). I'm using PLE so don't have subscripts, so I'll try to work it out with multiple variables. This is a good (if painful) way to learn these little gotchas in Vensim. Also, a followup quest...
by sjgenco
Sun Jul 23, 2023 9:00 pm
Forum: Vensim
Topic: a simple example of my gnarly IF THEN ELSE problem (bug?)
Replies: 8
Views: 713

Re: a simple example of my gnarly IF THEN ELSE problem (bug?)

I tried your suggestion as follows: {inputs: a=1, b=2, c=3, d=4} 100 {initial value for result} c = IF THEN ELSE( a > b , 1, 0 ) {false, so c=0} c = IF THEN ELSE( c=0 :AND: d <= 3 , 1 , 0 ) {false, so c=0} c = IF THEN ELSE( c=0 :AND: d > 3 , 10 , 20 ) {true, so c=10} c * d {should = 10 * 5, so resul...
by sjgenco
Sun Jul 23, 2023 8:48 pm
Forum: Vensim
Topic: a gnarly IF THEN ELSE problem
Replies: 9
Views: 1060

Re: a gnarly IF THEN ELSE problem

I'm trying to avoid the nesting by using the value q=0 as a kind of flag. The variable I'm assigning here is [g]. If the first IF statement evaluates to TRUE, we assign q=1 so we can skip the next two IF statements (which require q=0). But if pE > w is FALSE, then we need to do more work, so we set ...
by sjgenco
Sun Jul 23, 2023 7:42 pm
Forum: Vensim
Topic: a simple example of my gnarly IF THEN ELSE problem (bug?)
Replies: 8
Views: 713

Re: a simple example of my gnarly IF THEN ELSE problem (bug?)

Thanks Tom. That makes sense. So you can assign a value to a variable in an equation, but only if you don't include any more code after the assignment? I thought maybe changing [result] and [result2] to Levels instead of Auxiliaries might do the trick. It does fix [result2] (removing the 100 in the ...
by sjgenco
Sun Jul 23, 2023 6:48 pm
Forum: Vensim
Topic: a simple example of my gnarly IF THEN ELSE problem (bug?)
Replies: 8
Views: 713

Re: a simple example of my gnarly IF THEN ELSE problem (bug?)

Looks like I ran out of attachments. Here is the model.
by sjgenco
Sun Jul 23, 2023 6:45 pm
Forum: Vensim
Topic: a simple example of my gnarly IF THEN ELSE problem (bug?)
Replies: 8
Views: 713

a simple example of my gnarly IF THEN ELSE problem (bug?)

I notice over 40 views of my original post, but not one reply. I've continued to dig around, and the problem is looking more like a bug than user error to me, but of course I'm ready to stand corrected if this is simply a "you forgot to put a comma here" problem. Here's a really simple mod...
by sjgenco
Sat Jul 22, 2023 6:22 pm
Forum: Vensim
Topic: a gnarly IF THEN ELSE problem
Replies: 9
Views: 1060

Re: a gnarly IF THEN ELSE problem

A bit more background on this puzzler. The full equation this code comes from is actually assigning the variable [g] and here it is deciding whether to modify the original value of [g] with one of these values of [q] (of course if q=1, that will leave [g] unchanged). Here's the whole equation: (Io +...
by sjgenco
Sat Jul 22, 2023 5:38 pm
Forum: Vensim
Topic: a gnarly IF THEN ELSE problem
Replies: 9
Views: 1060

Re: a gnarly IF THEN ELSE problem

I tried to take your advice and simplify the equations, setting q=0 as a flag to enter what had been nested IFs. The code now looks like this (with comments properly marked): IF THEN ELSE( pE > w , q=1, q=0 ) {if Ecosphere size [pE] is above [w], set q=1} IF THEN ELSE( q=0 :AND: Time <= sy , q=1 , q...
by sjgenco
Sat Jul 22, 2023 4:21 pm
Forum: Vensim
Topic: a gnarly IF THEN ELSE problem
Replies: 9
Views: 1060

Re: a gnarly IF THEN ELSE problem

My apologies! I grabbed the wrong commenting character from my memory banks. The comments were just to help me make sure I was at the right level for each IF statement. The revised code, with the comments properly marked (below), still fails with the 'Expecting an operator' error. I certainly unders...
by sjgenco
Fri Jul 21, 2023 11:29 pm
Forum: Vensim
Topic: a gnarly IF THEN ELSE problem
Replies: 9
Views: 1060

a gnarly IF THEN ELSE problem

I'm trying to translate some fairly complex InsightMaker code into a Vensim model and have been beating my head against the wall all day with this equation, trying to get rid of 'Expecting an operator' errors. Here's the code: IF THEN ELSE( pE < w , # if true that pE < w IF THEN ELSE( Time-sy <= 0 ,...
by sjgenco
Sat Jul 15, 2023 9:43 pm
Forum: Vensim
Topic: trouble with a lookup variable
Replies: 4
Views: 1374

Re: trouble with a lookup variable

Thank you! That fixed it.
by sjgenco
Sat Jul 15, 2023 8:22 pm
Forum: Vensim
Topic: trouble with a lookup variable
Replies: 4
Views: 1374

Re: trouble with a lookup variable

the units in the pop-data-lookup-variable.jpg image should be 'people' not 'people/Year'. I forgot to change it back before I captured the image.
by sjgenco
Sat Jul 15, 2023 8:18 pm
Forum: Vensim
Topic: trouble with a lookup variable
Replies: 4
Views: 1374

trouble with a lookup variable

I'm trying to reproduce a relatively simple world population model in Vensim. This is my first full model so I'm running into lots of issues, most of which I've been able to figure out, but this one is so simple it has me stumped. This model is somewhat like the rabbit models in the tutorials. I hav...
by sjgenco
Tue Sep 27, 2022 10:40 pm
Forum: Vensim
Topic: can Custom Graphs be displayed in old format?
Replies: 3
Views: 438

Re: can Custom Graphs be displayed in old format?

Thanks for the quick reply Tom. I agree the old format wasn't perfect, but the new one is definitely inferior, IMHO. In my 4 variable graph, in the old format I could see what kind of range I was getting for all 4 variables, in the new format I can only see 2, so that requires extra work to see how ...
by sjgenco
Tue Sep 27, 2022 5:15 pm
Forum: Vensim
Topic: can Custom Graphs be displayed in old format?
Replies: 3
Views: 438

can Custom Graphs be displayed in old format?

I'm new to Vensim, using version 9.3.4 on a 2019 MacBook Pro, MacOS 12.5.1. I got interested in replicating a dynamic system model called HANDY, which models population, inequality, and resource depletion. This model is discussed in a 2013 YouTube video https://www.youtube.com/watch?v=FPeK9JQ9tqg&am...