redefined the way long schedules are assigned to energy+
This commit is contained in:
parent
46a631c344
commit
825572ce29
|
@ -43,5 +43,5 @@ class StochasticSchedulesImporter:
|
||||||
for building in self._buildings:
|
for building in self._buildings:
|
||||||
for internal_zone in building.internal_zones:
|
for internal_zone in building.internal_zones:
|
||||||
for thermal_zone in internal_zone.thermal_zones:
|
for thermal_zone in internal_zone.thermal_zones:
|
||||||
occupancy = thermal_zone.occupancy
|
_occupancy = thermal_zone.occupancy
|
||||||
occupancy.occupancy_schedules = [schedule]
|
_occupancy.occupancy_schedules = [schedule]
|
||||||
|
|
|
@ -33,8 +33,8 @@ try:
|
||||||
print('enrich constructions... done')
|
print('enrich constructions... done')
|
||||||
UsageFactory('comnet', city).enrich()
|
UsageFactory('comnet', city).enrich()
|
||||||
print('enrich usage... done')
|
print('enrich usage... done')
|
||||||
in_path = (Path(__file__).parent.parent / 'data' / 'occupancyschedules_2019_point4.xlsx')
|
# in_path = (Path(__file__).parent.parent / 'data' / 'occupancyschedules_2019_point4.xlsx')
|
||||||
CustomizedImportsFactory(ssi, city, in_path).enrich()
|
# CustomizedImportsFactory(ssi, city, in_path).enrich()
|
||||||
print('enrich stochastic schedules for occupancy... done')
|
print('enrich stochastic schedules for occupancy... done')
|
||||||
|
|
||||||
area = 0
|
area = 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user