geomeppy icon indicating copy to clipboard operation
geomeppy copied to clipboard

set_wwr() error message

Open fabiamiorelli opened this issue 5 years ago • 0 comments

I am running EnergyPlus v9-1-0 from Spyder (3.3.6) using eppy and geomeppy. I am particularly interested in the option to change the glazing ratio using geomeppy to assess the impact on energy performance. When using idf.set_wwr() I get the following error message:

idf.set_wwr(wwr=wwr_north, construction=window, orientation="north", force = True) Traceback (most recent call last):

File "", line 1, in idf.set_wwr(wwr=wwr_north, construction=window, orientation="north", force = True)

File "C:\ProgramData\Anaconda3\lib\site-packages\geomeppy\idf.py", line 223, in set_wwr set_wwr(self, wwr, construction, force, wwr_map, orientation)

File "C:\ProgramData\Anaconda3\lib\site-packages\geomeppy\recipes.py", line 172, in set_wwr window.setcoords(coords, ggr)

File "C:\ProgramData\Anaconda3\lib\site-packages\geomeppy\patches.py", line 61, in setcoords set_coords(self, poly, ggr)

File "C:\ProgramData\Anaconda3\lib\site-packages\geomeppy\geom\surfaces.py", line 29, in set_coords poly = poly.normalize_coords(ggr)

File "C:\ProgramData\Anaconda3\lib\site-packages\geomeppy\geom\polygons.py", line 421, in normalize_coords return normalize_coords(self, outside_point, ggr)

File "C:\ProgramData\Anaconda3\lib\site-packages\geomeppy\geom\polygons.py", line 587, in normalize_coords poly = set_starting_position(poly, ggr)

File "C:\ProgramData\Anaconda3\lib\site-packages\geomeppy\geom\polygons.py", line 620, in set_starting_position poly = poly.order_points(starting_position)

File "C:\ProgramData\Anaconda3\lib\site-packages\geomeppy\geom\polygons.py", line 386, in order_points raise ValueError("%s is not a valid starting position" % starting_position)

ValueError: ulc is not a valid starting position

Any suggestions about how to solve this? Thank you in advance for any help you can provide!

fabiamiorelli avatar Jan 17 '20 09:01 fabiamiorelli