Calculation updates
This commit is contained in:
+16
-10
@@ -127,18 +127,24 @@ export function burnLabel(mins) {
|
||||
// ═══════════════════════════════════════════════════════════════════
|
||||
// VEHICLE TYPES — presets for the cabin heat model.
|
||||
// ───────────────────────────────────────────────────────────────────
|
||||
// Each entry tweaks the three physical levers in calcVehicleInteriorTemp:
|
||||
// albedo — how much solar the bodywork reflects (0 = black, 1 = mirror)
|
||||
// glazingArea — relative side-window glass area (1.0 = typical car)
|
||||
// hCabinLoss — how easily heat escapes the cabin (W/m²K); lower = hotter
|
||||
// Motorhomes have thicker insulation → lower loss
|
||||
// Each entry tweaks the physical levers in calcVehicleInteriorTemp:
|
||||
// albedo — how much solar the bodywork reflects (0 = black, 1 = mirror)
|
||||
// glazingArea — relative sun-exposed glass area (1.0 = typical car)
|
||||
// bodyU — effective body/panel conductance into the cabin. Cars are
|
||||
// thin metal/glass boxes; motorhomes/caravans have insulated
|
||||
// sandwich panels, commonly around 25–35 mm thick.
|
||||
// hCabinLoss — effective heat rejection/infiltration from the cabin air.
|
||||
// thermalMass — lower values mean the interior warms more slowly in the hour.
|
||||
// retainedWarmth — occupied insulated living spaces hold heat from previous
|
||||
// hours, people, appliances, and background heating.
|
||||
// internalGain — small living-space warmth boost when closed up.
|
||||
// ═══════════════════════════════════════════════════════════════════
|
||||
export const VEHICLE_TYPES = {
|
||||
car: { name: 'Car / Hatchback', albedo: 0.25, glazingArea: 1.0, hCabinLoss: 2.0 },
|
||||
mpv: { name: 'MPV / People Carrier', albedo: 0.25, glazingArea: 1.3, hCabinLoss: 2.0 },
|
||||
suv: { name: 'SUV / 4×4', albedo: 0.22, glazingArea: 1.1, hCabinLoss: 1.9 },
|
||||
motorhome: { name: 'Motorhome / Campervan', albedo: 0.35, glazingArea: 0.6, hCabinLoss: 1.2 },
|
||||
caravan: { name: 'Caravan (towed)', albedo: 0.40, glazingArea: 0.4, hCabinLoss: 1.0 },
|
||||
car: { name: 'Car / Hatchback', albedo: 0.25, glazingArea: 1.0, bodyU: 4.0, hCabinLoss: 20, thermalMass: 1.00, retainedWarmth: false, internalGain: 0.0 },
|
||||
mpv: { name: 'MPV / People Carrier', albedo: 0.25, glazingArea: 1.3, bodyU: 4.0, hCabinLoss: 20, thermalMass: 1.00, retainedWarmth: false, internalGain: 0.0 },
|
||||
suv: { name: 'SUV / 4x4', albedo: 0.22, glazingArea: 1.1, bodyU: 3.8, hCabinLoss: 19, thermalMass: 0.95, retainedWarmth: false, internalGain: 0.0 },
|
||||
motorhome: { name: 'Motorhome / Campervan', albedo: 0.55, glazingArea: 0.25, bodyU: 0.9, hCabinLoss: 12, thermalMass: 0.35, retainedWarmth: true, internalGain: 1.2 },
|
||||
caravan: { name: 'Caravan (towed)', albedo: 0.60, glazingArea: 0.22, bodyU: 0.8, hCabinLoss: 11, thermalMass: 0.35, retainedWarmth: true, internalGain: 1.2 },
|
||||
};
|
||||
|
||||
// ═══════════════════════════════════════════════════════════════════
|
||||
|
||||
Reference in New Issue
Block a user