Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set_wwr() error message #177

Open
fabiamiorelli opened this issue Jan 17, 2020 · 0 comments
Open

set_wwr() error message #177

fabiamiorelli opened this issue Jan 17, 2020 · 0 comments
Labels

Comments

@fabiamiorelli
Copy link

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!

@jamiebull1 jamiebull1 added the bug label Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants