[Equest-users] Editing DOE-2.1e/eQuest Weather Files
Joe Huang via Equest-users
equest-users at lists.onebuilding.org
Thu Sep 8 11:31:02 PDT 2016
Please note that the utility program names Chris mentioned are those in DOE-2.1E and
before. The program names on the doe2.com web site have been changed, although the
programs are the same:
wthfmt2.f == BIN2TXT (goes from *.bin to *.fmt)
fmtwth2.f == TXT2BIN (goes from *.fmt to *.bin)
Both of these are compiled Fortran programs, so you would have to run them in a Command
Line window (horrors!), in which the programs expect the *.bin file to be called
WEATHER.BIN and the *.fmt file to be called WEATHER.FMT. In addition, ftmwth2 needs a
single line INPUT.TMP file telling the program whether the *.bin file has solar data or
not (99.9% of the instances now always "yes" but in the early days DOE-2 would calculate
the solar using very old routines in case the weather file didn't have it). To automate
the renaming of files and generating the INPUT.TMP, the doe2.com web site provides two
MS-DOS batch scripts MKAFT.BAT and PKAFT.BAT. These are essentially the same as the two
MS-DOS batch scripts I use, except for the changed names of the two programs:
dowthfmt.bat:
copy ..\Packed\%1.bin WEATHER.BIN
wthfmt2
move WEATHER.FMT ..\unpacked\%1.fmt
erase WEATHER.BIN
to run, just type "dowthfmt [bin file name without the *.bin extension]"
(this assumes that the %1.bin file is in the ..\Packed\ directory
dofmtwth.bat:
if %2 == S echo 2 5 > FMTWTH.INP
if %2 == NS echo 2 2 > FMTWTH.INP
copy ..\Unpacked\%1.fmt WEATHER.FMT
fmtwth2
move WEATHER.BIN ..\Packed\%1.BIN
erase WEATHER.*
to run, type "dofmtwth [weather file name without the *.fmt extension] S"
(S indicates the weather file contains solar, this assumes that the %1.fmt file is in the
..\Unpacked\ directory)
If you continue to have problems with getting things to work, you can also download my
original copies of wthfmt2 and fmtwth2 at
http://www.whiteboxtechnologies.com/WEATHER_UTILITIES/wthfmt2_fmtwth2.zip
Joe
Joe Huang
White Box Technologies, Inc.
346 Rheem Blvd., Suite 205A
Moraga CA 94556
yjhuang at whiteboxtechnologies.com
http://weather.whiteboxtechnologies.com for simulation-ready weather data
(o) (925)388-0265
(c) (510)928-2683
"building energy simulations at your fingertips"
On 9/8/2016 5:31 AM, Chris Jones via Equest-users wrote:
>
> The weather processor files and documentation can be downloaded from this site:
>
> http://doe2.com/index_Wth.html
>
> **
>
> *Christopher Jones, P. Eng.*
>
> *Rowan Williams Davies & Irwin Inc.*
> /Consulting Engineers & Scientists/
> 901 King Street West, Suite 400, Toronto, Ontario, M5V 3H5
> *T:* (519) 823-1311 ext 2052
>
> *M:*(416) 697-0056
>
> *From:*Equest-users [mailto:equest-users-bounces at lists.onebuilding.org] *On Behalf Of
> *José Luis Bermúdez Alcocer via Equest-users
> *Sent:* Wednesday, September 07, 2016 7:31 PM
> *To:* via Equest-users
> *Subject:* Re: [Equest-users] Editing DOE-2.1e/eQuest Weather Files
>
> Dear Mr. Powers,
>
> Thank you for your response! How can I get a copy of the FMTWTH program?
>
> Kind regards,
>
> José Luis Bermúdez Alcocer, Ph.D., M.Arch., B.Arch.
>
> El Martes, 6 de septiembre, 2016 14:28:31, Aaron Powers via Equest-users
> <equest-users at lists.onebuilding.org <mailto:equest-users at lists.onebuilding.org>> escribió:
>
> Jose,
>
> You've probably run into a 3rd party custom tool which isn't part of the standard DOE2
> package. It shouldn't be the reason for your errors. These tools are fairly common and
> would probably be used in the following scenario:
>
> 1. You have actual hourly drybulb, pressure, and wetbulb data that you would like to put
> into a custom DOE2 weather file.
>
> 2. DOE2 weather files have records for drybulb, pressure, wetbulb, humidity ratio, air
> density, and enthalpy among other things. Technically, you only need 3 of these to set
> the state of the air for an hour, but the program doesn't do this calculation for you,
> so you need to make sure that they correspond to the same state before you pack the
> weather file.
>
> 3. You use some pscychrometric tool to take your hourly drybulb, pressure, and wetbulb
> data and calculate the corresponding humidity ratio, density, and specific enthalpy.
>
> 4. Run FMTWTH program to pack the weather file to binary form.
>
> I would recommend taking a look at something like Elements from BigLadder Software which
> does most of this for you in a spreadsheet style view. Or look into purchasing custom data.
>
> Also, eQuest runs DOE2.2 and DOE2.3, but the weather format hasn't changed from 2.1.
>
> Aaron
>
>
> To whom it may concern,
>
> I am trying to edit a DOE-2.1e/eQuest weather file. The instructions pointed the use of
> an Excel file called "Custom_eQuest_Weather_data. xls" and another file called
> "PSYCH.xla". In fact, there is a previous post with the same problem:
>
> Editing eQuest Weather Files | Energy-Models.com
> <http://energy-models.com/forum/editing-equest-weather-files#comment-9893>
>
>
>
>
>
>
>
>
>
>
>
> Editing eQuest Weather Files | Energy-Models.com
> <http://energy-models.com/forum/editing-equest-weather-files#comment-9893>
>
> Hi, I'm working on a calibrated energy model using eQuest. The client has specified that
> they would like weather data for this model to be taken recently from a local weather
> station.
>
>
>
>
>
> Ver en *energy-models.com*
> <http://energy-models.com/forum/editing-equest-weather-files#comment-9893>
>
>
>
> Vista previa por Yahoo
>
>
>
>
>
>
>
>
>
>
>
>
>
> I realized that there are no "Custom_eQuest_Weather_data. xls" and "PSYCH.xla" files in
> the DOE22WeatherUtilities.zip from DOE2.com. I followed the instructions until I hit on
> a wall once I tried to pack a new weather file through the PKAFT.bat. Once I ran the
> PKAFT.bat, I got an error, and the new BIN file appeared empty. My first idea is that
> the lack of the "Custom_eQuest_Weather_data. xls" file is bringing me this problem. The
> columns in the second FT file have lots of space between them, and do not look like the
> original FT file. Can I get a copy of this file from DOE2.com or any other source? Any
> comments will be highly appreciated!
>
> Kind regards,
>
> Jose Luis Bermudez Alcocer, Ph.D., M.Arch., B.Arch.
>
>
> _______________________________________________
> Equest-users mailing list
> http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org
> To unsubscribe from this mailing list send a blank message to
> EQUEST-USERS-UNSUBSCRIBE at ONEBUILDING.ORG <mailto:EQUEST-USERS-UNSUBSCRIBE at ONEBUILDING.ORG>
>
> ------------------------------------------------------------------------------------------
> RWDI - One of Canada's 50 Best Managed Companies - This communication is intended for
> the sole use of the party to whom it was addressed and may contain information that is
> privileged and/or confidential. Any other distribution, copying or disclosure is
> strictly prohibited. If you received this email in error, please notify us immediately
> by replying to this email and delete the message without retaining any hard or
> electronic copies of same. Outgoing emails are scanned for viruses, but no warranty is
> made to their absence in this email or attachments. If you require any information
> supplied by RWDI in a different format to facilitate accessibility, contact the sender
> of the email, email solutions at rwdi.com or call +1.519.823.1311.
> ------------------------------------------------------------------------------------------
>
>
> _______________________________________________
> Equest-users mailing list
> http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org
> To unsubscribe from this mailing list send a blank message to EQUEST-USERS-UNSUBSCRIBE at ONEBUILDING.ORG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20160908/09f2a424/attachment-0005.htm>
More information about the Equest-users
mailing list