Registre de correu electrònic: A dual-layer optimization model for capacity configuration in microgrids considering source-load interactions