wall_thickness float64 0.25 0.6 | night_vent_ach float64 1.01 12 | roof_albedo float64 0.2 0.85 | shading_factor float64 0.1 0.8 | wwr_courtyard float64 0.2 0.5 | sample_id large_stringlengths 8 8 | max_operative_temp float64 27.9 36.2 | mean_operative_temp float64 26 32.7 | p95_operative_temp float64 27.5 34.7 | discomfort_degree_hours float64 0 3.97k | thermal_damping_ratio float64 0.33 0.63 |
|---|---|---|---|---|---|---|---|---|---|---|
0.3528 | 6.0944 | 0.6244 | 0.5711 | 0.4893 | SIM_0000 | 33.24 | 28.85 | 31.65 | 371.12 | 0.4405 |
0.3345 | 9.9174 | 0.5884 | 0.3922 | 0.3644 | SIM_0005 | 31.87 | 28.02 | 30.81 | 122.07 | 0.4893 |
0.4141 | 4.9634 | 0.3656 | 0.5754 | 0.4866 | SIM_0001 | 34.54 | 30.31 | 33 | 1,283.4 | 0.3938 |
0.3591 | 9.8942 | 0.4367 | 0.3087 | 0.457 | SIM_0010 | 32.59 | 28.61 | 31.36 | 297.26 | 0.4637 |
0.4896 | 11.1684 | 0.6216 | 0.5597 | 0.4686 | SIM_0004 | 32.21 | 28.17 | 30.78 | 150.02 | 0.4774 |
0.4193 | 7.4827 | 0.6838 | 0.4466 | 0.3855 | SIM_0007 | 31.39 | 27.81 | 30.21 | 46.06 | 0.5068 |
0.4321 | 5.2772 | 0.5794 | 0.4195 | 0.4085 | SIM_0011 | 32.17 | 28.65 | 31 | 191.25 | 0.4786 |
0.4819 | 6.4602 | 0.4345 | 0.5079 | 0.2803 | SIM_0002 | 32.24 | 29.05 | 31.32 | 354.98 | 0.4761 |
0.4977 | 6.7412 | 0.6157 | 0.4153 | 0.3744 | SIM_0009 | 31.33 | 28.09 | 30.28 | 52.14 | 0.5088 |
0.554 | 10.9485 | 0.62 | 0.6557 | 0.477 | SIM_0012 | 32.61 | 28.38 | 30.95 | 215.46 | 0.4629 |
0.5136 | 8.2379 | 0.3623 | 0.2837 | 0.2743 | SIM_0003 | 31.59 | 28.74 | 30.96 | 226.23 | 0.4995 |
0.5757 | 9.5092 | 0.547 | 0.1154 | 0.3764 | SIM_0006 | 29.84 | 27.43 | 29.32 | 0 | 0.5621 |
0.557 | 2.1673 | 0.2922 | 0.7581 | 0.3256 | SIM_0008 | 34.98 | 31.83 | 33.78 | 2,801.13 | 0.3779 |
0.5719 | 4.5853 | 0.25 | 0.7507 | 0.3589 | SIM_0013 | 34.52 | 30.93 | 33.24 | 1,828.1 | 0.3945 |
0.2539 | 9.349 | 0.5746 | 0.2876 | 0.2582 | SIM_0018 | 31.65 | 27.88 | 30.7 | 112.77 | 0.4972 |
0.2526 | 8.5315 | 0.2699 | 0.3402 | 0.2205 | SIM_0017 | 33.65 | 29.27 | 32.2 | 636.66 | 0.4255 |
0.3818 | 8.8477 | 0.4486 | 0.7532 | 0.4168 | SIM_0019 | 34.08 | 29.48 | 32.53 | 784.83 | 0.4102 |
0.56 | 10.2257 | 0.4649 | 0.618 | 0.3526 | SIM_0015 | 32.26 | 28.7 | 31.18 | 282.71 | 0.4754 |
0.4842 | 4.506 | 0.6981 | 0.373 | 0.234 | SIM_0016 | 30.05 | 27.59 | 29.38 | 0.05 | 0.5547 |
0.5751 | 9.3184 | 0.3146 | 0.422 | 0.2538 | SIM_0014 | 31.87 | 28.94 | 31.2 | 331.09 | 0.4894 |
0.4949 | 9.0051 | 0.6665 | 0.5786 | 0.4405 | SIM_0020 | 31.94 | 28.07 | 30.53 | 105.68 | 0.4869 |
0.5074 | 6.5666 | 0.5573 | 0.7177 | 0.4907 | SIM_0021 | 33.74 | 29.36 | 32.03 | 646.35 | 0.4223 |
0.3997 | 4.0366 | 0.5526 | 0.5509 | 0.4606 | SIM_0025 | 33.45 | 29.49 | 32 | 594.6 | 0.4329 |
0.5154 | 3.8893 | 0.3962 | 0.3805 | 0.3926 | SIM_0023 | 32.9 | 29.79 | 31.83 | 694.37 | 0.4524 |
0.5775 | 2.3663 | 0.4709 | 0.1914 | 0.3486 | SIM_0022 | 31.55 | 29.28 | 30.87 | 251.77 | 0.501 |
0.4769 | 2.9354 | 0.5085 | 0.7979 | 0.2644 | SIM_0027 | 33.13 | 30 | 32.05 | 792.3 | 0.4441 |
0.4611 | 2.2611 | 0.3191 | 0.2301 | 0.4789 | SIM_0024 | 33.47 | 30.58 | 32.52 | 1,287.08 | 0.432 |
0.4945 | 3.5813 | 0.4169 | 0.1483 | 0.4231 | SIM_0026 | 31.79 | 29.16 | 31.06 | 290.95 | 0.4924 |
0.2606 | 1.1576 | 0.4018 | 0.2547 | 0.459 | SIM_0029 | 34.25 | 30.93 | 33.06 | 1,652.56 | 0.404 |
0.3163 | 8.4125 | 0.3576 | 0.4676 | 0.4373 | SIM_0028 | 33.9 | 29.44 | 32.52 | 760.47 | 0.4165 |
0.3678 | 10.7584 | 0.4155 | 0.3446 | 0.4389 | SIM_0030 | 32.72 | 28.68 | 31.49 | 341.74 | 0.4589 |
0.4577 | 2.5075 | 0.7809 | 0.2394 | 0.3271 | SIM_0032 | 29.68 | 27.3 | 28.91 | 0 | 0.5679 |
0.4665 | 4.2535 | 0.2897 | 0.6668 | 0.4839 | SIM_0031 | 35.32 | 31.1 | 33.75 | 2,052.8 | 0.3657 |
0.4629 | 9.4427 | 0.6742 | 0.7099 | 0.2268 | SIM_0034 | 30.75 | 27.63 | 29.88 | 16.33 | 0.5296 |
0.5311 | 3.0268 | 0.4976 | 0.5667 | 0.2551 | SIM_0033 | 32.21 | 29.52 | 31.34 | 443.69 | 0.4773 |
0.5152 | 1.368 | 0.7992 | 0.5269 | 0.4968 | SIM_0035 | 32.19 | 28.68 | 30.63 | 130.3 | 0.4781 |
0.2913 | 6.3293 | 0.4196 | 0.5781 | 0.2961 | SIM_0040 | 33.34 | 29.39 | 32.24 | 629.05 | 0.4367 |
0.4747 | 5.066 | 0.507 | 0.4425 | 0.2243 | SIM_0037 | 31.48 | 28.73 | 30.79 | 149.81 | 0.5036 |
0.2647 | 11.7795 | 0.376 | 0.5891 | 0.4643 | SIM_0041 | 34.28 | 29.3 | 32.84 | 801.87 | 0.403 |
0.4429 | 11.6459 | 0.8319 | 0.2509 | 0.3944 | SIM_0038 | 29.26 | 26.27 | 28.27 | 0 | 0.5831 |
0.5605 | 11.7897 | 0.7293 | 0.4027 | 0.2214 | SIM_0036 | 29.19 | 26.73 | 28.55 | 0 | 0.5854 |
0.4658 | 6.9039 | 0.7208 | 0.3975 | 0.4563 | SIM_0039 | 31.15 | 27.63 | 29.86 | 25.06 | 0.5153 |
0.4678 | 2.5649 | 0.5956 | 0.3767 | 0.2765 | SIM_0042 | 31.45 | 28.87 | 30.63 | 116.75 | 0.5044 |
0.4828 | 6.8811 | 0.3317 | 0.2232 | 0.3835 | SIM_0043 | 32.12 | 29.06 | 31.34 | 371.68 | 0.4803 |
0.3296 | 5.7924 | 0.2742 | 0.5046 | 0.446 | SIM_0047 | 34.72 | 30.34 | 33.28 | 1,355.87 | 0.3872 |
0.3562 | 5.9634 | 0.8102 | 0.6087 | 0.2149 | SIM_0044 | 30.17 | 27.09 | 29.32 | 0.27 | 0.5502 |
0.4593 | 1.2997 | 0.648 | 0.5057 | 0.3335 | SIM_0045 | 32.38 | 29.5 | 31.18 | 350.08 | 0.471 |
0.3578 | 1.4117 | 0.2204 | 0.5167 | 0.4309 | SIM_0046 | 36.24 | 32.66 | 34.73 | 3,967.96 | 0.3329 |
0.3325 | 1.8651 | 0.8057 | 0.2497 | 0.4798 | SIM_0050 | 30.81 | 27.64 | 29.67 | 6.63 | 0.5275 |
0.3543 | 7.1524 | 0.512 | 0.2912 | 0.4032 | SIM_0051 | 32.08 | 28.46 | 31.03 | 185.6 | 0.482 |
0.5168 | 2.1259 | 0.7783 | 0.5853 | 0.2169 | SIM_0048 | 30.12 | 27.78 | 29.32 | 0.21 | 0.5522 |
0.5428 | 11.2006 | 0.4325 | 0.2056 | 0.4245 | SIM_0049 | 31.18 | 28.13 | 30.37 | 69.17 | 0.514 |
0.3879 | 9.988 | 0.6918 | 0.5562 | 0.4052 | SIM_0052 | 31.81 | 27.83 | 30.51 | 87.73 | 0.4916 |
0.2932 | 6.1426 | 0.3206 | 0.598 | 0.3115 | SIM_0055 | 33.99 | 29.92 | 32.88 | 995.62 | 0.4136 |
0.3128 | 4.9456 | 0.6366 | 0.5113 | 0.3222 | SIM_0054 | 32.23 | 28.51 | 31.11 | 187.45 | 0.4765 |
0.459 | 8.937 | 0.2021 | 0.1954 | 0.3312 | SIM_0053 | 32.67 | 29.27 | 31.75 | 545.13 | 0.4606 |
0.2904 | 11.9979 | 0.6459 | 0.279 | 0.4682 | SIM_0057 | 31.62 | 27.55 | 30.46 | 69.77 | 0.4982 |
0.5247 | 9.0703 | 0.4533 | 0.6981 | 0.4161 | SIM_0056 | 33.3 | 29.22 | 31.92 | 580.5 | 0.4382 |
0.5401 | 5.7243 | 0.6268 | 0.3513 | 0.3748 | SIM_0058 | 30.91 | 27.98 | 29.94 | 19.85 | 0.5238 |
0.4859 | 3.7764 | 0.5005 | 0.4383 | 0.3873 | SIM_0061 | 32.65 | 29.39 | 31.51 | 455.78 | 0.4613 |
0.596 | 5.1688 | 0.6068 | 0.2975 | 0.3821 | SIM_0059 | 30.71 | 28 | 29.83 | 11.58 | 0.531 |
0.3597 | 4.6466 | 0.4068 | 0.7713 | 0.2588 | SIM_0060 | 33.64 | 29.99 | 32.55 | 921.6 | 0.4261 |
0.3105 | 5.7608 | 0.7137 | 0.6254 | 0.392 | SIM_0066 | 32.51 | 28.32 | 31.1 | 192.56 | 0.4666 |
0.4921 | 1.6668 | 0.5978 | 0.7657 | 0.3666 | SIM_0064 | 33.81 | 30.38 | 32.43 | 1,095.79 | 0.4201 |
0.5816 | 5.4938 | 0.4051 | 0.6486 | 0.4984 | SIM_0062 | 34.17 | 30.09 | 32.61 | 1,120.99 | 0.4068 |
0.3886 | 6.1647 | 0.8182 | 0.3198 | 0.4633 | SIM_0065 | 30.43 | 26.97 | 29.19 | 2.68 | 0.5409 |
0.5271 | 5.1087 | 0.3354 | 0.2359 | 0.2001 | SIM_0063 | 31.88 | 29.29 | 31.19 | 366.16 | 0.4891 |
0.2628 | 6.2348 | 0.7038 | 0.2953 | 0.4092 | SIM_0070 | 31.51 | 27.67 | 30.4 | 60.49 | 0.5025 |
0.5335 | 8.7303 | 0.2769 | 0.6548 | 0.2446 | SIM_0067 | 32.7 | 29.47 | 31.89 | 648.02 | 0.4598 |
0.5041 | 2.3768 | 0.7566 | 0.741 | 0.2178 | SIM_0068 | 30.75 | 28.14 | 29.87 | 17.06 | 0.5297 |
0.5347 | 10.6273 | 0.7072 | 0.4046 | 0.3475 | SIM_0069 | 30.23 | 27.18 | 29.22 | 1.47 | 0.5482 |
0.4229 | 1.3109 | 0.5915 | 0.6018 | 0.32 | SIM_0071 | 33.13 | 30.15 | 31.94 | 792.29 | 0.4443 |
0.3274 | 11.0644 | 0.3887 | 0.151 | 0.3044 | SIM_0073 | 31.99 | 28.32 | 31.01 | 182.25 | 0.4851 |
0.3608 | 5.8933 | 0.5704 | 0.1572 | 0.4957 | SIM_0072 | 31.34 | 28.03 | 30.38 | 60.55 | 0.5084 |
0.4918 | 9.5965 | 0.6178 | 0.7333 | 0.2085 | SIM_0075 | 30.86 | 27.84 | 30.11 | 28.81 | 0.5255 |
0.2657 | 1.6043 | 0.3402 | 0.3612 | 0.414 | SIM_0076 | 34.85 | 31.29 | 33.56 | 2,106.17 | 0.3826 |
0.2945 | 8.7848 | 0.8162 | 0.7003 | 0.2569 | SIM_0079 | 30.96 | 27.16 | 29.86 | 19.38 | 0.5219 |
0.2592 | 9.3824 | 0.5484 | 0.179 | 0.4063 | SIM_0080 | 31.7 | 27.9 | 30.74 | 118.48 | 0.4954 |
0.4704 | 11.2579 | 0.2981 | 0.7882 | 0.419 | SIM_0074 | 34.38 | 29.82 | 32.87 | 1,090.98 | 0.3994 |
0.4378 | 7.8698 | 0.7596 | 0.336 | 0.3371 | SIM_0078 | 29.99 | 26.98 | 29.08 | 0 | 0.5568 |
0.5084 | 1.0551 | 0.6115 | 0.2829 | 0.4615 | SIM_0077 | 32.09 | 29.4 | 30.98 | 272.54 | 0.4814 |
0.2833 | 4.5385 | 0.6822 | 0.2069 | 0.3418 | SIM_0082 | 31 | 27.74 | 30.13 | 30.43 | 0.5205 |
0.2975 | 5.3767 | 0.5357 | 0.6081 | 0.3372 | SIM_0083 | 33.19 | 29.17 | 31.97 | 478.82 | 0.4422 |
0.4293 | 7.0464 | 0.3832 | 0.261 | 0.207 | SIM_0081 | 31.74 | 28.79 | 31.04 | 230.14 | 0.4941 |
0.2762 | 3.0952 | 0.8326 | 0.2748 | 0.2518 | SIM_0085 | 30.04 | 27.06 | 29.29 | 0.04 | 0.5549 |
0.5444 | 4.393 | 0.4463 | 0.2448 | 0.2028 | SIM_0084 | 31.07 | 28.84 | 30.61 | 133.71 | 0.518 |
0.2733 | 3.1582 | 0.5816 | 0.1661 | 0.2679 | SIM_0086 | 31.65 | 28.56 | 30.77 | 134.62 | 0.4973 |
0.2866 | 8.2134 | 0.4222 | 0.1308 | 0.3704 | SIM_0087 | 32.2 | 28.42 | 31.11 | 208.65 | 0.4775 |
0.2545 | 11.7001 | 0.8078 | 0.294 | 0.2989 | SIM_0089 | 30.28 | 26.63 | 29.37 | 0.51 | 0.5466 |
0.4033 | 6.0207 | 0.6526 | 0.6518 | 0.2395 | SIM_0088 | 31.34 | 28.13 | 30.46 | 67.7 | 0.5085 |
0.3176 | 11.9508 | 0.256 | 0.3945 | 0.2919 | SIM_0092 | 33.18 | 29.11 | 32.16 | 589.49 | 0.4425 |
0.4289 | 7.1884 | 0.6406 | 0.2564 | 0.2508 | SIM_0091 | 30.17 | 27.49 | 29.56 | 0.25 | 0.5504 |
0.2564 | 6.0519 | 0.7469 | 0.6233 | 0.4257 | SIM_0095 | 32.77 | 28.23 | 31.25 | 222.25 | 0.4573 |
0.5371 | 4.2706 | 0.2591 | 0.7968 | 0.364 | SIM_0090 | 34.86 | 31.13 | 33.51 | 2,044.92 | 0.3824 |
0.383 | 2.0893 | 0.482 | 0.7805 | 0.2838 | SIM_0093 | 34.05 | 30.72 | 32.87 | 1,412.98 | 0.4114 |
0.4094 | 8.1664 | 0.3712 | 0.4519 | 0.2468 | SIM_0096 | 32.35 | 29 | 31.51 | 387.85 | 0.4722 |
0.5024 | 3.3859 | 0.314 | 0.6766 | 0.3145 | SIM_0094 | 34.11 | 30.86 | 33.01 | 1,657.11 | 0.409 |
0.2793 | 10.9932 | 0.7342 | 0.1975 | 0.3846 | SIM_0099 | 30.49 | 26.91 | 29.62 | 2 | 0.539 |
0.4135 | 9.9601 | 0.3035 | 0.7547 | 0.3786 | SIM_0097 | 34.22 | 29.8 | 32.86 | 1,024.66 | 0.4052 |
0.275 | 5.6025 | 0.7715 | 0.424 | 0.4467 | SIM_0100 | 31.89 | 27.73 | 30.51 | 79.3 | 0.4887 |
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
HeatBee: Surrogate Modeling of High-Mass Vernacular Architecture in Arid Climates
HeatBee is an open-source building performance simulation pipeline and Machine Learning surrogate model investigating the transient thermodynamic behavior of vernacular rammed earth (pisé) architecture versus contemporary construction in Marrakesh, Morocco (Zone Climatique 5).
🎯 Key Physical Findings
Simulations were performed under the peak summer period of the Marrakesh Menara Airport EPW (peak outdoor dry-bulb: 45.52°C).
1. The Typology Comparison: Interior Mass vs. Envelope Insulation
- As-Built Typology (Mode A): A 50 cm pisé room (with earth partitions and floor) maintains a peak operative temperature of 30.63°C and 20.3 Discomfort Degree Hours (>30°C), compared to 31.48°C and 81.1 DDH for an RTCM Zone 5 modern room (20 cm hollow brick with 4 cm XPS insulation and 15 cm concrete slabs).
- Shared Interior Mass (Mode B): When both rooms are modeled with identical 15 cm concrete slab floors and partitions, the result equalizes: the RTCM-insulated room reaches 31.48°C (81.1 DDH), while the pisé room reaches 31.76°C (165.8 DDH).
- Takeaway: The vernacular advantage is driven primarily by interior volumetric thermal mass coupled with nocturnal free cooling, rather than the exterior earth wall possessing superior steady-state thermal resistance over continuous code insulation.
2. Component Apportionment (Wall vs. Roof)
Holding interior mass constant (15 cm concrete partitions for all), component swapping reveals:
- The 50 cm pisé exterior wall outperforms the RTCM insulated wall by 0.16°C (31.32°C vs 31.48°C peak), as extreme thermal inertia suppresses peak daytime flux.
- The traditional mud/timber roof is the primary thermal vulnerability, admitting +0.50°C of excess heat compared to the RTCM-insulated roof (31.98°C vs 31.48°C).
3. Realistic Ground-Coupled Boundary
- Under an adiabatic floor assumption (isolated upper-floor room), the pisé room peaks at 30.63°C.
- Under realistic summer ground coupling (Kusuda $24.0^\circ\text{C}$–$25.0^\circ\text{C}$ subsoil), downward heat dissipation drops the pisé room peak to 29.61°C, bringing it completely below the 30.0°C adaptive comfort limit during a 45.5°C heatwave.
4. Thermal Mass and Ventilation Sweeps
- Mass Diminishing Returns: Increasing pisé thickness from 15 cm to 45 cm reduces peak temperatures by 2.40°C, whereas adding another 30 cm (to 75 cm) yields only 0.71°C of marginal cooling. This aligns with the 1D periodic thermal penetration depth: $$\delta = \sqrt{\frac{k}{\rho c_p} \frac{P}{\pi}} \approx 11\text{ cm}$$ Beyond $4\delta \approx 44\text{ cm}$, the diurnal thermal wave is attenuated by ~98%.
- Nocturnal Ventilation: Increasing airflow from 0 to 4 ACH drops peak temperatures by 1.46°C, but tripling airflow from 4 to 12 ACH yields only 0.51°C of additional relief as indoor air approaches ambient night temperature.
🔬 Benchmark Comparison (July–August Peak Heatwave)
Shared boundary conditions: Roof albedo 0.60, external wall solar absorptance 0.50, glazing SHGC 0.40, 4.0 ACH free cooling, adiabatic perimeter.
| Archetype | Peak Temp [°C] | Mean Temp [°C] | DDH (>30°C) | Decrement ($f$) |
|---|---|---|---|---|
| Ambient Outdoor (Menara EPW) | 45.52 | 29.67 | 3642.2 | 1.00 |
| Modern Uninsulated (20cm Hollow Brick, Brick Floor) | 35.21 | 28.68 | 740.1 | 0.34 |
| Modern RTCM Zone 5 (4cm XPS, 15cm Concrete Slab) | 31.48 | 28.14 | 81.1 | 0.12 |
| Vernacular Medina Riad (50cm Pisé, Pisé Floor) | 30.63 | 28.24 | 20.3 | 0.14 |
| Riad with Concrete Slab Floor (Mode B) | 31.76 | 28.45 | 165.8 | 0.13 |
⚡ Machine Learning Surrogate Fidelity
- Model: Gradient Boosted Decision Trees (
XGBoostRegressor) - Training Dataset: 256 Latin Hypercube samples evaluated via EnergyPlus 26.2
ConductionFiniteDifference - 5-Fold Cross Validation: $R^2 = 0.9450$ | $\text{RMSE} = 0.358^\circ\text{C}$ | $\text{MAE} = 0.275^\circ\text{C}$ (Spread $\sigma = 1.53^\circ\text{C}$)
- Out-of-Sample Holdout (N=32 Unseen Runs, Seed 999): $\text{RMSE} = 0.316^\circ\text{C}$ | $\text{MAE} = 0.262^\circ\text{C}$
- Inference Latency: $< 1\text{ ms}$ on CPU
⚠️ Limitations
- Single-Zone Idealization: The model represents an isolated single-room perimeter zone facing an exterior aperture, not a fully coupled 3D computational fluid dynamics (CFD) courtyard void.
- Simplified Infiltration & Internal Loads: Constant occupancy sensible gains (2 people, 240 W) without dynamic appliance scheduling or variable occupant window operation.
- No Sensor Calibration: This is a numerical comparative simulation; boundary conditions have not yet been calibrated against empirical data-logger measurements from historic medina structures.
🚀 Quickstart
# 1. Clone repository
git clone https://github.com/<your-username>/HeatBee.git
cd HeatBee
# 2. Install dependencies
pip install -r requirements.txt
# 3. Run verified benchmark, sweeps, and holdout validation
python cli.py --benchmark
python cli.py --sweeps
python cli.py --holdout
# 4. Launch interactive dashboard
streamlit run app.py
📄 Citation & License
MIT License. If citing this software or dataset:
@software{heatbee2026,
author = {Haytam Aarab},
title = {HeatBee: Surrogate Modeling of High-Mass Vernacular Architecture in Arid Climates},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.23145635}
}
- Downloads last month
- 44