SMART RENEWABLE ENERGY GENERATOR WRITING A