Home › Forums › Urban Modeling and Simulation › Network City II // Generative Model building typologies › Reply To: Network City II // Generative Model building typologies
Dear Reinhard,
I am currently facing two problems with the model:
1- The first one is that, after adding more parameters to the 1st Attractivity C# Component, I keep getting this error: 1. The index was out of range. It should be non-negative and smaller than the size of the collection. Parameter name: index (line: 0). – The definition follows in the screenshots.
2- The second one is that I am not sure how to sum up three lists. This is one of my attempts:
List < int> sumList = (PopulDistrib.Zip(AgricultureDistrib, (x, y) => x + y).Zip(CommercialHubDistrib, (x, y) => x + y).Zip(PermacultureCenterDistrib, (x, y) => x + y);
Thanks for the help in advance!
Luisa.