Non-Branching Esau-Williams (NBEW) example¶

NBEW is a heuristic from interarray (optiwindnet’s predecessor). It takes in the raw location L and outputs the routeset G.

This heuristic enforces a radial (no-branches) topology.

[1]:
from optiwindnet.importer import load_repository
from optiwindnet.svg import svgplot
from optiwindnet.heuristics import NBEW
from optiwindnet.interarraylib import calcload

Load Sofia¶

[2]:
locations = load_repository()
[3]:
L = locations.sofia
[4]:
svgplot(L)
[4]:
../_images/notebooks_15-NBEW_6_0.svg

Optimize Sofia¶

[5]:
G = NBEW(L, capacity=9)
calcload(G)
svgplot(G)
[5]:
../_images/notebooks_15-NBEW_8_0.svg