Enhancement: Advanced surface recovery modeling - Added configurable threshold, graduated recovery scoring, surface type models, time-of-day factors, and sun exposure effects with test scripts and documentation

This commit is contained in:
Chris Sewell
2025-06-13 14:08:37 -04:00
parent 88d6b76392
commit a2c25e603a
7 changed files with 497 additions and 10 deletions

17
constants.py Normal file
View File

@ -0,0 +1,17 @@
"""Constants used throughout the application."""
# Surface cooling coefficients (slower to faster cooling)
SURFACE_COOLING_COEFFICIENTS = {
'asphalt': 0.7, # Slower cooling
'concrete': 0.85,
'mixed': 1.0, # Normal cooling
'grass': 1.5 # Faster cooling
}
# Night hours definition (7pm to 6am)
NIGHT_START_HOUR = 19 # 7pm
NIGHT_END_HOUR = 6 # 6am
# Time of day cooling multipliers
NIGHT_COOLING_MULTIPLIER = 1.3 # Night cools 30% faster
DAY_COOLING_MULTIPLIER = 1.0 # Standard cooling during day