Energy storage configuration model for reliability services of active distribution networks | Synapse