initialize_model_map
Initializes or refreshes a cached map of EnergyPlus model files by scanning the directory for .epJSON, .sql, and .htm files. Run this first to enable efficient access to model data.
Instructions
Initialize or refresh the model map cache for EnergyPlus models.
Scans a directory for EnergyPlus model files (.epJSON, .sql, .htm) and creates a cached model map for efficient access. Call this first before accessing model data.
Args: directory: Directory containing EnergyPlus model files. Defaults to 'DEFUALT_DIRECTORY'.
Returns: Status message confirming successful initialization.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | eplus_files/prescriptive_variability_sample |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |