📕 To have effective production planning and control, it is necessary to calculate the reliability and maintenance of a production system as a whole. However, most of the previous approaches have neglected these concerns or used rough rules of thumbs, and just a few pieces of research have employed programming techniques, but with limited application to practical cases. Conversely, the present work provides an integrated methodology that includes maintenance and failure situations during the optimization of the design and operating variables of industrial utility systems. In the case of an existing subset, the procedure can establish the operating conditions together with the maintenance scheduling of every piece of equipment.