dEMS is a collection of tools to optimize the operation of a power generation system, consisting of fuel cells and batteries, including degradation. The methods, based on mixed integer linear optimization, are detailed in the publication "Optimization of an energy management system for PEMFCs including degradation" from which this software is derived from. Here the confidential data related to the specific case studied in the aforementioned paper was replaced by public data retrieved from Energinet (https://www.energidataservice.dk/).