MPC BASED ENERGY OPTIMIZATION AND REGULATION FOR ZERO CARBON ENERGY