mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
extended the capturing of u-values from thermal transmittance descriptions
This commit is contained in:
parent
4e85d1380e
commit
07ddf8383b
2 changed files with 3 additions and 2 deletions
|
|
@ -1667,6 +1667,7 @@ def compile_data_final():
|
|||
'windows-description': WindowAttributes,
|
||||
'lighting-description': LightingAttributes
|
||||
}
|
||||
|
||||
for variable_to_clean in cleaned.keys():
|
||||
|
||||
unique_descriptions = property_attributes[variable_to_clean].unique()
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ import re
|
|||
import string
|
||||
from typing import Tuple, Union, Dict, List
|
||||
|
||||
THERMAL_TRANSMITTANCE_STR = r"average thermal transmittance (-?\d+(\.\d+)?)\s(w/m\S+k)"
|
||||
THERMAL_TRANSMITTANCE_REGEX = re.compile(THERMAL_TRANSMITTANCE_STR)
|
||||
THERMAL_TRANSMITTANCE_STR = r"average thermal transmittance\s*[=:-]?\s*(-?\d+(\.\d+)?)\s*[wW]/m\S*[kK]"
|
||||
THERMAL_TRANSMITTANCE_REGEX = re.compile(THERMAL_TRANSMITTANCE_STR, re.IGNORECASE)
|
||||
|
||||
DOUBLE_SPACE_PATTERN = re.compile(r"\s+")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue