Search found 7 matches
- Tue Nov 21, 2023 9:08 am
- Forum: Vensim
- Topic: Efficient variable declaration on subranges
- Replies: 3
- Views: 1240
Re: Efficient variable declaration on subranges
OK thanks. In terms of performance, no difference at all then?
- Tue Nov 21, 2023 9:01 am
- Forum: Vensim
- Topic: Efficient variable declaration on subranges
- Replies: 3
- Views: 1240
Efficient variable declaration on subranges
Good morning, I have a question regarding declaration of variables with different definitions on different subranges. Assuming we have a subscript family COUNTRY containing the following subscript elements: FRA, ITA, USA, CAN, with FRA and ITA contained in the subrange EU, whereas USA and CAN contai...
- Wed Sep 13, 2023 7:56 am
- Forum: Vensim
- Topic: Checking for NA input data with subscripts
- Replies: 4
- Views: 495
Re: Checking for NA input data with subscripts
Thanks a lot for both your replies. I ran a few additional tests and I believe I found the issue. Changing from INTERPOLATE to RAW does not solve my issue (I actually tried that before). Also, remember that the exact same model and cmd would run in version 6.3E without any problem. But then I realis...
- Tue Sep 12, 2023 3:52 pm
- Forum: Vensim
- Topic: Checking for NA input data with subscripts
- Replies: 4
- Views: 495
Checking for NA input data with subscripts
Hi, I am trying to migrate a model from version 6.3E to version 10 (yes I agree this was long overdue). I encounter the following issue: when testing an input data variable for :NA:, it sometimes seems not to work, if the variable is with multiple subscripts (but I want to use 1 specific element for...
- Wed Jun 12, 2019 12:07 pm
- Forum: Vensim
- Topic: Warnings and external functions
- Replies: 3
- Views: 1755
Re: Warnings and external functions
Also, I guess from your answer that there is no way to force further warnings to be displayed anyways (even if there are more than 54) ?
- Wed Jun 12, 2019 12:05 pm
- Forum: Vensim
- Topic: Warnings and external functions
- Replies: 3
- Views: 1755
Re: Warnings and external functions
Thanks a lot for the answer. I will either try to create my own log, or to limit the number of warnings from my external function somehow. In case this is of any help when looking into the issue, I manage to display 54 warnings before getting this message : WARNING: ... further warning suppressed .....
- Wed Jun 12, 2019 9:29 am
- Forum: Vensim
- Topic: Warnings and external functions
- Replies: 3
- Views: 1755
Warnings and external functions
Hello, I am currently devloping an external function library for a Vensim model. One of the external functions used creates warnings, to be displayed in the normal vensim log (not in a special message box). I use a syntax like the following : (*VENGV->error_message)(WARNING, warning_txt); Since the ...