Multiple Equations for a Subscripted Variable HELP
Posted: Mon Jun 30, 2025 4:28 pm
In Chap. 17 of the User Guide, there is this section:
https://www.vensim.com/documentation/21265.html
According to this section, it is possible to select ranges that under the same subscript multiple times. I am trying to do this with the subscript Sector in my model with range [Pharmaceutical Industry, OtherSectors](i am coding it like this because I would like to potentially upscale this to other sectors). However, when I try to do that, my model gives the following error:
Duplicate Subscript Families Found (Sector)
The goal of this code is to assign a number to each pair (sector, sector) when sector ≠ sector
Attached is the model I am working with and a screenshot of my error. Could someone kindly advise me on what I could do to get to the final result?
https://www.vensim.com/documentation/21265.html
According to this section, it is possible to select ranges that under the same subscript multiple times. I am trying to do this with the subscript Sector in my model with range [Pharmaceutical Industry, OtherSectors](i am coding it like this because I would like to potentially upscale this to other sectors). However, when I try to do that, my model gives the following error:
Duplicate Subscript Families Found (Sector)
The goal of this code is to assign a number to each pair (sector, sector) when sector ≠ sector
Attached is the model I am working with and a screenshot of my error. Could someone kindly advise me on what I could do to get to the final result?