You don't work directly with the *.BIN file. There
is the doewth program that comes with DOE-2 that
packs, i.e., converts from a standard weather file
format, such as TMY2, WYEC2, etc., to a *.BIN file.
I believe the WeatherConverter program in
EnergyPlus has similar capabilities.
If you want to look at or change the contents of a
*.BIN file, there are also two simple
programs,
fmtwth2 and wthfmt2 (written by Fred!), that
convert the *.BIN format to a redable *.FMT format, and back again.
However, I do not recommend writing a *.FMT file
from scratch, since you will then have to calculate such
variables as wet-bulb temperature, absolute
humidity, and enthalpy, in addition to adding the solar.
The approach I took was driven by the need to add
solar values to raw data that did not have any measured solar.
Consequently, I first put the raw data into the TMY2 format, pack them into *.BIN files
with no solar,
and then used DOE-2 to calculate the solar angles
and run the empirical solar models to calculate
the global horizontal and direct normal radiation,
that were then spliced into either the *.TMY2 or *.FMT files.
The *.TMY2 files were then converted to *.EPW, and
the *.FMT to *.BIN.
If you are working with measured solar, then you
don't need the second step, and can go directly from
the raw data to either a *.EPW using the
WeatherConverter or a *.BIN file using doewth.
Joe
----- Original Message -----
Sent: Thursday, December 04, 2008 5:06
PM
Subject: [EnergyPlus_Support] Re: Solar
radiation components in Bin weather file
Thank you all for the guidence, Joe, Fred, and Linda.
DOE-2 *.BIN
seems to be a binary format which could not be edited via a text editor
straightforward in my brain. So I chose the epw format as the bridge.
Am I missing some tool used to edit the bin file
directly?
Eric
--- In EnergyPlus_Support@yahoogroups.com,
"Joe Huang" <joe@...> wrote: > > Eric, > >
If measured solar data is available, then by all means you should get
it. > However, make sure first that the weather bureau is indeed
providing measured > radiation, and not calculating it from other
parameters, since recording solar > radiation is not standard
operating practice for typical weather stations. If > you can get
measured solar, consider yourself very lucky. > > The only
critical measured radiation values are the global horizontal, and the
direct > normal radiation. Everything else can be calculated from these
two. > If your weather bureau can provide only the global horizontal,
you will need to use > a model to do the direct/diffuse split.
> > The DOE-2 *.BIN file contains just the global horizontal and
direct normal. > I'm surprised you're thinking of creating an EPW
and then translating it to BIN. > I've been doing the opposite -
create first a "bare bones" *.BIN file, and then > filling out the
additional data needed for an EPW. > > Joe Huang > White
Box Technologies, Inc. > > ----- Original Message ----- >
From: eric_zhou1223 > To: EnergyPlus_Support@yahoogroups.com
> Sent: Wednesday, December 03, 2008 9:52 PM > Subject:
[EnergyPlus_Support] Solar radiation components in Bin weather
file > > > All, > > I am planning to buy
weather data from weather bureau to create our own > customized epw
weather file for a location. Then the epw file will be > changed to
bin format for DOE2 use. In epw weather file, included are > Global
horizontal Solar Radiation, Direct Normal Radiation, Diffuse >
Horizontal Radiation. I would think three items impact on the results.
> How about the BIN file? Is it enough to get the Global horizontal
Solar > Radiation only for the BIN format? > > There are
two options for me: > 1) Get Global horizontal Solar Radiation data and
leave the other two > alone; > 2) Buy global horizontal and
direct normal radiation. We then calculate > the third one. >
> Does anyone have any idea of it? Which way is better to go. Any
input > is much appreciated. > >
Eric >
__._,_.___
The primary EnergyPlus web site is found at:
http://www.energyplus.gov
The group web site is:
http://groups.yahoo.com/group/EnergyPlus_Support/
Attachments are not allowed -- please post any files to the appropriate folder in the Files area of the Support Web Site.
EnergyPlus Documentation is searchable. Open EPlusMainMenu.pdf under the Documentation link and press the "search" button.
__,_._,___
|