Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monthly average hourly load profiles displaying incorrect information #32

Open
shorowit opened this issue Sep 25, 2017 · 0 comments
Open

Comments

@shorowit
Copy link
Collaborator

Posted at https://beopt.nrel.gov/node/935:

I love the 'Profile' function in Dview that allows quick creation of the average hourly load profile for each month of the year.

However I have sometimes had issues where I'm not sure it is displaying the correct average values. I have a good example of this for a project I'm working on currently. I have a client's hourly energy consumption data and want to look at the monthly average load profiles. I noticed particularly in July, August & September, the 2016 profile is significantly depressed compared to the 2015 profile. However looking at the overall average daily consumption for each month/year, this didn't make sense, as the months had similarly high overall usage each year.

month-avg-kwh-day

I took the same data and used Excel's PivotTable function to create average hourly values for each month of each year and plotted them using Excel's graphs. As I thought, when I did this, the profiles track much more closely, I trust these numbers as I've done a lot of checking of them in Excel. Particularly in July and September, where the values are very close to each other for both years of data.

dview-vs-pivot-jul-sep-15-16

Whereas the values in the profile from DView seem to indicate that the consumption for 2016 would be roughly one-third of that in 2015. This is clearly incorrect. Interestingly, the shape of the graph is the same as the correct profile from Excel, it just seems to be somehow the magnitude of the values are scaled down, to approximately one-third of what they should be.

I've attached relevant spreadsheets, graph screenshots and csv files. Any ideas? Looks to me as if Dview is calculating the values as one-third of what they should be for one of the data series. Annoying as it's otherwise an incredibly useful and fast function - while I can do the same thing in Excel with Pivot Tables, it's a lot slower to do so.

myr-example-Dview-problem.xlsx

Myr-hourlykWh-csv-2015.csv.txt

Myr-hourlykWh-csv-2016.csv.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants