I am working on finding coordinates of nodes in a water distribution network.
I installed epanettools on my computer and I changed epanettools source code according to advices collected from the link: https://www.openepanet.org/Topic/22607/x-y-coordinates-in-c-code.
But when I used code shown below to find coordinates of nodes, no matter what node indexs I entered, it always returned [251,0], [251,0] for x,y coordinates. I spent a long time on this problem, but still now I did not fix this problem.
It’s very urgent for me to fix this problem, please help me to figure it out.
If you know the alternative way to find coordinates of nodes in a water distribution network, please tell me how to do that, I appreicate a lot.
Thanks in advance!