Full Track: Meter It All
You chose complete control. Build your energy intelligence from scratch.
What You'll Build
By the end of this track:
| Component | Scope |
|---|---|
| Connections | Building, floor, line, and equipment meters |
| Surfaces | Complete hierarchy from campus to equipment |
| Warm queries | Comprehensive energy analytics library |
| Team | Role-based access for ops, sustainability, finance |
| AI integration | Full MCP connection |
Phase 1: Design Metering Architecture
Step 1.1: Map Your Hierarchy
Before creating connections, map what you'll monitor:
Campus / Facility
├── Building 1
│ ├── Floor 1
│ │ ├── Production Line A
│ │ └── Production Line B
│ └── Floor 2
│ ├── Office Space
│ └── Data Center
├── Building 2
└── Utilities
├── Chiller Plant
└── Compressed Air
Step 1.2: Identify Metering Points
| Level | Meters | Data |
|---|---|---|
| Campus | Main utility meter | Total consumption, demand |
| Building | Building submeters | Electrical, gas, water |
| Floor | Distribution panels | Circuit-level consumption |
| Equipment | Individual meters | Machine-specific usage |
Step 1.3: Create Connections
Ask Azi:
Azi proposes all connections. Review and approve each.
Start with the simulator if hardware isn't ready. The data structure and queries work identically.
Phase 2: Create Surface Hierarchy
Step 2.1: Campus-Level Surface
Ask Azi:
"Create a surface for campus-wide energy monitoring that aggregates all building data."
Azi proposes:
- Surface name:
Campus-Energy - Nodes: Building1Total, Building2Total, UtilitiesTotal
- Description: Facility-wide energy aggregation
Step 2.2: Building Surfaces
Create a surface for each building:
| Surface | Nodes | Purpose |
|---|---|---|
Building-1-Energy | Floor1, Floor2, HVAC, Lighting | Building breakdown |
Building-2-Energy | Production, Office, Support | Building breakdown |
Utilities-Energy | Chiller, CompressedAir, Steam | Central utilities |
Step 2.3: Production Surfaces
Granular tracking for manufacturing:
| Surface | Nodes | Purpose |
|---|---|---|
Line-A-Energy | Motors, Conveyors, HVAC | Line-level allocation |
Line-B-Energy | Motors, Conveyors, HVAC | Line-level allocation |
Your surface hierarchy determines your query granularity. Design it to match your reporting needs.
Phase 3: Build Comprehensive Query Library
Standard Queries
Build these essential queries with Azi:
| Query | Purpose | Frequency |
|---|---|---|
daily-consumption | Daily kWh by building | Daily |
monthly-cost | Monthly cost by area | Monthly |
peak-demand | Peak demand analysis | On-demand |
baseline-comparison | Current vs baseline | Monthly |
sustainability-scope2 | Scope 2 emissions calc | Quarterly |
Step 3.1: Daily Consumption Query
Ask Azi:
"Create a warm query that shows daily electricity consumption broken down by building."
Azi proposes:
EnergyData
| where MeterType == "Electric"
| where Timestamp > ago(30d)
| summarize DailyKWh = sum(kWh) by bin(Timestamp, 1d), Building
| pivot Building, sum(DailyKWh)
| order by Timestamp asc
Step 3.2: Cost Allocation Query
Ask Azi:
"Build a query that allocates energy costs to each production line based on their consumption percentage."
let TotalConsumption = EnergyData
| where Timestamp > ago(1M)
| summarize Total = sum(kWh);
EnergyData
| where Timestamp > ago(1M)
| summarize LineConsumption = sum(kWh) by ProductionLine
| extend Percentage = LineConsumption / toscalar(TotalConsumption) * 100
| extend AllocatedCost = Percentage / 100 * 50000 // Monthly energy budget
| order by AllocatedCost desc
Step 3.3: Sustainability Reporting Query
Ask Azi:
"Create a query for Scope 2 emissions calculation using grid emission factors."
EnergyData
| where MeterType == "Electric"
| where Timestamp > ago(1y)
| summarize TotalKWh = sum(kWh) by bin(Timestamp, 1M)
| extend EmissionFactor = 0.42 // kg CO2 per kWh - update for your grid
| extend Scope2Emissions = TotalKWh * EmissionFactor / 1000 // tonnes
| order by Timestamp asc
Phase 4: Establish Team Permissions
Step 4.1: Define Roles
| Role | Access | Users |
|---|---|---|
| Admin | Everything | IT, Engineering |
| Sustainability | All queries, edit for emissions | Sustainability team |
| Finance | Cost queries, view-only | Finance team |
| Operations | Building surfaces, read | Facility managers |
Step 4.2: Invite Team Members
Ask Azi:
"Invite sustainability-lead@company.com as Editor for the sustainability queries."
Step 4.3: Set Surface Permissions
Restrict sensitive cost data:
- Open
Cost-Allocationsurface - Click Permissions
- Limit to Finance and Admin roles
Sustainability can see consumption but not cost allocation. Finance sees costs but not operational details.
Phase 5: Connect External AI Tools
Step 5.1: Generate MCP Configuration
- Open the APIs menu in the top bar
- Select API Keys to generate a JWT token
- Copy your workspace ID from the workspace settings
- Use the configuration below with your credentials
Step 5.2: Configure Claude Desktop
{
"mcpServers": {
"energy-intelligence": {
"command": "npx",
"args": [
"-y",
"@openindustrial/mcp-server",
"--workspace", "YOUR_WORKSPACE_ID",
"--token", "YOUR_TOKEN"
]
}
}
}
Step 5.3: AI-Powered Analysis
Ask Claude:
"What areas have the highest energy intensity and what's driving it?"
Claude queries your governed data, correlates consumption with production metrics, and provides insights—all auditable.
You built the entire energy intelligence system. Every meter, every surface, every query. And now any MCP-native AI can analyze it—through your governed layer.
What You Built
| Component | Count |
|---|---|
| Connections | 5+ |
| Surfaces | 6+ |
| Warm queries | 5+ |
| Team roles | Configured |
| MCP integrations | 1+ |
Category Metrics
| Metric | Your Result |
|---|---|
| Time to First Governed Query | ~1 hour |
| Query library | 5+ queries |
| Surface hierarchy | 3 levels |
| Audit coverage | 100% |
| AI connected | MCP-native |
What Governed Energy Intelligence Looks Like
| Before Control Plane | After Control Plane |
|---|---|
| Spreadsheet emissions reports | Governed, auditable queries |
| "Trust me" allocations | Traceable cost calculations |
| AI recommendations without data | AI insights with full lineage |
| Scattered meter data | Unified, governed view |
Next Steps
| If you want to... | Go to... |
|---|---|
| Try the Hybrid track | Hybrid Track → |
| See query patterns | Patterns → |
| Learn more about MCP | MCP Guide → |
| Explore manufacturing | Manufacturing Journey → |
On this page
- FrontmatterVersion: 1 DocumentType: Guide Title: "Energy Monitoring — Full Build" Summary: "Design metering from scratch: connections per building, floor, line, and equipment, a campus-to-equipment surface hierarchy, and a query library." Created: 2026-01-19
- Full Track: Meter It All
- ╰─▶What You'll Build
- ╰─▶Phase 1: Design Metering Architecture
- ╰─▶Phase 2: Create Surface Hierarchy
- ╰─▶Phase 3: Build Comprehensive Query Library
- ╰─▶Phase 4: Establish Team Permissions
- ╰─▶Phase 5: Connect External AI Tools
- ╰─▶What You Built
- ╰─▶Category Metrics
- ╰─▶What Governed Energy Intelligence Looks Like
- ╰─▶Next Steps