I am a novice programmer and I am using python and epanet toolkit (EPYNET). I have encountered an issue when multiple assingment of values for a node or a link is needed. For instance, network.nodes[multiple IDs].basedemand=[values] does not work, the only way to do this is network.nodes[ID].basedemand=[Value] within a for loop for each ID.
Is there anyone that knows how this function works?
Thank you in advance!