From bd89d07dcb2e93ed3b268207039d7f12d582e73c Mon Sep 17 00:00:00 2001 From: fraxle Date: Mon, 18 May 2026 21:50:33 +0100 Subject: [PATCH] 1.5.4 - Fix concrete calculation --- assets/js/physics.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/js/physics.js b/assets/js/physics.js index c5281bd..30f85b4 100644 --- a/assets/js/physics.js +++ b/assets/js/physics.js @@ -55,8 +55,9 @@ export const ALBEDO_CONCRETE = 0.30; export function calcConcreteTemp(Ta, globalRad, windSpeed) { if (globalRad == null || Ta == null) return null; const absorbed = globalRad * (1 - ALBEDO_CONCRETE); // W/m² - // Convective heat transfer coefficient: ~5 W/m²K still air, rises with wind - const hc = 5 + 4.5 * Math.sqrt(Math.max(windSpeed || 0, 0)); + // Convective heat transfer coefficient: ~10 W/m²K still air, rises with wind + // (10 reflects realistic natural convection; 5 was too low and ran too hot) + const hc = 10 + 4.5 * Math.sqrt(Math.max(windSpeed || 0, 0)); // Surface temp: Ta + solar gain / convective loss const Ts = Ta + absorbed / hc; // Clamp: can't be cooler than air, cap at 85 °C (melting asphalt territory)