Hi,
I have resolved the issue myself I think see below.
using the matrix previously discussed. I now use the following equations.
health[need]= -sum(develop need[need,toNeed!])
Care[need]= sum(develop need[need!,toNeed])
If you have any other suggestions please let me know.
Many thanks
Joe
Search found 9 matches
- Thu Jun 30, 2011 9:27 pm
- Forum: Vensim
- Topic: Subscript mapping
- Replies: 2
- Views: 2572
- Thu Jun 30, 2011 8:35 pm
- Forum: Vensim
- Topic: Subscript mapping
- Replies: 2
- Views: 2572
Subscript mapping
Hi, I am trying to simplify a model by including subscripts. The purpose of the model was to model people progressing from healthy to a level of care need. The subscripts I have in the model thus far are: none, low, medium, substantial and critical. Rather than have 6 stocks, I have two. A healthy s...
- Wed Jun 01, 2011 12:59 pm
- Forum: Vensim
- Topic: Linking sliders not using VENAPPS
- Replies: 2
- Views: 2941
Linking sliders not using VENAPPS
Hi, Is it possible to link sliders for constants in a model without using VENAPPS? I have 3 variables that are linked to one another: 1. Capacity of a service 2. Initial population using service 1 3. Initial population using service 2 These variables can be set using sliders. The initial population ...
- Sat Apr 17, 2010 9:14 am
- Forum: Vensim
- Topic: vensim_get_data into Excel
- Replies: 5
- Views: 3580
- Sat Apr 17, 2010 8:47 am
- Forum: Vensim
- Topic: vensim_get_data into Excel
- Replies: 5
- Views: 3580
Thanks Tony, I am trying to use the code in Excel and I now get the compile error: ByRed argument type mismatch. What I would like to do is extract the data from a VENSIM table and place it in Excel. The code I am using is trying to get the information from a single variable in the model. The code t...
- Fri Apr 16, 2010 11:43 pm
- Forum: Vensim
- Topic: vensim_get_data into Excel
- Replies: 5
- Views: 3580
- Fri Apr 16, 2010 9:02 pm
- Forum: Vensim
- Topic: vensim_get_data into Excel
- Replies: 5
- Views: 3580
vensim_get_data into Excel
Hi, I have a table in VENSIM that relates to 25 vals Private Sub ResultGet() result = vensim_get_data("base", "LR Susceptible 1[age1,female]", "TIME", vval, tval, 1) Worksheets("sheet1").Cells(6, 16) = result Worksheets("sheet1").Cells(7, 16) = vval ...
- Thu Mar 25, 2010 3:43 pm
- Forum: Vensim
- Topic: Subscript ranges
- Replies: 2
- Views: 3037
- Thu Mar 25, 2010 11:05 am
- Forum: Vensim
- Topic: Subscript ranges
- Replies: 2
- Views: 3037
Subscript ranges
Hi, I am trying to create an SIS (infection) model using subscripts and subranges to represent age groups and gender but I am getting confused with subscript mapping. There are 3 different infection rates depending on the age of the contact partner which I am trying to capture in the rate lr t: 1. t...