From b802cf018f3bac9e34d5589b812143ec7e44aabe Mon Sep 17 00:00:00 2001 From: DankerMu <127004858+DankerMu@users.noreply.github.com> Date: Fri, 13 Feb 2026 20:58:30 +0800 Subject: [PATCH] feat: enable terrain solar radiation (TSR) by default Change terrain_radiation default from 0 to 1 so TSR correction is active out of the box. --- src/classes/Model_Control.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/Model_Control.hpp b/src/classes/Model_Control.hpp index 5b641d7..bf53a85 100644 --- a/src/classes/Model_Control.hpp +++ b/src/classes/Model_Control.hpp @@ -202,7 +202,7 @@ class Control_Data : public PrintOutDt{ double solar_lat_deg_fixed = NA_VALUE; /* SOLAR_LAT_DEG when SOLAR_LONLAT_MODE=FIXED [deg] */ /* Terrain solar radiation (TSR) correction */ - int terrain_radiation = 0; /* TERRAIN_RADIATION: 0/1 */ + int terrain_radiation = 1; /* TERRAIN_RADIATION: 0/1 */ double rad_factor_cap = 5.0; /* RAD_FACTOR_CAP: upper bound for TSR factor */ double rad_cosz_min = 0.05; /* RAD_COSZ_MIN: lower bound for cosZ in TSR denominator */