1. A method of programming and operating a facility, comprising: (a) using a computer system that stores an operational programming application, wherein the operational programming application comprises an operational program for determining the operation of at least one facility; (b) acquiring data from operational events of the at least one facility and entering the data into the operational program, wherein feasibility of the operational program is maintained; (c) setting a scope of the data to be analyzed, wherein the scope of the analysis is defined based on at least one operational event of interest; (d) assembling the data within the scope of the analysis in a structured and automated manner; (e) processing the assembled data using at least one of a mathematical model defined from the assembled data and a strategy-based procedure and obtaining results for the defined scope of the analysis; (f) disassembling the obtained results in a structured and automated manner according to the obtained results; (g) adjusting the operational program by incorporating the obtained result into the program; and (h) programming and operating the at least one facility according to the adjusted operational program.