Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

coordinates longitude latitude [closed]

asked 2022-10-02 09:27:48 -0600

OlivierC37's avatar

updated 2022-10-03 15:49:42 -0600


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,

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by OlivierC37
close date 2023-01-02 13:21:42.642714

1 Answer

Sort by ยป oldest newest most voted

answered 2022-10-05 17:39:23 -0600

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.

edit flag offensive delete link more


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 -0600 )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 -0600 )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 -0600 )edit


Question Tools

1 follower


Asked: 2022-10-02 09:27:48 -0600

Seen: 109 times

Last updated: Oct 05 '22