The direct conversion of sunlight into electricity is a forward-looking technology to safeguard the energy supply and reduce pollution. This paper uses an ant colony metaheuristic optimization method to solve the redundancy optimization problem (ROP). It deals with optimization of multi states photovoltaic production system concerning redundancy optimization problem using a combined ant colony system and universal moment generating function