added weather factory needed for cold water temperature
This commit is contained in:
parent
eedfd64559
commit
bd82d0cd1f
|
@ -7,7 +7,7 @@ import csv
|
|||
from hub.imports.geometry_factory import GeometryFactory
|
||||
from hub.imports.construction_factory import ConstructionFactory
|
||||
from hub.imports.usage_factory import UsageFactory
|
||||
from hub.exports.exports_factory import ExportsFactory
|
||||
from hub.imports.weather_factory import WeatherFactory
|
||||
from hub.exports.energy_building_exports_factory import EnergyBuildingsExportsFactory
|
||||
from hub.helpers.dictionaries import Dictionaries
|
||||
|
||||
|
@ -17,6 +17,7 @@ try:
|
|||
file_path = (Path(__file__).parent.parent / 'input_files' / 'selected_building.geojson')
|
||||
out_path = (Path(__file__).parent.parent / 'out_files')
|
||||
files = glob.glob(f'{out_path}/*')
|
||||
|
||||
for file in files:
|
||||
if file != '.gitignore':
|
||||
os.remove(file)
|
||||
|
@ -33,6 +34,8 @@ try:
|
|||
print('enrich constructions... done')
|
||||
UsageFactory('nrcan', city).enrich()
|
||||
print('enrich usage... done')
|
||||
WeatherFactory('epw', city).enrich()
|
||||
print('enrich weather... done')
|
||||
|
||||
area = 0
|
||||
volume = 0
|
||||
|
@ -43,7 +46,7 @@ try:
|
|||
|
||||
print('exporting:')
|
||||
|
||||
_idf = EnergyBuildingsExportsFactory('idf', city, out_path).export_debug()
|
||||
_idf = EnergyBuildingsExportsFactory('idf', city, out_path).export()
|
||||
print(' idf exported...')
|
||||
_idf.run()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user