@@ -960,6 +960,33 @@ along the exploitation direction.
960960| linear search | Start with an initial guess and do a local search with step size 1 for each iteration step. |
961961| binary search | Start with a large search region and reduce the search region by half for every iteration step. |
962962
963+ ##### Regulatable voltage range outside ` u_band `
964+
965+ In the case of an unrealistically set voltage and ` u_band ` , the regulatable-viable voltage range can fall outside
966+ this target band.
967+ This will lead to the regulator returning the tap that results in the closest voltage level to the target band.
968+
969+ ##### Error type ` MaxIterationReached `
970+
971+ When the regulator cannot find a suitable voltage after all iterations, the MaxIterationReached error is thrown.
972+ We define the maximum iterations per transformer to be twice the amount of total taps possible.
973+ This failure happens in the following type of scenario:
974+
975+ - The per tap voltage step size in the regulatable voltage range is (significantly) larger than the ` u_band ` set by the
976+ input data. This will likely cause the regulator to go back and forth between two tap positions and eventually
977+ reach a pre-defined limit.
978+
979+ This error is a result of the two types search method used; ` linear ` and ` binary ` :
980+
981+ - Linear search method, used for ` any_valid_tap ` strategy, will try to go one tap up or down per iteration.
982+ If there is no valid tap position available, linear search method will keep trying until the maximum iteration
983+ for this transformer is reached.
984+ - Binary search method, used for the other three strategies, will iteratively narrow down search space by half and will
985+ run into a state where the searchable space is no longer viable. This is equivalent to the maximum iteration
986+ reached scenario for the linear search method.
987+
988+ In conclusion, when there is no suitable tap, error ` MaxIterationReached ` will be thrown.
989+
963990## Batch Calculations
964991
965992Usually, a single power-flow or state estimation calculation would not be enough to get insights in the grid.
0 commit comments