concerning your question 1:
In the DistanceMatrix resp. the Distances data tree you find all distances from each plot to each other plot. Please, look at the example code at the top of the C#_Attractivity component. If you need the distances from a plot with index = 0 to all other plots you can use:
In a for loop with i as an iterator. Looks like this if your print the distances:
You can set the attractivity of places further away than 150m to 0.
There is another method to distribute functions (e.g. 10 commercial usages) that are closest to the population without overlapping their catchment area. Please ask the group with Artem, how to do this.
I’ll look into your other questions later.