{"id":2028,"date":"2017-02-22T14:58:01","date_gmt":"2017-02-22T19:58:01","guid":{"rendered":"https:\/\/blogs.mathworks.com\/iot\/?p=2028"},"modified":"2017-02-22T14:58:01","modified_gmt":"2017-02-22T19:58:01","slug":"cadmus-analyzes-iot-data-with-matlab","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/iot\/2017\/02\/22\/cadmus-analyzes-iot-data-with-matlab\/","title":{"rendered":"Cadmus Collects and Analyzes IoT Data Using MATLAB and ThingSpeak"},"content":{"rendered":"<p>The Internet of Things (IoT) enables power producers, public utilities, and other companies in the energy sector to collect energy power consumption data from hundreds of factories and thousands of homes in near real time. This wealth of information has opened opportunities to evaluate energy efficiency initiatives, predict power demand, and perform energy audits.<\/p>\n<p>Consulting firm <a href=\"http:\/\/www.cadmusgroup.com\/\" target=\"_blank\">Cadmus<\/a> provides full-spectrum energy-efficiency support services to energy utilities throughout North America. These services include studies of energy use that require extensive data collection and analysis.<\/p>\n<p><a href=\"https:\/\/www.mathworks.com\/company\/user_stories\/cadmus-collects-and-analyzes-energy-data-in-near-real-time-using-matlab-and-the-thingSpeak-internet-of-things-platform.html\"><img decoding=\"async\" loading=\"lazy\" width=\"640\" height=\"960\" class=\"aligncenter size-full wp-image-2029\" src=\"https:\/\/blogs.mathworks.com\/iot\/files\/2017\/02\/Cadmus.jpg\" alt=\"\" \/><\/a><\/p>\n<p>To make the most of the opportunities presented by the IoT, Cadmus engineers used MATLAB<sup>\u00ae<\/sup> and the <a href=\"https:\/\/thingspeak.com\">ThingSpeak\u2122 IoT platform<\/a> to develop a workflow for collecting, storing, analyzing, visualizing, and interpreting data from sensors in homes and businesses distributed across wide geographic areas.<\/p>\n<p>\u201cIn just a few months, we implemented a new service that measures and analyzes temperature and humidity changes in dozens\u2014and soon hundreds\u2014of homes,\u201d says Dave Korn, vice president of engineering at Cadmus. \u201cWithout MATLAB and ThingSpeak, we would still just be talking about it. Instead, we\u2019re already pitching this service to utilities. That is a huge competitive advantage for our company.\u201d<\/p>\n<h3>Solution<\/h3>\n<p>Cadmus used MATLAB and ThingSpeak to develop and deploy two systems of cloud-connected sensors for the near-real-time measurement and analysis of energy data, while establishing a workflow for rapidly implementing similar systems.<\/p>\n<p>The first system, designed for an energy efficiency study of residential homes, used custom sensors to send temperature, relative humidity, and device battery voltage measurements to ThingSpeak every five minutes. The second, designed to monitor loads of HVAC systems and large appliances, used off-the-shelf home automation hardware to send power usage data, captured at residential circuit breakers and individual outlets, every minute.<\/p>\n<p>Using the ThingSpeak web application, the engineers created new channels to collect data from the sensors and to quickly verify that each new sensor added to the system was reliably sending data.<\/p>\n<p>Working in MATLAB, the team analyzed the collected data, using standard statistical techniques to identify outliers and calculate means and standard deviations. For example, they calculated and plotted power load profiles by the hour and correlated the load data with weather data from an outside source.<\/p>\n<p>They created a variety of data visualizations, including interactive maps, which they shared with clients and prospects.<\/p>\n<p>Cadmus engineers are currently using MATLAB and Statistics and Machine Learning Toolbox\u2122 to develop predictive algorithms based on machine learning and advanced classification and regression techniques. These algorithms are designed to predict and model load based on weather conditions and sensor data collected via ThingSpeak.<\/p>\n<p><a href=\"https:\/\/www.mathworks.com\/company\/user_stories\/cadmus-collects-and-analyzes-energy-data-in-near-real-time-using-matlab-and-the-thingSpeak-internet-of-things-platform.html\"><img decoding=\"async\" loading=\"lazy\" width=\"640\" height=\"360\" class=\"aligncenter size-full wp-image-2030\" src=\"https:\/\/blogs.mathworks.com\/iot\/files\/2017\/02\/predictive-algorithms-thingspeak.jpg\" alt=\"\" \/><\/a><\/p>\n<h3>Results<\/h3>\n<div>\n<div class=\"containsResourceName mainParsys4 parsys resourceClass-parsys\">\n<div class=\"containsResourceName section text resourceClass-text\">\n<div class=\"mw-text  \">\n<ul>\n<li><b>Market opportunity seized<\/b>. \u201cIn our industry, many utilities are looking to design better energy efficiency programs and to lower the costs of those programs,\u201d says Korn. \u201cMATLAB and ThingSpeak enabled us to develop solutions rapidly, which meant we could capitalize on these demands this fall. Without MATLAB and ThingSpeak we would have had to wait until spring and miss numerous opportunities in the market.\u201d<\/li>\n<li><b>Development effort cut by two-thirds<\/b>. \u201cWith MATLAB and ThingSpeak, our team of five engineers was collecting and analyzing data in a matter of months. We could not have met our deadlines without them,\u201d says James Kennedy, energy analyst at Cadmus. \u201cWith other tools we would probably have needed 15 engineers to complete the work in the same time amount of time\u2014if we could have done it at all.\u201d<\/li>\n<li><b>Sensor networks quickly deployed<\/b>. \u201cOn our first project with ThingSpeak, it took just over three months to implement a network that we quickly scaled from 50 operational sensors to 500,\u201d says Kennedy. \u201cIn a very short period we had another complete network set up and collecting data, and that one was deployed at an even faster rate than the first.\u201d<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/iot\/files\/2017\/02\/Cadmus.jpg\" onError=\"this.style.display ='none';\" \/><\/div>\n<p>The Internet of Things (IoT) enables power producers, public utilities, and other companies in the energy sector to collect energy power consumption data from hundreds of factories and thousands of&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/iot\/2017\/02\/22\/cadmus-analyzes-iot-data-with-matlab\/\">read more >><\/a><\/p>\n","protected":false},"author":148,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[210,209,247,246],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts\/2028"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/users\/148"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/comments?post=2028"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts\/2028\/revisions"}],"predecessor-version":[{"id":2031,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts\/2028\/revisions\/2031"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/media?parent=2028"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/categories?post=2028"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/tags?post=2028"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}