there is no packets possible in system with realistic energyflow, optimization of such system done relatively easy:
each energy source and energy sink linked via network and linkage information stored inside hashtable, link is permanent, cable always have "flow" inside, ever both sink and source stay inactive, power does not flow over cables, it just teleport from source to destination with losses based on link total resistance.
lowtech devices shoud provide constant voltage.
hightech devices shoud provide variable power, if voltage loss over link is 20% and max destination voltage 100, hightech source shoud send 122 volts, to minimize loss, energy sent in constant flow without packets, all losses percent based.