CenterForTheBuiltEnvironment / clima

The CBE Clima Tool is a web-based application built to support the need of architects and engineers interested in climate-adapted design. It allows users to analyze the climate data of more than 27,500 locations worldwide using the data contained in EPW files.
https://clima.cbe.berkeley.edu
MIT License
60 stars 18 forks source link

HDD calculation #106

Open FedericoTartarini opened 3 years ago

FedericoTartarini commented 3 years ago

For Bologna, I do not think our results match the climate.onebuilding results.

HDD for 10°C baseline with our tool = 730 HDD for 10°C baseline Onebuilding = 673

image

image from this file bologna.txt

Ericlee0128 commented 1 year ago

@FedericoTartarini Hi Federico, to verify that Bologna's HDD calculations were accurate. I went to Climate.OneBuilding. Org, downloaded the Bologna EPW and opened the CBE Clima tool and uploaded this EPW file and I calculated the total HDD results. Then, on this CBE Clima tool, I selected the Bologna EPW file and again calculated the results for the total HDD. I compared these two results and found them both to be the same. I would like to check with you if this has been solved, thanks!

Snipaste_2023-04-10_19-58-46 Snipaste_2023-04-10_20-03-34
FedericoTartarini commented 1 year ago

I apologize for not making this 100% clear, but unfortunately, this is not the issue I was mentioning.

The issue is that if you open the .zip climateorg file you downloaded with from here, inside there is a file with ends with stat (ITA_ER_Bologna-Marconi.AP.161400_TMYx.stat).

Open this file with either NotePad or Excel you will find a table in it showing the heating degree day.

image

This is the value that does not match the results of the Clima tool. Please let me know if this is clear now.

Ericlee0128 commented 1 year ago

I apologize for not making this 100% clear, but unfortunately, this is not the issue I was mentioning. The issue is that if you open the .zip climateorg file you downloaded with from here, inside there is a file with ends with stat (ITA_ER_Bologna-Marconi.AP.161400_TMYx.stat). Open this file with either NotePad or Excel you will find a table in it showing the heating degree day. image This is the value that does not match the results of the Clima tool. Please let me know if this is clear now.

Hi Federico, thanks for the explanation, I misunderstood it a bit before. I would like to double check, I noticed that the STAT file has two HDDs "Monthly Standard Heating/Cooling Degree Days/Hours" and "Monthly Weather File Heating/Cooling Degree Days/Hours", which one should I use. Thanks!

FedericoTartarini commented 1 year ago

Very good point. Thank you for noticing this. I do not know what is the difference between the two. It would be amazing if you could look into it and let me know if you find the reason they provide to sets of values.

danielh7-cs9 commented 1 year ago

I believe there are two HDD value sets based on the following which is stipulated in the stat file. The "Monthly Standard Heating/Cooling Degree Days/Hours" values are being calculated off the 2021 ASHRAE design conditions. image

Where as the "Monthly Weather File Heating/Cooling Degree Days/Hours" HDD values are solely calculated off the weather data source.

image

FedericoTartarini commented 1 year ago

Great, so I then believe we should compare our results with the Monthly Weather File Heating since we only have access to this dataset.

danielh7-cs9 commented 1 year ago

Hey @FedericoTartarini, Eric and I have been wrapping our heads around quite a bit, but so far are unable to identify where the calculation error may be with the clima code: image

I've researched but I am unable to ascertain the formula climate.onebuilding is using to calculate the HDD and CDD values.

FedericoTartarini commented 1 year ago

Thank you for looking into this. @giobetti shall we contact Dru and ask him if he knows how these values are calculated in the OneBuilding files?

danielh7-cs9 commented 1 year ago

Thank you for looking into this. @giobetti shall we contact Dru and ask him if he knows how these values are calculated in the OneBuilding files?

Hi Federico, just checking if you've received any response here?

FedericoTartarini commented 1 year ago

No unfortunately.