Currently, the script just allocates the customer points, to add leakage you have a separate user-defined leakage demand that matches the number of allocated properties.
To do this you need to go to each node that has a property attached and add a row to the demand_by_category WSStructure.
Adding to a WSStructure isn't documented but you do it by increasing the size of the array as per the below code.
Can add to demand allocation script and a separate script talking about updating values.
Currently, the script just allocates the customer points, to add leakage you have a separate user-defined leakage demand that matches the number of allocated properties.
To do this you need to go to each node that has a property attached and add a row to the
demand_by_category
WSStructure.Adding to a WSStructure isn't documented but you do it by increasing the size of the array as per the below code.
Can add to demand allocation script and a separate script talking about updating values.