Exergy World Model
Exergy World Model (EWM-1) overview
Exergy World Model (powered by EWM-1) evaluates industrial heat recovery, steam upgrades, thermal storage, and electrification trade-offs with verified physics.
What Exergy World Model (EWM-1) is
Exergy World Model (powered by the EWM-1 engine) is Exergy Lab’s physical world model API for industrial energy and electrification decisions. It evaluates heat recovery, steam upgrades, thermal storage buffering, and boiler-electrification comparisons directly from operating boundaries.
Unlike text-only LLMs that approximate efficiency figures in prose, every call runs deterministic thermodynamic and policy-margin calculations—returning a closed 5-term exergy ledger, compressor discharge margins, thermal storage sizing, and natural-gas/electric baseline comparisons.
Live API & EWM-1 hosted preview
Self-serve API keys in the Developer Portal (/developers/portal) work immediately against POST https://exergy-lab.com/api/v1/world-model on Plus and Pro plans. The broader multi-domain EWM-1 endpoints (/v1/chat/completions, /v1/solve, /v1/energy-decisions/evaluate at https://api.exergylab.ai) remain in private beta.
How EWM-1 verifies physical decisions
Boundary & First/Second-Law formulation
Computes the governing energy balance, dead-state flow exergy (relative to T₀ = 293.15–298.15 K), entropy generation, and component exergy destruction across the cycle.
Operating-margin & physics verification
Checks compressor discharge temperatures, pressure-lift limits, and Policy v2 robustness margins; in the hosted EWM-1 Python sandbox, scripts pass an AST allowlist and run against CoolProp 6.8 and IAPWS-IF97 with up to 2 automatic self-repair passes.
Structured ledger & engineering summary
Returns machine-readable JSON (exergy_ledger, policy_verification, thermal_storage, baseline_comparison, or structured_output + ewm_verification in EWM-1 preview) ready for scripts, Claude Code, Codex, and Cursor.
Endpoints & environments
| Environment | Endpoint / Base URL | Access |
|---|---|---|
| Exergy World Model API (live now) | https://exergy-lab.com/api/v1/world-model | Self-serve API keys via /developers/portal (Plus or Pro) |
| EWM-1 hosted preview (private beta) | https://api.exergylab.ai/v1 | Preview API key via /contact (OpenAI-compatible & /v1/solve) |
| Self-hosted / local EWM-1 server | http://127.0.0.1:8765/v1 | Local deployment without cloud auth |
Model & engine capabilities
| Model / Surface | Physics Engine | Primary Output | Availability |
|---|---|---|---|
| Exergy World Model (/api/v1/world-model) | 5-term exergy ledger + Policy v2 + industrial equipment maps | Closed exergy ledger, operating margins, storage sizing, gas/electric comparison | Available now (Plus & Pro) |
| ewm-1 (OpenAI-compatible & /v1/solve) | ewm-1 + ewm_thermo_lib (CoolProp 6.8 + IAPWS-IF97, up to 2 repair passes) | Verified structured_output JSON, ewm_verification receipt, Markdown report | Private beta (api.exergylab.ai) |
Hosted EWM-1 execution modes (private beta)
When calling the hosted EWM-1 /v1/chat/completions or /v1/solve endpoints, choose a mode based on latency and output needs.
| Mode | How to enable | Stages run | Typical latency | Use it for |
|---|---|---|---|---|
| Full engineering report (default) | Default on /v1/chat/completions and /v1/solve (skip_composer: false) | Solver → sandbox verification → composer | 25–75 s | Interactive engineering copilots, design memos, customer-facing reports |
| Fast verified JSON | skip_composer: true on /v1/solve, or response_format: {type: json_object} on /v1/chat/completions | Solver → sandbox verification (composer skipped) | 8–22 s | Software pipelines, batch screening, parametric sweeps, dashboards |
| Real-time SSE streaming | stream: true on /v1/chat/completions or /v1/solve | Streams SSE chunks as each stage runs | < 1 s to first token | Web interfaces showing live code generation, sandbox execution, and report streaming |