added dc generator module