A system comprising: a system controller for a refrigeration or HVAC system having a compressor rack with at least one compressor and a condensing unit with at least one condenser fan, the system controller configured to monito and control operation of the refrigeration or HVAC system; characterized in that the system further comprises: a rack controller in communication with the system controller, the rack controller configured to monitor and control operation of the compressor rack and determine compressor rack power consumption data; and a condensing unit controller in communication with the system controller, the condensing unit controller configured to monitor and control operation of the condensing unit and determine condensing unit power consumption data; wherein the system controller is configured to receive the compressor rack power consumption data and the condensing unit power consumption data, receive forecast weather data for a future time period, determine a predicted total power consumption of the refrigeration or HVAC system based on the forecast weather data, compare the predicted total power consumption of the refrigeration or HVAC system with a predetermined power threshold, and perform at least one of generating an alert and modifying operation of the refrigeration or HVAC system when the predicted total power consumption is greater than the predetermined power threshold; and wherein the system controller is configured to perform storing power in an energy storage device. a system controller for a refrigeration or HVAC system having a compressor rack with at least one compressor and a condensing unit with at least one condenser fan, the system controller configured to monito and control operation of the refrigeration or HVAC system; characterized in that the system further comprises: a rack controller in communication with the system controller, the rack controller configured to monitor and control operation of the compressor rack and determine compressor rack power consumption data; and a condensing unit controller in communication with the system controller, the condensing unit controller configured to monitor and control operation of the condensing unit and determine condensing unit power consumption data; wherein the system controller is configured to receive the compressor rack power consumption data and the condensing unit power consumption data, receive forecast weather data for a future time period, determine a predicted total power consumption of the refrigeration or HVAC system based on the forecast weather data, compare the predicted total power consumption of the refrigeration or HVAC system with a predetermined power threshold, and perform at least one of generating an alert and modifying operation of the refrigeration or HVAC system when the predicted total power consumption is greater than the predetermined power threshold; and wherein the system controller is configured to perform storing power in an energy storage device. a rack controller in communication with the system controller, the rack controller configured to monitor and control operation of the compressor rack and determine compressor rack power consumption data; and a condensing unit controller in communication with the system controller, the condensing unit controller configured to monitor and control operation of the condensing unit and determine condensing unit power consumption data; wherein the system controller is configured to receive the compressor rack power consumption data and the condensing unit power consumption data, receive forecast weather data for a future time period, determine a predicted total power consumption of the refrigeration or HVAC system based on the forecast weather data, compare the predicted total power consumption of the refrigeration or HVAC system with a predetermined power threshold, and perform at least one of generating an alert and modifying operation of the refrigeration or HVAC system when the predicted total power consumption is greater than the predetermined power threshold; and wherein the system controller is configured to perform storing power in an energy storage device.