3.2.1.3
Tweaked shade calc Updated About and FAQ sections
This commit is contained in:
@@ -76,17 +76,18 @@ export function buildHourlyRows({ forecast, airQuality, location, vehicleType, v
|
||||
// Diffuse (scattered light through cloud) contributes ~20% as much heat to
|
||||
// a surface as direct beam, so we weight it accordingly.
|
||||
const effectiveRad = dir + dif * 0.2;
|
||||
// concreteT is now stamped in the two-pass section below (thermal lag).
|
||||
// Shade air temp: the air you'd feel in this Solar Model's typical shade
|
||||
// (building shadow, beach umbrella, canopy...). Uses the env's shade block.
|
||||
const shadeT = calcShadeAirTemp(Ta, effectiveRad, va, elev, env.shade);
|
||||
const vehicleT = calcVehicleInteriorTemp(Ta, glob, elev, vehicleType, vehicleVent, vehicleSpeed);
|
||||
const eh = vaporPressureHpa(Ta, RH);
|
||||
// Apply environment modifier - adjust solar inputs and air temp for shaded environments.
|
||||
const TaEnv = Ta + env.taOffset;
|
||||
const dirEnv = dir * env.dirFactor;
|
||||
const difEnv = dif * env.difFactor;
|
||||
const globEnv = glob * env.globFactor;
|
||||
// concreteT is now stamped in the two-pass section below (thermal lag).
|
||||
// Shade air temp: the air you'd feel in this Solar Model's typical shade
|
||||
// (building shadow, beach umbrella, canopy...). Shares SunSoak's TaEnv
|
||||
// baseline and env-reduced radiation, so the two columns stay consistent.
|
||||
const shadeT = calcShadeAirTemp(TaEnv, dirEnv + difEnv * 0.2, va, elev, env.shade);
|
||||
const vehicleT = calcVehicleInteriorTemp(Ta, glob, elev, vehicleType, vehicleVent, vehicleSpeed);
|
||||
const eh = vaporPressureHpa(Ta, RH);
|
||||
const Tmrt = calcTmrt(TaEnv, dirEnv, difEnv, globEnv, elev);
|
||||
const utci = utciApprox(TaEnv, Tmrt, va, eh);
|
||||
const utciAdj = utci + precipPenalty(precip, snow, va);
|
||||
|
||||
Reference in New Issue
Block a user