I attempted to add it to my current game and I have Krastorio2 installed. K2 does add a new substation.
Error loading mods:
Failed to load mods: Error while running setup for entity prototype "substation" (electric-pole): next_upgrade target (kr-substation-mk2) must have the same fast_replaceable_group (substation != substation-electric-pole).
Mods to be disabled:
Krastorio2 (1.3.24)
underground-energy-distribution (1.10.0)
extended-descriptions (1.2.3)
Seems the error you found is unrelated with K2 compatibility. Thanks for the bug report though. That was a problem.
As for K2 compatibility, i'm going to have to do some digging into their code and see why the conflict exists. Might be able to drop the fast replacement groups and still have it work.