Installation¶
idfkit is available on PyPI and can be installed with pip or uv.
Basic Installation¶
This installs the core package with support for:
- Loading and writing IDF/epJSON files
- O(1) object lookups and reference tracking
- Schema validation
- 3D geometry calculations
- Running EnergyPlus simulations
Optional Dependencies¶
idfkit provides optional extras for additional functionality:
Weather Station Index¶
Refresh the bundled weather station index from climate.onebuilding.org:
Note
The bundled station index works without this extra. Only install [weather]
if you need to refresh the index with StationIndex.refresh().
DataFrame Support¶
Convert simulation results to pandas DataFrames:
Plotting¶
Visualize simulation results with matplotlib or plotly:
Progress Bars¶
Show tqdm progress bars during batch simulations:
Cloud Storage (S3)¶
Store simulation results in Amazon S3:
Install Everything¶
Install all optional dependencies at once:
EnergyPlus Installation¶
To run simulations, you need EnergyPlus installed on your system.
Automatic Discovery¶
idfkit automatically discovers EnergyPlus using this priority:
- Explicit path passed to
find_energyplus(path=...) - Environment variable
ENERGYPLUS_DIR - System PATH (looks for
energyplusexecutable) - Platform defaults:
- macOS:
/Applications/EnergyPlus-*/ - Linux:
/usr/local/EnergyPlus-*/ - Windows:
C:\EnergyPlusV*/
- macOS:
Download EnergyPlus¶
Download from the official EnergyPlus website:
Verify Installation¶
from idfkit.simulation import find_energyplus
config = find_energyplus()
print(f"EnergyPlus {config.version[0]}.{config.version[1]}.{config.version[2]}")
print(f"Executable: {config.executable}")
Development Installation¶
To contribute to idfkit, clone the repository and install with development dependencies:
Run the test suite:
Run all quality checks:
Requirements¶
- Python 3.10 or later
- EnergyPlus 8.9 or later (for simulation features)
Next Steps¶
- Quick Start - Get up and running in 5 minutes
- Core Tutorial - In-depth interactive tutorial