[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EnergyPlus_Support] Custom EPW Conversion Issue
Hi Everyone!
Just wanted to ask about an issue I'm having converting my custom .csv file into a workable EPW. My .csv file is of there format:
"
1/1/14,00:00,6.524,78.5,2.375,202.5,0,0,0,1004
1/1/14,01:00,6.524,78.5,2.375,202.5,0,0,0,1004
1/1/14,02:00,6.987,78.1,1.871,225,0,0,0,1004
1/1/14,03:00,7.05,76.7,1.825,202.5,0,0,0,1004
1/1/14,04:00,7.17,74.2,2.046,225,0,0,0,1004
1/1/14,05:00,7.75,71.4,2.467,202.5,0,0,0,1003
1/1/14,06:00,7.76,75.1,3.017,202.5,0,0,0,1002
1/1/14,07:00,8.18,72.7,2.4,202.5,0,0,0,1000
1/1/14,08:00,8.12,76.4,2.842,180,0,0,0,999
1/1/14,09:00,8,78.2,4.346,180,7.8,0,0,997
"
with an associated .def file that reads:
"
&location
City=Cardiff
StateProv=Cardiff
Country=GBR
InWMO=037150
InLat=51.49
InLong=-3.18
InElev=65
InTime=0
/
&wthdata
NumInHour=1
InputFileType='CUSTOM'
InFormat='DELIMITED'
DataElements=Date,HH:MM,Dry Bulb Temperature,Relative Humidity,Wind Speed,Wind Direction,Global Horizontal Radiation,Direct Normal Radiation,Liquid Precipitation Depth,Atmospheric Pressure
DataUnits='mm/dd/yyyy','hh:mm','C','%','km/h','deg','Wh/m2','Wh/m2','cm','hPa'
DataConversionFactors=1,1,1,1,1,1,1,1,1,1
DelimiterChar=','
DateSeparator='/'
/
&datacontrol
MaxNumRecordsToRead=8760
/
"
When I run the weather converter, it runs fine, but it seems to not be reading each individual line properly. I get an error that reads:
"Field Number= 10 Field Name=atmospheric pressure Bad Number="1004
1/1/14" Day Number= 1 Month= 1 Day= 1 Hour= 0"
It seems to me that the converter is not recognizing line breaks in my .csv, and taking the 10th data point to read as "10041/1/14" when it should be read as "1004" with the "1/1/14" date as the start of the next line.
Nonetheless, when I open the EPW, no data past the first day has been recorded, but I still have monthly averages and stuff recorded. Any advice on how to fix this issue?
Thanks,
Zach
__._,_.___
Posted by: lewisza1@xxxxxxxxxxxxx
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.
__,_._,___