A Two-Layer Energy Management System for Microgrids With Hybrid Energy Storage Considering Degradation Costs | Synapse