[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [EnergyPlus_Support] how to create a custom weather data file for energy plus





Hi,Joe,

     I tested it, it works now, thank you so much for your help and your precious time. 

Regards

Jallen
.


2013/10/1 Joe Huang <yjhuang@xxxxxxxxxxxxxxxxxxxxxxxx>
It took me some time to determine what was going on, but I've figured it out.   There are 2 problems in what you did:
1) When you convert from a CSV version of EPW, you don't need a *.def, and in fact I couldn't get your file to work until I got rid of the *.def file.
2) In your edited version of the CSV file, the file dates on Line 17 are garbled; they should be 1/ 1, 12/31,  etc.

Make that correction, and then when you convert the file back to EPW, click on Override Default Type and then select the Data Type and select "EnergyPlus Comma Separated Variable (CSV) format".

Then, proceed with the conversion.  It worked for me (see attached).


Joe
Joe Huang
White Box Technologies, Inc.
346 Rheem Blvd., Suite 108D
Moraga CA 94556
yjhuang@xxxxxxxxxxxxxxxxxxxxxxxx
http://weather.whiteboxtechnologies.com for simulation-ready weather data
(o) (925)388-0265
(c) (510)928-2683
"building energy simulations at your fingertips"

On 1/10/2013 10:38 AM, Jinqing Peng wrote:
 
Hi,Joe,

     Thanks for your reply. The base file is "CHN_Hong.Kong.SAR.450070_CityUHK.epw", which was download from the weather data center of energyplus. I converted the file of "CHN_Hong.Kong.SAR.450070_CityUHK.epw" into "CHN_Hong.Kong.SAR.450070_CityUHKEPW.csv" by weather converter. In the "CHN_Hong.Kong.SAR.450070_CityUHKEPW.csv" file, i made some modification (changed the dates and some weather data, such as drybulb T, dew point T, humidity, Atmos Pressure,Global Horizontal Radiation, Direct Normal Rad ,Diffuse Horizontal Rad, wind speed and wind direction)  to this file and then saved it as"CHN_Hong.Kong.SAR.450070_PolyUHKEPW.csv". 

Attached please find the base file
(CHN_Hong.Kong.SAR.450070_CityUHK.epw, CHN_Hong.Kong.SAR.450070_CityUHKEPW.csv), 
my revised .csv file (CHN_Hong.Kong.SAR.450070_PolyUHKEPW.csv) and the associated .def file (CHN_Hong.Kong.SAR.450070_PolyUHKEPW.def). Please help me check them, thanks.

Regards

Jallen


2013/10/1 Joe Huang <yjhuang@xxxxxxxxxxxxxxxxxxxxxxxx>
Where did you get the base file CHN_Hong.Kong.SAR.450070_PolyUHKEPW.csv ?   It's impossible to tell what's wrong without seeing your base file and the DEF file. You can send those to me for a look.

Joe
Joe Huang
White Box Technologies, Inc.
346 Rheem Blvd., Suite 108D
Moraga CA 94556
yjhuang@xxxxxxxxxxxxxxxxxxxxxxxx
http://weather.whiteboxtechnologies.com for simulation-ready weather data
(o) (925)388-0265
(c) (510)928-2683
"building energy simulations at your fingertips"

On 30/09/2013 4:08 PM, jallenpeng@xxxxxxxxx wrote:
 

Hi, all


     I want to create a custom weather data file for energyplus simulstion. Firstly, I created a weather data file "CHN_Hong.Kong.SAR.450070_PolyUHKEPW.csv" and an associated .def file"CHN_Hong.Kong.SAR.450070_PolyUHKEPW.def".Then, i use the weather converter program to convert the .csv file to .epw file. Here were the steps i used:

1.click Select File to Convert and select the data file
2.click Override Default Type,  select the first option "Custom Data Format (requires DEF File)", and hit OK.  
3. click Select Output Format (automatically shows EPW)
4. click Save File As and then hit either OK or change the file name. I generally just tell it to use the same file name, but with the EPW extension.

Then, a error was occured. I opened the .audit file to see what was the problem. It was shown that:

Note ** Definitions taken from associated "def" file.
 Custom File Processing Details
 Custom File, Number of Fields=
11
 Delimited input, Delimiter Character=","
 Input Name Skip Field (t/f) Used by EnergyPlus Conversion Factor Field (from) First Record (before conversion

minimum value maximum value
missing value
 year
F n
1.000 [3]
N/A N/A
-999999.0
 month
F y
1.000 [0.5]
1 12
-999999.0
 day
F y
1.000 []
1 31
-999999.0

I don't know what is wrong wit it. Could anybody kindly help me to fix this problem? maybe i can send both of the two files to you for checking or testing. Thanks in advance.

Jallen 

PolyU, Hong Kong





__._,_.___


Primary EnergyPlus support is found at:
http://energyplus.helpserve.com or send a message to energyplus-support@xxxxxxxx

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 currently allowed but be mindful that not everyone has a high speed connection.  Limit attachments to small files.

EnergyPlus Documentation is searchable.  Open EPlusMainMenu.pdf under the Documentation link and press the "search" button.




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___