The NEMS architecture integrates trusted measurements on a secure distributed ledger with a vertically integrated system of specifications, APIs, and metadata, accommodating various energy production, distribution, and consumption methods. It expands upon current EMS and BMS systems by incorporating bidirectional APIs to SCADA control systems, advanced metering infrastructure, and an ecosystem of intelligent devices, while also utilizing learning tools to adapt to external factors and advancements in technology.