Skip to content

WARNING in optimization: No outdoor temp found. Using default 15.0C. #692

@purcell-lab

Description

@purcell-lab

Running EMHASS v0.15.6, I thought if the outdoor temperature wasn't provided at runtime the optimisation would utilise the temp_air profile from OpenMeteo:

[2026-01-21 21:25:25,427] DEBUG in forecast: get_weather_forecast returning:
                           temp_air  relative_humidity  ...  dhi    dni
2026-01-21 21:00:00+10:00      21.5               79.0  ...  0.0    0.0
2026-01-21 21:30:00+10:00      21.4               79.0  ...  0.0    0.0
2026-01-21 22:00:00+10:00      21.2               80.0  ...  0.0    0.0
2026-01-21 22:30:00+10:00      20.9               81.0  ...  0.0    0.0
2026-01-21 23:00:00+10:00      20.6               83.0  ...  0.0    0.0
...                             ...                ...  ...  ...    ...
2026-01-24 18:30:00+10:00      25.8               81.0  ...  9.6  122.5
2026-01-24 19:00:00+10:00      25.3               83.0  ...  0.0    0.0
2026-01-24 19:30:00+10:00      24.9               85.0  ...  0.0    0.0
2026-01-24 20:00:00+10:00      24.6               87.0  ...  0.0    0.0
2026-01-24 20:30:00+10:00      24.3               89.0  ...  0.0    0.0

However, the optimisation reports it can't find outdoor temp and is just using a default of 15.0C:

[2026-01-21 21:25:25,933] DEBUG in optimization: Processing deferrable load 1
[2026-01-21 21:25:25,933] DEBUG in optimization: Load 1 is a thermal deferrable load.
[2026-01-21 21:25:25,933] DEBUG in optimization: Setting up Thermal Load 1
[2026-01-21 21:25:25,933] WARNING in optimization: No outdoor temp found. Using default 15.0C.
[2026-01-21 21:25:25,933] DEBUG in optimization: Final params -> Start Temp: 28.0, First Outdoor Temp: 15.0
[2026-01-21 21:25:25,957] DEBUG in optimization: Load 1: Thermal constraints set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions