29.09.2014 Views

Casestudie Breakdown prediction Contell PILOT - Transumo

Casestudie Breakdown prediction Contell PILOT - Transumo

Casestudie Breakdown prediction Contell PILOT - Transumo

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ar([dailydate(1):dailydate(length(stdvector))], stdvector, 'k');<br />

datetick('x',20, 'keeplimits');<br />

title ({'Standard Deviation per Day'; strcat('(',<br />

num2str(round(totalmean*10)/10), '°C Mean Value)')});<br />

xlabel 'Date';<br />

ylabel 'Temperature (°C)';<br />

axis([dailydate(1) dailydate(length(stdvector)) min(stdvector)<br />

max(stdvector)]);<br />

print('-dtiff', strcat(path, 'Graphs\', filename, '- Standard Deviation per<br />

Day.tif'));<br />

%Standard Deviation at Daytime<br />

bar([dailydate(1):dailydate(length(stddaytime))], stddaytime, 'k');<br />

datetick('x',20, 'keeplimits');<br />

title ({'Standard Deviation at Daytime'; strcat('(',<br />

num2str(round(totalmean*10)/10), '°C Mean Value)')});<br />

xlabel 'Date';<br />

ylabel 'Temperature (°C)';<br />

axis([dailydate(1) dailydate(length(stdvector)) min(stdvector)<br />

max(stdvector)]);<br />

print('-dtiff', strcat(path, 'Graphs\', filename, '- Standard Deviation at<br />

Daytime.tif'));<br />

%Standard Deviation at Nighttime<br />

bar([dailydate(1):dailydate(length(stdnighttime))], stdnighttime, 'k');<br />

datetick('x',20, 'keeplimits');<br />

title ({'Standard Deviation at Nighttime'; strcat('(',<br />

num2str(round(totalmean*10)/10), '°C Mean Value)')});<br />

xlabel 'Date';<br />

ylabel 'Temperature (°C)';<br />

axis([dailydate(1) dailydate(length(stdvector)) min(stdvector)<br />

max(stdvector)]);<br />

print('-dtiff', strcat(path, 'Graphs\', filename, '- Standard Deviation at<br />

Nighttime.tif'));<br />

%Temperature Distribution<br />

bar(min(totalOC(:,1)):0.1:max(totalOC(:,1)), totalOC(:,2), 'k')<br />

title 'Total Occurence of Temperature Values';<br />

xlabel 'Temperature (°C)';<br />

ylabel 'Time (Minutes)';<br />

axis([totalOC(1,1) totalOC(length(totalOC),1) min(totalOC(:,2))<br />

max(totalOC(:,2))]);<br />

print('-dtiff', strcat(path, 'Graphs\', filename, '- Total Occurence of<br />

Temperature Values.tif'));<br />

%If Doorsensor is installed...<br />

if max(dailydooropenings) > 0;<br />

%Dooropenings per Day<br />

bar([dailydate(1):dailydate(length(dailydooropenings))],<br />

dailydooropenings, 'k');<br />

datetick('x',20, 'keeplimits');<br />

title 'Dooropenings per Day';<br />

xlabel 'Date';<br />

ylabel 'Number of Dooropenings';<br />

axis([dailydate(1) dailydate(length(dailydooropenings))<br />

min(dailydooropenings) max(dailydooropenings)]);<br />

print('-dtiff', strcat(path, 'Graphs\', filename, '- Dooropenings per<br />

Day.tif'));<br />

%Dooropenings at Daytime<br />

A-125

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!