1

coordinates longitude latitude [closed]

Hello,

I have a problem with the location of the building because it isn't located where I want it to be. So I want to change the coordinates (longitude and latitude). Where can I change these parameters on OpenStudio?

Thanks in advance,

OlivierC37's avatar
55
OlivierC37
asked 2022-10-02 09:27:48 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2022-10-03 15:49:42 -0500
edit flag offensive 0 remove flag reopen merge delete

Closed for the following reason "the question is answered, right answer was accepted" by OlivierC37 2023-01-02 13:21:42 -0500

Comments

add a comment see more comments

1 Answer

2

When you assign a weather file to a model on the site tab it uses the lat and long from the EPW for the OpenStudio Site object's lat and long fields. If for some reason you want to use values different from want is in the weather file you could set those with a measure. The selected code in this link shows this being done in the Change Building Location measure.

David Goldwasser's avatar
20.4k
David Goldwasser
answered 2022-10-05 17:39:23 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank you for your help. However, how can I access this code? I am a beginner and I don't have much knowledge about the software and how to set a measure. Can you help me with this?

OlivierC37's avatar OlivierC37 (2022-10-06 13:22:37 -0500) edit

Writing a measure wouldn't be a beginner question, but if you are a beginner can you use the latitude and longitude provided by the weather file? I s there a problem with your source weather file preventing you from doing that? The typical workflow (for beginners and advanced users) is to load the weather file and have the latitude and longitude pulled from that.

David Goldwasser's avatar David Goldwasser (2022-10-07 14:31:57 -0500) edit

In fact, I'm learning OpenStudio because I'll take my engineering memory in June and have to use it. At the same time, it's very interesting software. I need to change the latitude and longitude because my location is too far from my source weather file. So, It's important to me to understand how I can change the coordinates.

OlivierC37's avatar OlivierC37 (2022-10-08 13:26:00 -0500) edit
add a comment see more comments