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
|
||||
|
||||
|
||||
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':
|
||||
|
|
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