diff --git a/example_files/example_project_combine_GHE.json b/example_files/example_project_combine_GHE.json new file mode 100644 index 00000000..472e0f95 --- /dev/null +++ b/example_files/example_project_combine_GHE.json @@ -0,0 +1,981 @@ +{ + "type": "FeatureCollection", + "project": { + "id": "7c33a001-bccb-413e-ac87-67558b5d4b07", + "name": "New Project", + "surface_elevation": null, + "import_surrounding_buildings_as_shading": null, + "weather_filename": "USA_NY_Buffalo-Greater.Buffalo.Intl.AP.725280_TMY3.epw", + "tariff_filename": null, + "climate_zone": "6A", + "cec_climate_zone": null, + "begin_date": "2017-01-01T07:00:00.000Z", + "end_date": "2017-12-31T07:00:00.000Z", + "timesteps_per_hour": 1, + "default_template": "90.1-2013" + }, + "features": [ + { + "type": "Feature", + "properties": { + "id": "53340c2c-ab20-40db-aba1-11ac607c52a7", + "name": "Site Origin", + "type": "Site Origin", + "begin_date": "2017-01-01T07:00:00.000Z", + "end_date": "2017-12-31T07:00:00.000Z", + "cec_climate_zone": null, + "climate_zone": "6A", + "default_template": "90.1-2013", + "import_surrounding_buildings_as_shading": null, + "surface_elevation": null, + "tariff_filename": null, + "timesteps_per_hour": 1, + "weather_filename": "USA_NY_Buffalo-Greater.Buffalo.Intl.AP.725280_TMY3.epw" + }, + "geometry": { + "type": "Point", + "coordinates": [ + -78.84948467732347, + 42.81677154451123 + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "1", + "name": "Mixed_use 1", + "type": "Building", + "building_type": "Mixed use", + "floor_area": 752184, + "footprint_area": 188046, + "number_of_stories": 4, + "mixed_type_1": "Office", + "mixed_type_1_percentage": 50, + "mixed_type_2": "Food service", + "mixed_type_2_percentage": 50, + "mixed_type_3": "Strip shopping mall", + "mixed_type_3_percentage": 0, + "mixed_type_4": "Lodging", + "mixed_type_4_percentage": 0 + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78.84650338745196, + 42.81331301863236 + ], + [ + -78.84652443964629, + 42.81463974371101 + ], + [ + -78.84680142363833, + 42.815293654042534 + ], + [ + -78.84744455124724, + 42.81514110006128 + ], + [ + -78.84728610028628, + 42.81478165791734 + ], + [ + -78.84786797764677, + 42.814643631760134 + ], + [ + -78.84721106637106, + 42.813153418927016 + ], + [ + -78.84650338745196, + 42.81331301863236 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "2", + "name": "Restaurant 1", + "type": "Building", + "building_type": "Food service", + "floor_area": 22313, + "footprint_area": 22313, + "number_of_stories": 1 + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78.8500120420453, + 42.81812185529549 + ], + [ + -78.85038975191084, + 42.81803226424341 + ], + [ + -78.850630729414, + 42.81857888627522 + ], + [ + -78.85025301954843, + 42.81866847653532 + ], + [ + -78.8500120420453, + 42.81812185529549 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "3", + "name": "Restaurant 10", + "type": "Building", + "building_type": "Food service", + "floor_area": 125631, + "footprint_area": 41877, + "number_of_stories": 3 + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78.84962224800356, + 42.81329273502644 + ], + [ + -78.84929833482822, + 42.81337083838241 + ], + [ + -78.84983265832118, + 42.814563298664666 + ], + [ + -78.85015657149653, + 42.81448519681467 + ], + [ + -78.84962224800356, + 42.81329273502644 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "4", + "name": "Restaurant 12", + "type": "Building", + "building_type": "Food service", + "floor_area": 31623, + "footprint_area": 10541, + "number_of_stories": 3 + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78.84907318596754, + 42.81342719667407 + ], + [ + -78.84862090048105, + 42.81353625345659 + ], + [ + -78.84871721918239, + 42.813751210926796 + ], + [ + -78.84916950466888, + 42.81364215452331 + ], + [ + -78.84907318596754, + 42.81342719667407 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "5", + "name": "Restaurant 14", + "type": "Building", + "building_type": "Food service", + "floor_area": 8804, + "footprint_area": 8804, + "number_of_stories": 1 + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78.84809175426629, + 42.81367038997507 + ], + [ + -78.84848670778973, + 42.81357515750889 + ], + [ + -78.84857883872144, + 42.81378076888831 + ], + [ + -78.84818388519801, + 42.81387600103781 + ], + [ + -78.84809175426629, + 42.81367038997507 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "6", + "name": "Restaurant 15", + "type": "Building", + "building_type": "Food service", + "floor_area": 10689, + "footprint_area": 10689, + "number_of_stories": 1 + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78.84846106738529, + 42.814495803077364 + ], + [ + -78.8486903952376, + 42.81444050756261 + ], + [ + -78.8484977578349, + 42.81401059666683 + ], + [ + -78.84826842998261, + 42.81406589256599 + ], + [ + -78.84846106738529, + 42.814495803077364 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "7", + "name": "Office 1", + "type": "Building", + "building_type": "Office", + "number_of_stories": 6, + "detailed_model_filename": "7.osm" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78.84733878006863, + 42.816466983030836 + ], + [ + -78.84854275129324, + 42.81617669028003 + ], + [ + -78.848356395545, + 42.81576080994094 + ], + [ + -78.84715242432038, + 42.81605110464406 + ], + [ + -78.84733878006863, + 42.816466983030836 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "8", + "name": "Hospital 1", + "type": "Building", + "building_type": "Outpatient health care", + "number_of_stories": 10, + "detailed_model_filename": "8.osm" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78.84973966335251, + 42.8154441454509 + ], + [ + -78.85049562542395, + 42.81525669280299 + ], + [ + -78.85078257620685, + 42.81588131780643 + ], + [ + -78.8505086568277, + 42.81594736368234 + ], + [ + -78.85041233812638, + 42.815732413845666 + ], + [ + -78.84991755499783, + 42.81585689105046 + ], + [ + -78.84973966335251, + 42.8154441454509 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "9", + "name": "Hospital 2", + "type": "Building", + "building_type": "Inpatient health care", + "number_of_stories": 3, + "detailed_model_filename": "9.osm" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78.85083627755732, + 42.81600678613279 + ], + [ + -78.85056039001891, + 42.816076133580566 + ], + [ + -78.85072568130569, + 42.816450649528036 + ], + [ + -78.84940134236577, + 42.81677160705479 + ], + [ + -78.84958014898304, + 42.81716858994267 + ], + [ + -78.8507262115271, + 42.816890840117026 + ], + [ + -78.8508565789851, + 42.81719595796099 + ], + [ + -78.85132137101688, + 42.81708331517635 + ], + [ + -78.85083627755732, + 42.81600678613279 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "10", + "name": "Mixed use 2", + "type": "Building", + "building_type": "Mixed use", + "floor_area": 1278384, + "footprint_area": 159798, + "number_of_stories": 8, + "mixed_type_1": "Strip shopping mall", + "mixed_type_1_percentage": 25, + "mixed_type_2": "Food service", + "mixed_type_2_percentage": 25, + "mixed_type_3": "Office", + "mixed_type_3_percentage": 15, + "mixed_type_4": "Lodging", + "mixed_type_4_percentage": 35 + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78.85115264550463, + 42.81786093060211 + ], + [ + -78.85163483958878, + 42.81774467026972 + ], + [ + -78.85246596719499, + 42.819583261120755 + ], + [ + -78.85082390085432, + 42.819979162017745 + ], + [ + -78.85060552295334, + 42.81947573727234 + ], + [ + -78.85174564783776, + 42.81920483484765 + ], + [ + -78.85115264550463, + 42.81786093060211 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "11", + "name": "Restaurant 13", + "type": "Building", + "building_type": "Food service", + "floor_area": 32511, + "footprint_area": 10837, + "number_of_stories": 3 + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78.84961163640645, + 42.81460851835703 + ], + [ + -78.84914661048371, + 42.81472064501696 + ], + [ + -78.84905029178236, + 42.81450569091638 + ], + [ + -78.84951531770513, + 42.81439356386673 + ], + [ + -78.84961163640645, + 42.81460851835703 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "12", + "name": "Mall 1", + "type": "Building", + "building_type": "Strip shopping mall", + "floor_area": 374409, + "footprint_area": 124803, + "number_of_stories": 3 + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78.84768338040897, + 42.817161656757065 + ], + [ + -78.8482630702579, + 42.8170218879136 + ], + [ + -78.84915297130291, + 42.81900776764229 + ], + [ + -78.84857328145401, + 42.81914753199706 + ], + [ + -78.84768338040897, + 42.817161656757065 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "13", + "name": "Hotel 1", + "type": "Building", + "building_type": "Lodging", + "floor_area": 316160, + "footprint_area": 31616, + "number_of_stories": 10 + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78.8494955083645, + 42.819748790984335 + ], + [ + -78.84891089471263, + 42.81989327725856 + ], + [ + -78.8491389243777, + 42.82038967009544 + ], + [ + -78.84972353802956, + 42.82024518498119 + ], + [ + -78.8494955083645, + 42.819748790984335 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "14", + "name": "Residential 1", + "type": "Building", + "building_type": "Single-Family Detached", + "floor_area": 3055, + "footprint_area": 3055, + "number_of_stories_above_ground": 1, + "number_of_stories": 1, + "number_of_bedrooms": 3, + "foundation_type": "crawlspace - unvented", + "attic_type": "attic - vented", + "system_type": "Residential - furnace and central air conditioner", + "heating_system_fuel_type": "natural gas", + "template": "Residential IECC 2015 - Customizable Template Sep 2020" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78.84782863379475, + 42.81308406513335 + ], + [ + -78.84789445741784, + 42.813211653666144 + ], + [ + -78.8481085224459, + 42.81315222398479 + ], + [ + -78.84804269882281, + 42.813024635329356 + ], + [ + -78.84782863379475, + 42.81308406513335 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "15", + "name": "Residential 2", + "type": "Building", + "building_type": "Single-Family Detached", + "floor_area": 4260, + "footprint_area": 2130, + "number_of_stories_above_ground": 2, + "number_of_stories": 3, + "number_of_bedrooms": 4, + "foundation_type": "basement - unconditioned", + "attic_type": "attic - unvented", + "system_type": "Residential - boiler and room air conditioner", + "heating_system_fuel_type": "propane", + "template": "Residential IECC 2015 - Customizable Template Sep 2020" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78.84841249573596, + 42.81294385519362 + ], + [ + -78.8484849661432, + 42.81308642712324 + ], + [ + -78.84861900200103, + 42.81304976336804 + ], + [ + -78.84854653159381, + 42.8129071913539 + ], + [ + -78.84841249573596, + 42.81294385519362 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "16", + "name": "Residential 3", + "type": "Building", + "building_type": "Single-Family Detached", + "floor_area": 5500, + "footprint_area": 4655, + "number_of_stories_above_ground": 1, + "number_of_stories": 2, + "number_of_bedrooms": 5, + "foundation_type": "basement - conditioned", + "attic_type": "attic - conditioned", + "system_type": "Residential - electric resistance and no cooling", + "heating_system_fuel_type": "electricity", + "template": "Residential IECC 2015 - Customizable Template Sep 2020" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78.84901642777548, + 42.81281054264619 + ], + [ + -78.8492166996002, + 42.81276856688589 + ], + [ + -78.8492882250648, + 42.81294171638328 + ], + [ + -78.84919524192809, + 42.812957457222666 + ], + [ + -78.84925246216879, + 42.81307288984212 + ], + [ + -78.84915232658385, + 42.8130833837933 + ], + [ + -78.84901642777548, + 42.81281054264619 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "8c369df2-18e9-439a-8c25-875851c5aaf0", + "geometryType": "Rectangle", + "name": "New District System_1", + "type": "District System", + "footprint_area": 36733, + "footprint_perimeter": 781, + "floor_area": 36733, + "district_system_type": "Ground Heat Exchanger" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78.85286283229338, + 42.816541935089646 + ], + [ + -78.85258540317935, + 42.815935053497185 + ], + [ + -78.85202932534177, + 42.8160718357266 + ], + [ + -78.85230675445584, + 42.81667871597671 + ], + [ + -78.85286283229338, + 42.816541935089646 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "0c1b5138-e3cc-4ccb-b4ff-403fad55e9c3", + "type": "ThermalJunction", + "DSId": "8c369df2-18e9-439a-8c25-875851c5aaf0", + "is_ghe_start_loop": true, + "junction_type": "DES", + "connection_type": "Series" + }, + "geometry": { + "type": "Point", + "coordinates": [ + -78.85216355997532, + 42.816365476697136 + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "76bcf271-177c-46e6-8682-e70f3d376472", + "type": "ThermalJunction", + "buildingId": "9", + "junction_type": "DES", + "connection_type": "Series" + }, + "geometry": { + "type": "Point", + "coordinates": [ + -78.85110928795876, + 42.816612658545644 + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "06279e72-cc7a-4bcc-9936-47805613c4e5", + "type": "ThermalConnector", + "startJunctionId": "0c1b5138-e3cc-4ccb-b4ff-403fad55e9c3", + "endJunctionId": "76bcf271-177c-46e6-8682-e70f3d376472", + "startFeatureId": "8c369df2-18e9-439a-8c25-875851c5aaf0", + "endFeatureId": "9", + "total_length": 296, + "connector_type": "OnePipe", + "fluid_temperature_type": "Hot", + "flow_direction": "Supply" + }, + "geometry": { + "type": "LineString", + "coordinates": [ + [ + -78.85216355997532, + 42.816365476697136 + ], + [ + -78.85110928795876, + 42.816612658545644 + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "62d93293-5c48-4b55-aa97-67c7a8d19f72", + "type": "ThermalJunction", + "buildingId": "9", + "junction_type": "DES", + "connection_type": "Series" + }, + "geometry": { + "type": "Point", + "coordinates": [ + -78.85072270763574, + 42.816035333224285 + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "b0c5d72f-ec40-4213-b7d5-9329ded57d7b", + "type": "ThermalJunction", + "buildingId": "8", + "junction_type": "DES", + "connection_type": "Series" + }, + "geometry": { + "type": "Point", + "coordinates": [ + -78.85066366963542, + 42.81590998788833 + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "aa465802-9736-4811-8629-0ff6624b1735", + "type": "ThermalConnector", + "startJunctionId": "62d93293-5c48-4b55-aa97-67c7a8d19f72", + "endJunctionId": "b0c5d72f-ec40-4213-b7d5-9329ded57d7b", + "startFeatureId": "9", + "endFeatureId": "8", + "total_length": 48, + "connector_type": "OnePipe", + "fluid_temperature_type": "Hot", + "flow_direction": "Supply" + }, + "geometry": { + "type": "LineString", + "coordinates": [ + [ + -78.85072270763574, + 42.816035333224285 + ], + [ + -78.85066366963542, + 42.81590998788833 + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "8d29ddda-d3de-4ee7-9de9-3ee05041d0c3", + "type": "ThermalJunction", + "buildingId": "8", + "junction_type": "DES", + "connection_type": "Series" + }, + "geometry": { + "type": "Point", + "coordinates": [ + -78.8506279609464, + 42.81554475718902 + ] + } + }, + { + "type": "Feature", + "properties": { + "id": "32adaea4-f926-4dc6-94e2-634cf8fef84c", + "type": "ThermalJunction", + "DSId": "8c369df2-18e9-439a-8c25-875851c5aaf0", + "junction_type": "DES", + "connection_type": "Series" + }, + "geometry": { + "type": "Point", + "coordinates": [ + -78.8523321619394, + 42.8159973449965 + ] + } + }, + { + "type": "Feature", + "properties": { + "type": "ThermalConnector", + "id": "fc0a12a2-a722-4998-9454-9a12b1121bf4", + "startJunctionId": "8d29ddda-d3de-4ee7-9de9-3ee05041d0c3", + "endJunctionId": "32adaea4-f926-4dc6-94e2-634cf8fef84c", + "startFeatureId": "8", + "endFeatureId": "8c369df2-18e9-439a-8c25-875851c5aaf0", + "total_length": 485, + "connector_type": "OnePipe", + "fluid_temperature_type": "Hot", + "flow_direction": "Supply" + }, + "geometry": { + "type": "LineString", + "coordinates": [ + [ + -78.8506279609464, + 42.81554475718902 + ], + [ + -78.8523321619394, + 42.8159973449965 + ] + ] + } + } + ] +} \ No newline at end of file diff --git a/example_files/python_deps/dependencies.json b/example_files/python_deps/dependencies.json index 385c95bd..6da39408 100644 --- a/example_files/python_deps/dependencies.json +++ b/example_files/python_deps/dependencies.json @@ -1,6 +1,6 @@ [ { "name": "urbanopt-ditto-reader", "version": "0.5.1"}, - { "name": "NREL-disco", "version": "0.4.1"}, + { "name": "NREL-disco", "version": "0.4.2"}, { "name": "ThermalNetwork", "version": "0.2.1"}, { "name": "geojson-modelica-translator", "version": "0.6.0rc1"} ]