mirror of
https://rs-loy-gitlab.concordia.ca/PMAU/DynamicBuildingSimulation.git
synced 2024-11-14 23:10:28 -05:00
Adding the EV Building gml file
This commit is contained in:
parent
c25d8b8ebf
commit
75a3d145ea
10
main.py
10
main.py
|
@ -11,13 +11,13 @@ from imports.geometry.helpers.geometry_helper import GeometryHelper
|
||||||
from city_model_structure.city import City
|
from city_model_structure.city import City
|
||||||
|
|
||||||
|
|
||||||
name_gml = 'one_building_in_kelowna.gml'
|
name_gml = 'EVBuilding.gml'
|
||||||
function_format = 'hft'
|
function_format = 'hft'
|
||||||
construction_format = 'nrel'
|
construction_format = 'nrel'
|
||||||
usage_format = 'comnet'
|
usage_format = 'comnet'
|
||||||
schedules_format = 'comnet'
|
schedules_format = 'comnet'
|
||||||
climate_reference_city = 'Summerland'
|
climate_reference_city = 'Montreal'
|
||||||
weather_file_name = 'CAN_BC_Summerland.717680_CWEC.epw'
|
weather_file_name = 'CAN_PQ_Montreal.Intl.AP.716270_CWEC.epw'
|
||||||
|
|
||||||
example_path = Path(__file__).parent
|
example_path = Path(__file__).parent
|
||||||
full_path_gml = (example_path / 'tests' / 'tests_data' / name_gml).resolve()
|
full_path_gml = (example_path / 'tests' / 'tests_data' / name_gml).resolve()
|
||||||
|
@ -59,7 +59,7 @@ if not pickle_weather:
|
||||||
# calculate radiation on external surfaces
|
# calculate radiation on external surfaces
|
||||||
path = (example_path / 'tests').resolve()
|
path = (example_path / 'tests').resolve()
|
||||||
radius = 80
|
radius = 80
|
||||||
building = city.city_object('BLD109438')
|
building = city.city_object('1066157')
|
||||||
# building = city.city_object('1066157')
|
# building = city.city_object('1066157')
|
||||||
new_city = city.region(building.centroid, radius)
|
new_city = city.region(building.centroid, radius)
|
||||||
sra = SimplifiedRadiosityAlgorithm(new_city, path, weather_file_name)
|
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:
|
if not pickle_construction or not pickle_usage or not pickle_schedules:
|
||||||
|
|
||||||
for building in city.buildings:
|
for building in city.buildings:
|
||||||
building.function = 'residential'
|
building.function = 'Largeoffice'
|
||||||
building.year_of_construction = 2010
|
building.year_of_construction = 2010
|
||||||
|
|
||||||
if function_format == 'hft':
|
if function_format == 'hft':
|
||||||
|
|
5013
tests/tests_data/EVBuilding_new.gml
Normal file
5013
tests/tests_data/EVBuilding_new.gml
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user