Adding the EV Building gml file

This commit is contained in:
sanam 2021-12-03 12:21:13 -05:00
parent c25d8b8ebf
commit 75a3d145ea
2 changed files with 5018 additions and 5 deletions

10
main.py
View File

@ -11,13 +11,13 @@ from imports.geometry.helpers.geometry_helper import GeometryHelper
from city_model_structure.city import City
name_gml = 'one_building_in_kelowna.gml'
name_gml = 'EVBuilding.gml'
function_format = 'hft'
construction_format = 'nrel'
usage_format = 'comnet'
schedules_format = 'comnet'
climate_reference_city = 'Summerland'
weather_file_name = 'CAN_BC_Summerland.717680_CWEC.epw'
climate_reference_city = 'Montreal'
weather_file_name = 'CAN_PQ_Montreal.Intl.AP.716270_CWEC.epw'
example_path = Path(__file__).parent
full_path_gml = (example_path / 'tests' / 'tests_data' / name_gml).resolve()
@ -59,7 +59,7 @@ if not pickle_weather:
# calculate radiation on external surfaces
path = (example_path / 'tests').resolve()
radius = 80
building = city.city_object('BLD109438')
building = city.city_object('1066157')
# building = city.city_object('1066157')
new_city = city.region(building.centroid, radius)
sra = SimplifiedRadiosityAlgorithm(new_city, path, weather_file_name)
@ -77,7 +77,7 @@ else:
if not pickle_construction or not pickle_usage or not pickle_schedules:
for building in city.buildings:
building.function = 'residential'
building.function = 'Largeoffice'
building.year_of_construction = 2010
if function_format == 'hft':

File diff suppressed because it is too large Load Diff