摘要:Abstract: Optimization of a battery schedule in a microgrid is presented in this paper. The open source simulation tool GridLab-D is used for simulation of microgrid elements. Matlab is used as an environment for running optimization solvers. The tool GridMat is used as an interface between Matlab and GridLab-D. Two microgrid scheduling optimization tasks are solved. The obtained results are analyzed and some conclusions are drawn. The approach presented is promising and it can be applied successfully to microgrids not only in rural but also in urban regions.