FLOWBOX is an autonomous energy management and optimization platform to save energy, make more efficient operations, and to reduce carbon footprints. The platform can actively and autonomously manage and optimize operational technologies, and is able to provide demand flexibility for the smart grid. It is a hardware-agnostic system not tied to a specific hardware manufacturer. The robust hierarchical architecture utilizes edge computing and is optimized for mission-critical applications. Data is shared across multiple teams and external systems. The platform can be used as a tool for energy management certification, EU legislation compliance and GHG emission accounting and reporting.