You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adicionar VRP em cada tubulação de fronteira individualmente
for i, vrp_id in enumerate(vrpID):
from_index = str(linksNodesFromIndex[i])
to_index = str(linksNodesToIndex[i])
rede.addLinkValvePRV(vrp_id, from_index, to_index)
Then I used the command to count the valves and the count was 0:
valves = rede.getLinkValveCount()
What Am I doing wrong?
The text was updated successfully, but these errors were encountered:
I'm trying to add PRVs and plot the network but it's not working. Can anyone help me?
I tryed to do something like this:
for row in linksNodesToFrom:
linksNodesToIndex.append(row[0])
for row in linksNodesToFrom:
linksNodesFromIndex.append(row[1])
Adicionar VRP nas tubulações de fronteira
vrpID = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11']
Adicionar VRP em cada tubulação de fronteira individualmente
for i, vrp_id in enumerate(vrpID):
from_index = str(linksNodesFromIndex[i])
to_index = str(linksNodesToIndex[i])
rede.addLinkValvePRV(vrp_id, from_index, to_index)
Then I used the command to count the valves and the count was 0:
valves = rede.getLinkValveCount()
What Am I doing wrong?
The text was updated successfully, but these errors were encountered: