PRVs Revesre Direction

When I add Prv to my network with matlab-toolkit it shows negative pressure but when i reverse end & start node of Prvs it works well and reduse pressure without negativity. What can i do to make sure the prvs i add is in the right direction?