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

Add Rooftop PV Measure #31

Open
GurneetMonga opened this issue Aug 25, 2020 · 1 comment
Open

Add Rooftop PV Measure #31

GurneetMonga opened this issue Aug 25, 2020 · 1 comment

Comments

@GurneetMonga
Copy link

The measure adds shading surface and assign PV object to shading surface however it does not take into account building north axis and hence results in this kind of output. Request to kindly include building north axis and assign directionofRelativeNorth to the surface group.
Add Rooftop PV measure(1)

@GurneetMonga
Copy link
Author

GurneetMonga commented Aug 26, 2020

I added the following code and it worked for me, so thought of sharing the same.

if (model.building.get.northAxis == 0.0)
shading_surface_group.setDirectionofRelativeNorth(surface.space.get.directionofRelativeNorth)
else
shading_surface_group.setDirectionofRelativeNorth(model.building.get.northAxis)
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant