mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
pass u-value through to simulation for cwi
This commit is contained in:
parent
1eca5af64c
commit
5e8930f265
2 changed files with 11 additions and 3 deletions
|
|
@ -744,7 +744,6 @@ async def build_mds(body: MdsRequest):
|
|||
representative_recommendations = {}
|
||||
recommendations = {}
|
||||
|
||||
# TODO: Action the optimise_measures flat
|
||||
for p in tqdm(input_properties):
|
||||
p.get_components(cleaned, photo_supply_lookup, floor_area_decile_thresholds)
|
||||
|
||||
|
|
@ -771,7 +770,12 @@ async def build_mds(body: MdsRequest):
|
|||
p.adjust_difference_record_with_recommendations(
|
||||
simulation_mds_recs, property_representative_recommendations[_id]
|
||||
)
|
||||
recommendations_scoring_data.extend(p.recommendations_scoring_data)
|
||||
|
||||
data = p.recommendations_scoring_data.copy()
|
||||
for d in data:
|
||||
d["id"] = d["id"] + _id
|
||||
|
||||
recommendations_scoring_data.extend(data)
|
||||
|
||||
else:
|
||||
|
||||
|
|
|
|||
|
|
@ -343,7 +343,11 @@ class WallRecommendations(Definitions):
|
|||
wall_ending_config=wall_ending_config
|
||||
)
|
||||
|
||||
simulation_config = {**simulation_config, **walls_simulation_config}
|
||||
simulation_config = {
|
||||
**simulation_config,
|
||||
**walls_simulation_config,
|
||||
"walls_thermal_transmittance_ending": new_u_value
|
||||
}
|
||||
|
||||
recommendations.append(
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue