**6. Conclusions**

This paper proposed a simulation framework for the economic optimization of EESs that relies on the concurrent simulation of energy flows and economic estimations based on a single simulation kernel, namely, SystemC and its extensions. We showed that our framework allows an effective and efficient design exploration of the EES under design and enables decisions, such as the identification of (1) the optimal managemen<sup>t</sup> policy based on joint energy and economic constraints; (2) the cost-optimal or profit-optimal configurations of the EES in terms of number and type of renewable energy elements used (power sources and energy storage devices).

**Author Contributions:** Conceptualization and Methodology, Y.C., S.V. and M.P.; Experiment, S.V. and Y.C.; Writing—original draft, S.V., Y.C. and M.P.; and Writing—review and editing, D.B., S.Q. and E.M. All authors have read and agreed to the published version of the manuscript.

**Funding:** This research received no external funding.

**Conflicts of Interest:** The authors declare no conflict of interest.
