Convert txt weather file to bin for eQuest

5 posts / 0 new
Last post

Hi all,

I have a weather file in txt and would like to use the same file in equest.
Is there a way i can convert it to bin so i can use it in eQuest? the
weather file (txt) is attached.

Thanks all,

--
*
*
Kind regards,
Belal Abboushi

Belal1987's picture
Offline
Joined: 2013-03-08
Reputation: 0

Belal,

I took a look at your text weather file. If it's clean, i.e., all the elements are there
for every hour, then the main difficulties are to calculate the following parameters that
are needed in the DOE-2/eQUEST *.BIN format, as well as to convert all the parameters from
SI to IP:

calculate wet-bulb temperature from the dry-bulb and relative humidity
calculate the humidity ratio
calculate the enthalpy of air

You would also have to add a constant air pressure based on the location's elevation, and
then leave the rain and snow flags as 0's, but those aren't really used anyway.

There used to be a dummy Fortran subroutine called OTHER that a user could modify and then
compile with the DOE-2 weather processor program (also in Fortran), wthr.f,
but I've known of only a handful of people who's actually tried to use it all the years I
was at LBNL. By now, I actually prefer to write my own program rather than struggling
with the syntax of wthr.f

Since I do this type of stuff (process weather data) all the time, I could probably
convert this file for you to eQUEST in less than an hour, but I would have to charge you.
Let me know if you're interested.

Joe

Joe Huang

Joe Huang's picture
Offline
Joined: 2011-09-30
Reputation: 406

*Belal K. Abboushi & All*
*
*
*Please see file attaches, it's all!*
*
*
*Doan Kieu Anh*

Kieu Anh Doan's picture
Offline
Joined: 2013-03-04
Reputation: 0

Kieu Anh, others,

What you have posted works just for converting EPW format weather files to eQUEST BIN.
This does not work at all for Belal's case, where the original weather file is in another
format. For that, you have to specially process the data. In addition to what I had
posted last time, there's also the need to calculate/convert the Direct and Diffuse
radiation to Total Global Horizontal radiation. To do that, you need to have the solar
angle every hour. Sorry to have to explain the bad news.

Joe

Joe Huang

Joe Huang's picture
Offline
Joined: 2011-09-30
Reputation: 406

I figured out a way to do this very quickly. I'm sending the converted BIN file via
separate e-mail.

Joe

Joe Huang

Joe Huang's picture
Offline
Joined: 2011-09-30
Reputation: 406