the continuous spread of distributed energy resources (ders) such as combined heating and power (chp), diesel generators, boilers and renewable energy sources provide an effective solution to energy related problems to serve the power and heat demands with minimum cost. moreover, the ders may play a significant role for supplying power and heat in rural areas, where grid electricity is not avai...