Multi-demand-side resource regulation capacity assessment for distribution network safety and security | Synapse