On-line minimization of running costs, greenhouse gas emissions and the impact of distributed generation using microgrids on the electrical system | IEEE Conference Publication | IEEE Xplore