mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
map pv connection 🟩
This commit is contained in:
parent
5bd4e22886
commit
44b6a6a0db
1 changed files with 10 additions and 0 deletions
|
|
@ -155,6 +155,16 @@ class EpcPropertyDataMapper:
|
|||
is_dwelling_export_capable=general.dwelling_export_capable,
|
||||
wind_turbines_terrain_type=general.terrain_type,
|
||||
electricity_smart_meter_present=general.electricity_smart_meter,
|
||||
pv_connection=renewables.pv_connection,
|
||||
photovoltaic_supply=(
|
||||
PhotovoltaicSupply(
|
||||
none_or_no_details=PhotovoltaicSupplyNoneOrNoDetails(
|
||||
percent_roof_area=renewables.percent_roof_covered_pv,
|
||||
)
|
||||
)
|
||||
if renewables.percent_roof_covered_pv is not None
|
||||
else None
|
||||
),
|
||||
),
|
||||
sap_building_parts=sap_building_parts,
|
||||
solar_water_heating=renewables.solar_hot_water,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue