Optimize for all sources in a subnetwork with the same source priority at the same time (ensuring optimal solution uniqueness) #2051
Labels
allocation
Allocation layer
core
Issues related to the computational core in Julia
performance
Relates to runtime performance or convergence
In #2022 source priorities were introduced for allocation. In that PR it was first attempted to solve for all sources in a subnetwork that have the same source priority at the same time. The problem that this situation has is that it becomes more likely that the optimization problems do not have an unique optimal solution, which can lead to non-deterministic behavior. Therefore it was reverted to solving for each source individually.
Solving per source means solving a lot more optimization problems, which affects performance (and potentially also optimization results of lower quality). In the default case where source priorities are not unique, the optimization per source priority is done in the order of the Node IDs, which is somewhat arbitrary. So if we want to bring solving for all sources that have the same priority at once, we need to introduce a way to make the solution of the optimization unique.
One way to do this is by adding a secondary objective. Then solving an optimization problem has the following steps:
The text was updated successfully, but these errors were encountered: