This paper describes three methods used in the development of a utility-scale solar cyber-physical system. The study describes remote fault detection using machine learning approaches, power output optimization using cloud movement prediction and consensus-based solar array parameter estimation. Dynamic cloud movement, shading and soiling, lead to fluctuations in power output and loss of efficiency. For optimization of output power, a cloud movement prediction algorithm is proposed. Integrated fault detection methods are also described to predict and by pass failing modules. Finally, the fully connected solar array, which is fitted with multiple sensors, is operated as an Internet of things network. Integrated with each module are sensors and radio electronics communicating all data to a fusion center. Gathering data at the fusion center to compute and transmit analytics requires secure low power communication solutions. To optimize the resources and power consumption, we describe a method to integrate fully distributed algorithms designed for a wireless sensor network in this CPS system.