Uncertainty Analysis and Optimization in Cyber-Physical Systems of Reservoir Production