Commit Graph

222 Commits

Author SHA1 Message Date
c1c0f598da Reorganize the citygml classes 2021-06-04 09:22:06 -04:00
Pilar
f8a65b6057 Changes in libs to new concept of keywords in libraries. Added new tests. 2021-05-27 17:20:06 -04:00
Pilar
9dcc12fd68 Changes in libs to new concept of keywords in libraries. Missing new tests. 2021-05-26 18:17:23 -04:00
Pilar
33ac71d5a6 added 'year' to 'minute' as constants in constants.py and adapted the code to that 2021-05-25 13:34:57 -04:00
35667ab083 Correct errors in simplified radiosity algorithm export 2021-04-14 10:22:29 -04:00
Pilar
146162165f created epw_weather_parameters.py 2021-04-13 19:00:28 -04:00
Pilar
a0613201e3 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	city_model_structure/attributes/surface.py
#	city_model_structure/city.py
2021-04-13 15:11:39 -04:00
Pilar
ac902c6c97 created epw_weather_parameters.py 2021-04-13 15:09:13 -04:00
bfd4868005 Rollback behnam changes and add sra export to the export factory 2021-04-13 14:12:45 -04:00
Pilar
8fc66b7060 fixed unittests to adapt to last changes 2021-04-08 11:47:58 -04:00
Pilar
d6e09585ac changed _city_debug with city 2021-04-07 14:39:50 -04:00
Pilar
ff701e7f77 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	city_model_structure/building.py
#	imports/geometry_feeders/citygml.py
2021-04-07 14:23:41 -04:00
Pilar
e19a22920b created import obj and tested 2021-04-07 14:20:13 -04:00
86fe064a25 Partial correction for unit tests 2021-04-07 12:57:56 -04:00
c480a6c4cb Partial correction for unit tests 2021-04-07 12:06:21 -04:00
634bbc286f Change export method from property to function to improve the semantic 2021-04-07 11:52:39 -04:00
7a77c47d04 Merge remote-tracking branch 'origin/master' 2021-04-07 11:48:00 -04:00
5084a4457c Merge remote-tracking branch 'origin/master'
# Conflicts:
#	tests/test_exports.py
2021-04-07 11:47:41 -04:00
Pilar
5290cb6ba9 adding import obj (not yet working). Also erased accent from Alvarez 2021-04-07 11:47:39 -04:00
09ee39c314 Review changes for CityGml import factory change to use the new format for surfaces based in polygons 2021-04-07 11:46:44 -04:00
Pilar
39c6a3afd2 fixing tests after changes in Surface and building 2021-04-07 10:33:05 -04:00
88e43a0770 CityGml import factory change to use the new format for surfaces based in polygons 2021-04-06 18:06:19 -04:00
Pilar
bf0cda131e max_x, max_y, max_z (and min) changed to envelope_upper_corner (and lower) 2021-04-01 15:51:09 -04:00
Pilar
1498731275 code for storeys division cleaned 2021-03-31 14:17:53 -04:00
Pilar
e353a7c800 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	city_model_structure/building.py
2021-03-25 09:15:05 -04:00
Pilar
9a40cfa54b testing building separation in storeys with the new configuration of geometry using polygons and polyhedrons (NOT working yet). 2021-03-25 09:11:42 -04:00
636047b99c Partial implementation energy ADE, till geometry export (LOD2) this commit is broken, due some missing attribute (max_(coord)) at surface class 2021-03-25 09:11:30 -04:00
Pilar
dbbe3d56fc before behnam changes in libs 2021-03-23 10:13:01 -04:00
413c302ed3 Export energy ade as a file 2021-03-17 09:23:48 -04:00
f0e7f55535 Export energy ade 2021-03-16 20:14:40 -04:00
Pilar
7f902553cf solved demand units 2021-03-16 19:40:41 -04:00
Pilar
b6c49b950d with year 2021-03-16 19:28:21 -04:00
Pilar
67fe44e303 added two files to tests_data 2021-03-16 18:25:29 -04:00
Pilar
8f36b88571 obj export to ground reference 2021-03-16 16:58:52 -04:00
490fcb9563 Implement exports factories clases and export stl and obj city version. 2021-03-16 12:33:22 -04:00
Pilar
4e4875392f modifications in classes for energyADE 2021-03-16 12:19:35 -04:00
Pilar
69d7f9d7af actualized requirements.txt 2021-03-15 11:47:30 -04:00
Pilar
74732355d4 working version after creating polygon.py 2021-03-08 18:27:14 -05:00
Pilar
a9abb59835 removed remove_last parameter 2021-03-08 12:56:19 -05:00
Pilar
dbd32e4d20 Surface and Polygon classes finished. Added test_surfaces to test_geometry_factory.py. Still not working version. 2021-03-03 16:33:33 -05:00
Pilar
fa83e195c4 Partial implementation of new concept surfaces vs. polygons, not a working version 2021-03-02 18:57:09 -05:00
Pilar
090e70a3d0 In building.py: added property storeys and corrected two bugs. In city_object.py, added property polyhedron. In polyhedron.py added documentation. In test_geometry_factory.py added new unittest test_divide_mesh_by_plane. 2021-03-01 16:42:03 -05:00
Pilar
6f58fde55b added region to city.py 2021-01-27 16:08:11 -05:00
Pilar
9a55935add working and cleaner triangulate function v1.1 2021-01-20 16:05:47 -05:00
Pilar
7a5b93466f new triangulate function in polyhedron.py working. v1.0 2021-01-19 17:33:03 -05:00
Pilar
1fccac8f4c first attempt to new triangulate function in polyhedron.py 2021-01-13 16:41:45 -05:00
Pilar
869cc8fd81 added tests to be erased, but temporally needed 2021-01-13 12:24:02 -05:00
Pilar
e9dd9c2221 eliminated many parameters from configuration.ini that will now depend on the workflow
added example iso 52016-1:2017
added new weather format defined in iso 52016-1:2017 (xls)
2021-01-11 17:11:50 -05:00
Guille
5c93b64cd3 Code review and small corrections over the new interfaces dor physics and usage factories 2021-01-08 09:37:38 -05:00
Guille
f2292a53e3 Merge remote-tracking branch 'origin/master' 2021-01-08 09:33:25 -05:00
Guille
feab805be2 Code review and small corrections over the new interfaces dor physics and usage factories 2021-01-08 09:16:01 -05:00
pilar
7e0840e759 adapted us and nyc to physics interface 2021-01-07 19:46:52 -05:00
pilar
67fe6a1ed4 adapted de and nyc to usage interface 2021-01-07 18:53:26 -05:00
Guille
1aa17575bf Testing kelowna test case to debug triangulation and volume calculations 2021-01-07 16:16:48 -05:00
pilar
172ce69c4d hft internal gains interface 2021-01-06 16:42:38 -05:00
pilar
cb2be1382c nrel interface 2021-01-05 15:01:36 -05:00
pilar
74659b8a06 occupancy to schedules 2020-12-15 15:15:40 -05:00
pilar
4a7dda045d occupancy to schedules 2020-12-15 14:57:46 -05:00
Guille
b0ca46332c unit test name refactoring 2020-12-15 11:10:25 -05:00
Guille
e0990448bb Code organization 2020-12-15 11:05:02 -05:00
Guille
46a88bf890 Code cleaning and adding new functions to save and load a city 2020-12-02 11:56:33 -05:00
Guille
2c0c30ad33 Remove debug message 2020-12-01 16:29:20 -05:00
Guille
534fdc1ee7 Remove debug message 2020-12-01 07:35:13 -05:00
Guille
be31e9517a Lod2 import for citygml 2020-12-01 07:33:53 -05:00
Guille
33725e8b74 Lod2 import for citygml 2020-12-01 07:33:23 -05:00
Guille
5bfac5b01b Partial implementation for non-triangular surfaces 2020-11-27 11:31:25 -05:00
Guille
bb9ecf11c0 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	tests/test_idf.py
2020-11-18 09:05:27 -05:00
Guille
cb24c7119b Add the occupancy to the data model 2020-11-18 08:58:37 -05:00
Soroush
d34d4395c1 Add occupancy modified 1 2020-11-18 02:28:29 -05:00
Guille
fcbee21199 Bugfixing in idf_helper, changing the method exposure so now adding surfaces add materials and layers automatically, added surface getter for ThermalBoundary 2020-11-12 13:50:43 -05:00
pilar
62e561824b added usage unittest 2020-11-06 05:40:17 -05:00
Guille
794f41262b Add atributes for constructions materials and layers 2020-11-05 11:45:39 -05:00
Guille
7ffe395aa9 Add atributes for constructions materials and layers 2020-11-05 11:11:43 -05:00
Guille
93a35d359c Fix broken unit test, change test gml file to 20 buildings instead 2 and correct physic path so standard library is used instead custom one 2020-11-04 11:56:57 -05:00
Guille
3c79c2288c Merge remote-tracking branch 'origin/master'
# Conflicts:
#	requirements.txt
2020-11-04 08:59:27 -05:00
Guille
75ff0bd800 Corrected IDF helper, there are a bug related to the ep+ can not be executed directly from python in linux (more test are needed) a possible work around it's to call the console directly instead using "run function" 2020-11-04 08:54:10 -05:00
pilar
96ec16a6b8 modified files to include occupancy schedules and create yearly schedules from typical week days 2020-11-02 13:41:42 -05:00
pilar
ec5b5f626c small changes to fit weather_factory idea 2020-10-30 16:01:12 -04:00
pilar
3a22e7afff finished test_weather_factory.py 2020-10-30 08:25:36 -04:00
pilar
b17bab8df7 error in test_weather_factory.py 2020-10-30 06:23:29 -04:00
pilar
5c4f323e76 erased folders in factories 2020-10-29 08:16:48 -04:00
Guille
bf952d88e4 Correct paths and unittest errors caused by refactoring 2020-10-28 13:57:56 -04:00
pilar
94c593b651 created weather_factory but not completed
re-structured weather.py file accordingly (now in weather_factory.helpers
2020-10-28 13:14:05 -04:00
Guille
c1b7d346bd Idf surfaces connection 2020-10-28 12:20:13 -04:00
Guille
e8758eb76d Idf surfaces connection 2020-10-27 13:19:50 -04:00
pilar
20d9f00e77 fixed test_occupancy_factory.py 2020-10-27 12:53:29 -04:00
pilar
b2dcec9845 modified demo_occupancy_parameters.py 2020-10-27 09:31:57 -04:00
Guille
e8840de5a6 Idf blocks connection 2020-10-26 13:47:10 -04:00
Guille
e74f4ead79 Idf blocks connection 2020-10-26 13:33:03 -04:00
Guille
ee9364d704 Idf corrections and intermediate solution 2020-10-26 10:00:42 -04:00
Guille
f6ba7ac911 Correct idf_helper class 2020-10-22 12:04:04 -04:00
Guille
11fcd27926 Correct idf_helper class 2020-10-22 12:00:53 -04:00
Guille
8d14b040ed Add the demo factory to the libs 2020-10-22 11:38:59 -04:00
Guille
1f2a79d43b Add the demo factory to the libs 2020-10-22 11:02:41 -04:00
Guille
027bea5c2f Rename the idf class into idf_helper, most likely in the future it will become a factory 2020-10-22 07:30:34 -04:00
Guille
ab42ea4ac4 Add idf base class corrections and test files 2020-10-21 15:23:06 -04:00
kpanchab
8e8feb3e98 I aaded 1 in the testcase 2020-10-21 09:16:29 -04:00
Guille
9cbcea5fd5 Remove deprecated assert call and unused variable 2020-10-19 11:48:34 -04:00
dc1515bb0d test geometry update 2020-06-30 18:06:27 -04:00
f3156df417 test geometry update 2020-06-30 16:51:49 -04:00
6eb9c9112d test geometry update 2020-06-30 16:11:45 -04:00
6c2cd8e977 change reverse_geocoder for openmaps api call 2020-06-29 17:41:22 -04:00
aa68cf4456 change reverse_geocoder for openmaps api call 2020-06-29 17:38:47 -04:00
ab20418a18 Remove debug prints and correct unit tests 2020-06-26 10:12:58 -04:00
af22f7aaa9 Remove debug prints 2020-06-26 10:06:43 -04:00
366551cf38 Implement lod2 2020-06-22 13:26:50 -04:00
5bbfa23c48 Add the building/city_objects hierarchy to the city 2020-06-16 16:06:33 -04:00
4a58387f23 Add the building/city_objects hierarchy to the city 2020-06-16 15:12:18 -04:00
2f8de273dd Add virtual environment to the git repository, this isn't 100% right but it's practical at this development point 2020-06-16 10:34:17 -04:00
4a235e9e9e Correct the existing unit tests 2020-06-15 14:59:53 -04:00
def7d6cd7c Add code comment to the classes and improve overall quality 2020-06-11 17:01:06 -04:00
4e63ba72c6 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	city_model_structure/surface.py
#	helpers/configuration_helper.py
#	helpers/geometry_helper.py
2020-06-11 16:58:20 -04:00
4284b2cb3e Add code comment to the classes and improve overall quality 2020-06-11 16:55:52 -04:00
pilar
2385827d0a Merge remote-tracking branch 'origin/master' 2020-06-11 15:46:50 -04:00
pilar
e8a4bfe848 testing estrange error 2020-06-11 15:46:45 -04:00
145520c8a2 Add code comment to the classes and improve overall quality 2020-06-11 15:45:11 -04:00
e613be147f Add code comment to the classes 2020-06-09 14:07:47 -04:00
a9b0579e01 refactoring and code cleaning 2020-06-09 11:28:50 -04:00
d7b24eba41 move assumptions into configuration.ini 2020-06-05 12:24:03 -04:00
d073f0265e Unit test review to include data model changes and code cleaning 2020-06-04 12:47:48 -04:00
35793da38d shared wall implementation bug fixing 2020-06-03 16:56:17 -04:00
882aaead16 shared wall implementation bug fixing 2020-05-29 07:25:33 -04:00