Common Errors¶
This page covers common errors you may encounter when using idfkit and how to resolve them.
idfkit Errors¶
EnergyPlusNotFoundError¶
Cause: idfkit cannot locate an EnergyPlus installation.
Solutions:
-
Install EnergyPlus from energyplus.net/downloads
-
Set the
ENERGYPLUS_DIRenvironment variable: -
Pass the path explicitly:
SimulationError¶
Cause: The specified weather file doesn't exist.
Solutions:
- Verify the path is correct
- Use absolute paths instead of relative
- Download weather files using
WeatherDownloader
SimulationError (Timeout)¶
Cause: The simulation exceeded the timeout limit.
Solutions:
-
Increase the timeout:
-
Use design-day-only mode for testing:
-
Check for infinite loops in the model
NoDesignDaysError¶
Cause: The DDY file doesn't contain the requested design day type.
Solutions:
-
Check available design days:
-
Use a different percentile:
GeocodingError¶
Cause: The address couldn't be geocoded.
Solutions:
- Try a more specific address
- Try a different format (city name, ZIP code, landmark)
- Use coordinates directly:
Import Errors¶
Missing Optional Dependencies¶
Solutions:
# Install specific extra
pip install idfkit[dataframes]
# Or install all extras
pip install idfkit[all]
Common extras:
| Feature | Install Command |
|---|---|
| DataFrames | pip install idfkit[dataframes] |
| Plotting (matplotlib) | pip install idfkit[plot] |
| Plotting (plotly) | pip install idfkit[plotly] |
| Progress bars (tqdm) | pip install idfkit[progress] |
| S3 Storage | pip install idfkit[s3] |
| Weather refresh | pip install idfkit[weather] |
boto3 Not Found¶
Solution:
Validation Errors¶
Reference to Non-Existent Object¶
Cause: A field references an object name that doesn't exist.
Solutions:
- Check the object name spelling (case-insensitive)
- Add the missing object:
- Fix the reference:
Required Field Missing¶
Cause: A required field wasn't provided.
Solution:
# Add the required field
model.add(
"People", "Zone1_People",
zone_or_zonelist_or_space_or_spacelist_name="Zone1",
number_of_people_schedule_name="Always_On",
activity_level_schedule_name="Activity_Schedule", # Required!
number_of_people_calculation_method="People",
number_of_people=10,
)
File Format Errors¶
Invalid IDF Syntax¶
Cause: The IDF file has invalid syntax.
Solutions:
- Check for unclosed objects (missing
;) - Check for invalid field separators
- Validate with EnergyPlus directly first
Version Mismatch¶
Cause: The IDF version isn't supported.
Solutions:
-
Check supported versions:
-
Specify a supported version:
Performance Issues¶
Slow Station Index Loading¶
Cause: First load compiles the index from source files.
Solution: Subsequent loads are instant (uses cached index).
Large Memory Usage¶
Cause: Loading many large models or keeping many results in memory.
Solutions:
- Use
model = Noneto release memory after use - Process batch results incrementally:
See Also¶
- EnergyPlus Issues — EnergyPlus-specific errors
- Simulation Error Handling — Detailed error parsing