Lesson 1: Describing Sensor Data
Why the average of a machine that is on or off describes neither state, and what to report with it.
Say something true about a year of sensor readings: one sentence with a number, a range and a method. Ten lessons on the readings of a cold room, a building, a borehole pump and a compressor.
A report says the compressor averaged 0.34 kW, and a backup supply sized for 0.34 kW trips at the first start: the compressor draws 1.16 kW or almost nothing. Two loggers on the same machine report 6.9 and 9.6 kWh for one day. A contractor reports a saving of 23 percent, and a year later the bills are back, because nearly half of it was a cool season. An inspector puts the stock on hold for two hours at 5.09 °C; the sensor had stopped, and the logger wrote its last value 120 times.
In this course you work with the readings of four sites, each made inside the lesson. You describe the readings, build a baseline, find the day something changed, and measure a saving with its range. The last lesson turns two years of a building's readings into one sentence: 11.5 percent, 10.8 to 12.1, where a plain comparison said 22.8.
1Describe it firstOne day of compressor power has two peaks. The mean, 0.337 kW, is a power it never draws.
2Model what it should useA base load of 306.6 kWh, 41.61 kWh a degree day, and 182.1 more on a weekday.
3Date the changeThe cumulative sum turns on day 35: a leak of 0.90 m³/h in the night flow.
4Claim it with a range11.5 percent, 10.8 to 12.1, over 230 days, against a weather-adjusted baseline.New to this? New to statistics? Start with lesson 1: why the average of an on-off machine describes neither state.
You need A computer with Python, numpy, scipy and matplotlib. Every data set is made in the lessons.
Months of numbers, one honest sentence: baselines, change detection, and a range you can defend.
A finding is not one average with many decimals. Each number says what was measured, and how far it can be trusted.
The test: were the two periods alike?
The test: does the baseline hold on a period with no change?
Honest limits. This is not a course in mathematical statistics; proofs are left to the textbooks named in each lesson. A range covers random variation, not a sensor offset or a future change. A record kept beyond the site can raise the alert; the thermostat and the controls on site still make the switching decisions.
A year of readings from a cold room is half a million numbers, and the manager wants one sentence. Most first attempts at that sentence are wrong in the same few ways: an average that hides the problem, a saving that is really the weather, a confidence that the data cannot support. This course is about turning sensor data into a claim you can defend. #Statistics #TimeSeries #EnergyBaseline
It uses four data sets from the kind of sites we measure: a cold room, a building, a borehole pump and a compressor. Each is generated inside the lesson’s own script, so you get exactly the printed numbers and need no downloads.
A computer with Python, and three libraries.
pip install numpy scipy matplotlibLesson 1: Describing Sensor Data
Why the average of a machine that is on or off describes neither state, and what to report with it.
Lesson 2: Sampling Intervals and Aggregation
What a logged value means, how fast to sample, and what a slow log misses.
Lesson 3: How Sure Is an Average?
Put an honest range on a mean when readings a minute apart are not independent.
Lesson 4: Baselines: Energy Against Weather and Production
Build the model that says what a site should have used.
Lesson 5: Control Charts: Is This Normal?
Tell an ordinary bad day from a real change.
Lesson 6: Finding a Step and a Drift
Date the day a leak began, and measure a slow wear.
Lesson 7: Daily and Weekly Patterns
Draw the typical day and week, and compare like with like.
Lesson 8: Before and After: Was There a Saving?
Measure a saving against an adjusted baseline, with its range.
Lesson 9: Gaps, Flatlines and Outliers
Find bad data, flag it, and never fill a gap dishonestly.
Lesson 10: From a Year of Data to One Finding
The method from raw readings to one sentence with a number and its range.
This is not a course in mathematical statistics. Proofs are left to the textbooks named in each lesson. Each method comes with its assumptions and with what happens when sensor data breaks them.
Engineers and researchers who build what they teach.
SiliconWit makes these courses. We also run siliconwit.io, a monitoring service.