I have been working on 'energy management' through MATLAB Simulation. I am verifying the system under normal, fault and islanding condition. The system is running well under normal condition but when there is fault in the system the transformer attached with battery is not working well when demand breaker is tripped. Below is attached image file which is depicting where the actual issue is. I am looking for your sincere co-operation.