Modeling and daily operation optimization of a distributed energy system considering economic and energy aspects. (7th May 2018)