Modeling PV-Feed-In

Hello Bastian. Didn’t this question come up at the Frankfurt workshop? I have three responses. First, does the solver actually choose the loop flows you suggest, that is, are you 100% certain there is a problem? I suspect the solver does not do this but I cannot cite a reliable source for that view. But neither have I seen a minimum cost flow problem algorithm that adds the cost-less loop flows you indicate simply because “it can”. Second, you could add minuscule costs or losses to the flows in question: sufficient to influence the solver but not so large as to make a material difference to the results. Or you can go down the binary route and limit the flow to one direction only. This is computationally expensive though. (As an aside, I once implemented a nodal pricing algorithm using this third option. Not only is it slow, it also yields faulty marginal costs. As Daniel Huppmann explains here. I duly filed a bug report to myself!) HTH, Robbie. PS: nice diagram, makes the question easier to visualize.