UtilityRegressionCode.m - chilledBTU =...

This preview shows page 1 out of 1 page.

chilledBTU = xlsread('BuildingEnergyData.xlsx','Hillman','B2:B35043'); totalBTU = xlsread('BuildingEnergyData.xlsx','Hillman','C2:C35043'); electric = xlsread('BuildingEnergyData.xlsx','Hillman','F2:F35043'); hotBTU = xlsread('BuildingEnergyData.xlsx','Hillman','G2:G35043'); WeatherTemp =xlsread('WeatherData.xlsx','Sheet1'); calculate daily kWh j = 1; divide = 4; for i = 1:35042; if electric(i) == 'NaN' electric(i) == 0; end end for i = 1:35038; divide = 4; for k = 1:4 if electric(i+k) == 0 divide = divide - 1; end end if rem(i,4) == 1
Image of page 1
  • Spring '14
  • Michels
  • Calculation, Calculating demand forecast accuracy

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern