Search found 53 matches
- Mon Apr 17, 2023 1:25 pm
- Forum: Ventity
- Topic: Documentation bug?
- Replies: 2
- Views: 7253
Re: Documentation bug?
Ahem, 4.9.1.
- Mon Apr 17, 2023 1:22 pm
- Forum: Ventity
- Topic: Documentation bug?
- Replies: 2
- Views: 7253
Documentation bug?
Hi, Playing with Ventity 9.4.1 View > Equations > Export. While I really like .xlsx layout of the documentation, I notice that some of the Descriptions that I've added are missing! In particular, it appears all rows with an empty Element value are missing Description fields too. For example, if you ...
- Fri Apr 14, 2023 1:58 pm
- Forum: Ventity
- Topic: Unable to determine the winner of an election process
- Replies: 16
- Views: 12747
Re: Unable to determine the winner of an election process
This works great. Thanks, Tom!
- Wed Apr 12, 2023 6:41 pm
- Forum: Ventity
- Topic: Unable to determine the winner of an election process
- Replies: 16
- Views: 12747
Re: Unable to determine the winner of an election process
I love this example. In Tom's example model, a Person's Value varies between 1 and 0. We can think of the extremes as pro/con, right/left, red/blue, etc. The change function has the tendency to "polarize" the population, as evidenced by the thinning out of the middle quintiles. Picture1.pn...
- Mon Jul 04, 2022 8:57 pm
- Forum: Vensim
- Topic: Disenabling automatical adjustments of clear boxes?
- Replies: 6
- Views: 1943
Re: Disenabling automatical adjustments of clear boxes?
Vension 9.3 fixed the problem for me Many thanks!
Best regards,
Rob
Best regards,
Rob
- Sun Jul 03, 2022 12:00 pm
- Forum: Vensim
- Topic: Disenabling automatical adjustments of clear boxes?
- Replies: 6
- Views: 1943
Re: Disenabling automatical adjustments of clear boxes?
I can confirm I see the same behavior on Vensim 9.2.4 on PC and Mac. I create a new test file as below on left. When I close and reopen Vensim, I see the figure as below on right: Picture1.png Sometimes the bounding box has no height at all (shadow variables? I haven't yet reproduced the conditions)...
- Mon Feb 28, 2022 5:23 pm
- Forum: Vensim
- Topic: Tools > Options > Sketch > Font
- Replies: 3
- Views: 1440
Re: Tools > Options > Sketch > Font
Thanks, Tom!
- Mon Feb 28, 2022 5:17 pm
- Forum: Vensim
- Topic: Control Panel > Custom Graphs
- Replies: 2
- Views: 1079
Control Panel > Custom Graphs
Hi, I'm running Vensim 9.2 Mac. When I have the Control Panel docked and the list of graphs in the Custom Graph tab appears to refreshed only when tab is opened. For example, if the Custom Graph tab is open when I make a new custom graph, the graph graph does not appear among the list! I have to clo...
- Mon Feb 28, 2022 5:04 pm
- Forum: Vensim
- Topic: Tools > Options > Sketch > Font
- Replies: 3
- Views: 1440
Tools > Options > Sketch > Font
Hi, I'm running Vensim 9.2 Mac. In the new Sketch, going to Tools > Options > Sketch to change the default font. I can pick a new font, but there is no way to save it! Only option is "Close". Going back to Tools > Options > Sketch confirms that the change did not stick. It is sufficient to...
- Thu Dec 23, 2021 3:39 pm
- Forum: Vensim
- Topic: Change Special Time in Synthesim?
- Replies: 3
- Views: 1425
Re: Change Special Time in Synthesim?
One way to hack this is to use the Control Panel to set Special Time = FINAL TIME, and then make a Synthesim slider for FINAL TIME. But that seems defeat the concept of Special Time to examine a slice of a full simulation...
- Thu Dec 23, 2021 3:29 pm
- Forum: Vensim
- Topic: Change Special Time in Synthesim?
- Replies: 3
- Views: 1425
Change Special Time in Synthesim?
Hi, I've created a custom bar chart (saved in .vgd file). I know how to hard-code the display time, e.g. with :BAR-TIME, and that if this command is omitted the graph uses the Special Time. (See https://www.vensim.com/documentation/24010.html?q=BAR-TIME) I know that a way exists to change Special Ti...
- Thu Dec 16, 2021 9:21 pm
- Forum: Vensim
- Topic: Simultaneous equations involving: (array element)
- Replies: 3
- Views: 1621
Re: Simultaneous equations involving: (array element)
Nice! Working sample code attached.
Best regards,
Rob
Best regards,
Rob
- Thu Dec 16, 2021 5:28 pm
- Forum: Vensim
- Topic: Simultaneous equations involving: (array element)
- Replies: 3
- Views: 1621
Simultaneous equations involving: (array element)
Hi, I'm trying to do some feedback-like math in an array dimension. Using subscript mapping it is straightforward to calculate the accumulation of an array. But when I try to do something like a first-order exponential smoothing I get a “Simultaneous equations” error. Two similar blocks of code: Blo...
- Sat Jun 05, 2021 2:31 pm
- Forum: Vensim
- Topic: model calibration
- Replies: 4
- Views: 3313
Re: model calibration
Fifteen years later, is there still no way to combine lines and dots in a custom graph?
- Mon May 10, 2021 2:19 pm
- Forum: Vensim
- Topic: Best practice to avoid data warnings?
- Replies: 9
- Views: 11682
Re: Best practice to avoid data warnings?
Good thought! But unfortunately no. Viewing the model as text (so as to grab the syntax exactly), then copy and paste into a .cin file: :C Constant file for B Const B = 0 ~ unit ~ comment | Running the model gives the following errors: ERROR: FILE:B.cin, line 3 : Bad line in file, not recognized. ~ ...
- Mon May 10, 2021 12:04 pm
- Forum: Vensim
- Topic: Best practice to avoid data warnings?
- Replies: 9
- Views: 11682
Re: Best practice to avoid data warnings?
Following up, I tested whether a "recognizable value format" would work, like Vensim code: ERROR: FILE:B.cin, line 2 : Too many values or unrecognizable value format. Const B = 2 ~ units ~ comment |. ------------^. The alternative in-line comment with curly braces also throws a warning. ER...
- Sun May 09, 2021 9:15 pm
- Forum: Vensim
- Topic: Best practice to avoid data warnings?
- Replies: 9
- Views: 11682
Re: Best practice to avoid data warnings?
Jumping on this thread, how can we avoid errors when reading in .cin files with comments? Vensim help says anything after a tilde (~) in a .cin file is a comment. See: https://www.vensim.com/documentation/cin_files.html This is useful to indicate the units of the constants, for example. But the tild...
- Sat Feb 13, 2021 6:59 pm
- Forum: Vensim
- Topic: Passing string constants through a data file
- Replies: 13
- Views: 6336
Re: Passing string constants through a data file
Here's the second .cin file
- Sat Feb 13, 2021 6:57 pm
- Forum: Vensim
- Topic: Passing string constants through a data file
- Replies: 13
- Views: 6336
Re: Passing string constants through a data file
I get basically the same result.
I should have mentioned that the .cin file for my test had three elements. Only the element in the .cin file but not in the model causes the error. Sample model and both .cin files attached.
Best regards,
Rob
I should have mentioned that the .cin file for my test had three elements. Only the element in the .cin file but not in the model causes the error. Sample model and both .cin files attached.
Best regards,
Rob
- Sat Feb 13, 2021 4:56 pm
- Forum: Vensim
- Topic: VECTOR SELECT unweighted units
- Replies: 2
- Views: 1741
Re: VECTOR SELECT unweighted units
Erratum:
for numerical_action = 1, the units check should be
units(Result) = PROD(units(selection_array*expression_array))
for numerical_action = 7, the units check should be
units(Result) = PROD(units(expression_array))
But you get the idea
for numerical_action = 1, the units check should be
units(Result) = PROD(units(selection_array*expression_array))
for numerical_action = 7, the units check should be
units(Result) = PROD(units(expression_array))
But you get the idea
- Sat Feb 13, 2021 4:53 pm
- Forum: Vensim
- Topic: VECTOR SELECT unweighted units
- Replies: 2
- Views: 1741
VECTOR SELECT unweighted units
Hi, I'm using VECTOR SELECT to perform SUM and VMIN type calculations on large matrices. Say Result = VECTOR SELECT(selection_array, expression_array, ..., numerical_action, ...), Units checking appears to look for units(Result) = units(selection_array)*units(expression_array). This is correct when ...
- Sat Feb 13, 2021 4:15 pm
- Forum: Vensim
- Topic: Passing string constants through a data file
- Replies: 13
- Views: 6336
Re: Passing string constants through a data file
The messages are errors.Administrator wrote: ↑Fri Feb 12, 2021 8:58 pmAre they errors or warnings? We changed the behaviour some time ago so that if an error was encountered, you could still contine.
- Fri Feb 12, 2021 5:42 pm
- Forum: Vensim
- Topic: Passing string constants through a data file
- Replies: 13
- Views: 6336
Re: Passing string constants through a data file
The application is supply chain for raw materials. There are ~1600 finished goods, and ~7300 raw parts. Since the FG and raw part names are long and awkward, I'd rather define subscript names in a convenient way, FG : (f1-f600) and part: (r1-r7300) Since I cannot remember what part number r4545 is, ...
- Fri Feb 12, 2021 4:52 pm
- Forum: Vensim
- Topic: Passing string constants through a data file
- Replies: 13
- Views: 6336
Re: Passing string constants through a data file
Here are two example models that show the problem.
- Fri Feb 12, 2021 4:50 pm
- Forum: Vensim
- Topic: Passing string constants through a data file
- Replies: 13
- Views: 6336
Passing string constants through a data file
Hi, I can pass string constants through a .cin file. But when I am interested to use only a subset, I get errors like "Too many values or unrecognizable value format" and "bad type, incorrectly subscripted or not found". I'd like to avoid .cin input errors by having all model dat...