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

Edit EPW file to remove Solar Radiation and Wind

asked 2021-03-31 05:12:24 -0600

sashadf1's avatar

updated 2021-03-31 07:36:35 -0600

Hi,

I am trying to manually edit a TMY3 epw file to set solar radiation and wind speed to 0 for each timestep throughout the year.

I tried using Elements, but I can only edit one cell at a time.

I also tried using Excel, but there are no column headers when I open the file using comma separated values, so I don't know which variable corresponds to which column of data.

I could not use the WeatherConverter Weather.exe application in EnergyPlus folder because my computer threw an error.

image description

Is there a way to convert epw to csv without using the WeatherConverter? Is there a way to use Elements to easily set the entire annual timeseries for a variable to 0?

edit retag flag offensive close merge delete

Comments

I ended up using an awk script to automate the changes.

sashadf1's avatar sashadf1  ( 2021-03-31 10:11:35 -0600 )edit

Which version of E+ are you using, and how did you install it? (from the .exe or just extracted the .zip one?)

Julien Marrec's avatar Julien Marrec  ( 2021-04-01 02:59:46 -0600 )edit

I am using E+ v9.2, and installed it with OpenStudio + PAT download.

sashadf1's avatar sashadf1  ( 2021-04-01 03:59:34 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-04-01 08:03:56 -0600

You need to install EnergyPlus separately.

OpenStudio doesn't install these OCX / DLL.

Get the latest EnergyPlus 9.5.0 at https://github.com/NREL/EnergyPlus/re..., and install that.

The weather converter will work after that (whether it'd be the one installer with 9.5 or the 9.2 one inside your OpenStudio install directory)

edit flag offensive delete link more

Comments

I installed EnergyPlus v9.2 separately and opened the Weather.exe file in that newly downloaded directory.

I.E. EnergyPlus not through the OpenStudio download.

I still got the same OCX error thrown.

sashadf1's avatar sashadf1  ( 2021-04-01 08:32:30 -0600 )edit

Try 9.5 installer?

Julien Marrec's avatar Julien Marrec  ( 2021-04-01 08:33:15 -0600 )edit

Do you have C:\Windows\SysWOW64\ComDlg32.OCX on your system?

Julien Marrec's avatar Julien Marrec  ( 2021-04-01 08:35:37 -0600 )edit

The E+ 9.5 installer should register all OCX properly, so you shouldn't have to do anything. Prior to 9.4 (so 9.3 included and below), it wouldn't try to register the OCX if it was found on your system already. See this commit that changed it: https://github.com/NREL/EnergyPlus/co...

Julien Marrec's avatar Julien Marrec  ( 2021-04-01 08:40:26 -0600 )edit

If not, you can get it from https://github.com/NREL/EnergyPlus/ra...

Copy it to C:\Windows\SysWOW64\ComDlg32.OCX. Once you do, you need to register it.

open an elevated (administator) Command Prompt (cmd.exe)

Type: C:\Windows\SysWOW64\regsvr32.exe /s C:\Windows\SysWOW64\ComDlg32.OCX

Julien Marrec's avatar Julien Marrec  ( 2021-04-01 08:40:42 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2021-03-31 05:12:24 -0600

Seen: 421 times

Last updated: Apr 01 '21