Search found 8 matches

by gt4569a
Mon Jan 16, 2023 7:34 pm
Forum: Vensim
Topic: Vector Elm Map: 2 dim array to 2 dim array
Replies: 4
Views: 2943

Re: Vector Elm Map: 2 dim array to 2 dim array

Thank you for responding. Here are all of the related variables & subscripts that I have defined so far: For this problem, there are 467 employees, so there are 467 elements of [Emplid], or E1..E467 Each employee has an ID number, defined as Empl ID Num[Emplid], range = 1...467, such that Empl I...
by gt4569a
Mon Jan 16, 2023 4:10 pm
Forum: Vensim
Topic: Vector Elm Map: 2 dim array to 2 dim array
Replies: 4
Views: 2943

Vector Elm Map: 2 dim array to 2 dim array

Hello, I am trying to use the Vector Elm Map function to map an existing 2D variable into a new 2D variable, where one subscript of the new variable is different, but the other subscript is retained. The existing arrayed variable is: Task Duration by Role[RoleID, TaskID] The new arrayed variable nee...
by gt4569a
Thu Aug 06, 2015 1:29 am
Forum: Vensim
Topic: Migrating values w/in an array (or to another if necessary!)
Replies: 9
Views: 11135

Re: Migrating values w/in an array (or to another if necessa

I don't need to filter out the zero values for this particular model. But I'd be interested in how to do that for another project!

v/r
Buzz
by gt4569a
Wed Aug 05, 2015 10:35 pm
Forum: Vensim
Topic: Migrating values w/in an array (or to another if necessary!)
Replies: 9
Views: 11135

Re: Migrating values w/in an array (or to another if necessa

I just need to ensure that I can accommodate a position value for up to x objects (zeroes are ignored in downstream calculations). So I can replace a zero with a non-zero value as long as I do it consistently (as above, all the non-zero values for Object IDs from SA2 are moved to the twenties- O21, ...
by gt4569a
Wed Aug 05, 2015 9:14 pm
Forum: Vensim
Topic: Migrating values w/in an array (or to another if necessary!)
Replies: 9
Views: 11135

Migrating values w/in an array (or to another if necessary!)

Hello, I have a variable that stores the position of objects in a series of subareas, e.g.: Object Position by SubArea[SubArea,ObjectID] Currently SubArea has 3 elements: SA1, SA2, SA3 ObjectID has 60 elements: O1, O2, etc I am trying to merge the three subareas into a single geographic area so I in...
by gt4569a
Thu Nov 13, 2014 7:14 pm
Forum: Vensim
Topic: basic vensim computation issue
Replies: 3
Views: 4771

Re: basic vensim computation issue

Timestep = 1 (seconds), So .01 accrues to the stock every second.

thank you
Buzz
by gt4569a
Tue Nov 11, 2014 11:00 pm
Forum: Vensim
Topic: basic vensim computation issue
Replies: 3
Views: 4771

basic vensim computation issue

Hello all, In searching I saw some topics that touched on this question, but haven't seen anyone address what I would consider to be the more basic issue: why is it possible, when the inflow to a stock is a (constant) rational number that is a fraction of 1, that the stock value can sometimes never ...
by gt4569a
Sun Mar 02, 2014 4:54 pm
Forum: Vensim
Topic: External function mismatch 51050 (got 400) error
Replies: 1
Views: 2795

External function mismatch 51050 (got 400) error

I read in an earlier thread: http://www.ventanasystems.co.uk/forum/viewtopic.php?f=2&t=4462&p=15002&hilit=51050#p15002 that this problem could be resolved by changing the pointer in the header to match the currently installed location of vensim.h. Unfortunately I am no C++ literate, so I...