I had to add your fork to my dependency list and check for the individual locomotive names, instead of the original mod name.
You also need to add a line in function register_locomotive_type(loco_name, fuel_item)
:
global.electric_loco_registry[loco_name] = fuel_item
So that the new electric locomotives are actually added to the list of types to be electrically refueld.
And there seems to be a mismatch between the locomotive power setting and the dummy fuel item fuel value (at least for the standard loco). You need to increase the fuel value so that the locomotive does not run out of energy before the next update cycle, at its maximum consumption rate. (you can tell this is happening because the out-of-fuel warning flashing while driving normally/manually).