bim-energy

Run whole-building energy simulations and compliance checks from the command line. Accepts gbXML and OpenStudio .osm files. Requires NREL OpenStudio CLI — one install command handles that.

Run energy simulations and PHIUS CORE 2024 compliance checks. No cloud, no account.

Install dependency

bim-energy requires the NREL OpenStudio CLI:

bim energy install

To preview what will be installed first:

bim energy install --dry_run true

Verbs

Verb What it does
bim energy run --in <file> Run an energy simulation; returns EUI, annual kWh, peak kW, end uses
bim energy phius.check --in <file> PHIUS CORE 2024 compliance check; returns pass/fail per criterion
bim energy doctor Check OpenStudio CLI install, EnergyPlus version, install path
bim energy install Download and install NREL OpenStudio CLI

run

bim energy run --in <file.gbxml|file.osm> [--engine openstudio] [--weather <file.epw>]

Runs an energy simulation against the input model. Returns:

{
  "ok": true,
  "result": {
    "eui_kbtu_sf_yr": 42.3,
    "annual_kwh": 187400,
    "peak_kw": 48.2,
    "end_uses": [
      { "name": "heating", "kwh": 34200 },
      { "name": "cooling", "kwh": 51900 }
    ]
  }
}

phius.check

bim energy phius.check --in <file.gbxml> [--target phius-core-2024] [--path performance]

Runs a PHIUS CORE 2024 compliance check against the input file. Returns:

{
  "ok": true,
  "result": {
    "compliant": false,
    "checks": [
      { "name": "source_energy_heating", "target": 4.42, "actual": 5.1, "pass": false },
      { "name": "source_energy_cooling", "target": 4.42, "actual": 3.8, "pass": true }
    ]
  }
}

doctor

bim energy doctor

Checks the local environment for the OpenStudio CLI and EnergyPlus:

{
  "ok": true,
  "result": {
    "openstudio": { "found": true, "version": "3.8.0", "path": "C:\\..." },
    "energyplus": { "found": true, "version": "23.2.0" }
  }
}

Failed checks include a hint field with the fix command.

Gotchas

For agent use: /energy/llms.txt