Comment
Comment by khafra
Seems like a simple cybernetics problem, especially if it's point-to-point. If there's many different inverters on the same circuit, you might need something like a directed graph, but there should be simpler, more local solutions.