Design and analyze an energy generation technique by considering carbon emission reduction of a green power plant