Hello Jennifer,
The ideal location for the custom logic will be at the first step i.e. creation of disconnection document.
Try function module ISU_DISCDOC_BOL_CREATE_DISCDOC and see if you can have the logic of picking only the electricity device for disconnection.
While creating a disconnection document we need a reference object. In your case it can be premise.
Regards,
Rahul