SF State University Is Working on IoT-Driven Watering to Fight Droughts

An engineering team at San Francisco State University developed an automated, smart watering meter that not only made a big difference on campus, but may have implications for all of California and the rest of the world.

California drought

Water in California is a major issue that affects almost 40 million residents of the state in a two-season (wet-dry) climate that experiences periodic sustained droughts.

Back in January 17, 2014, the California State Governor, Jerry Brown, declared state of emergency due to severe droughts. In May 9, 2016, Jerry Brown gave an executive order to continue saving water to offset effects of persistent droughts. The drought report from the California Water Science Center provides more details.

California Water Science Center DroughtSource: California Water Science Center

 

A drought action plan

At the recent Predix meetup, Abhilash Shrivastava, Graduate Research Assistant at San Francisco State University, discussed this problem, outlining how IoT solutions can cope with droughts—which is applicable to many other parts of the world.

“About 40% of the San Francisco State University campus is covered by lawns demanding a significant use of water for irrigating them,” said Abhilash.

Abhilash-Shrivastava-ge-predix-attacks-water-problems

“There was no intelligent automation for the sprinklers on various grounds, and no soil-moisture measurement or calculation. This means there was a lot of manual work.”
—Abhilash Shrivastava, San Francisco State University

At the same time, the university looks at meeting California’s 25% mandatory water conservation regulation. Within this initiative, a drought action plan was introduced at the campus, including some software engineering efforts.

One of the solutions developed within the San Francisco State University aims at preventing plant and soil destruction and optimizing water usage by estimating soil moisture and collecting weather data. Though a relatively small-scale project, it may have implications for the state of California as a whole and for the world.

 

How Predix comes to bear on the problem

The system is driven by GE’s Predix platform—along with AngularJS, Polymer, nginx, and Grunt. Abhilash said several Predix services were used to construct this project, including UAA, Time Series, asset management, view service, and Logstash capabilities, as well as the analytics catalog service.

The team designed the following microservices-based architecture:

Predix - Abhilash Architecture

The Predix platform introduced numerous possibilities for the engineering team:

  • REST-based architecture
  • Microservices, which allowed independent development and reusable services
  • Reusable UI components
  • In-built security
  • Seed apps and detailed documentation
  • The abilities to tune, optimize, load balance, and reconfigure

From a high-level view, the systems tracks weather data from the OpenWeather API (humidity, temperature, etc.), analyzes it, and generates appropriate triggers/actions.

Predix - Abhilash How it Works

Abhilash provided a slide illustrating the system’s real-time data flow:

Predix - Abhilash Data Flow

 

The results

He said the project was “cost-effective, reducing water bills; maximized the soil’s absorption rate, resulting in less money spent on lawn maintenance; and was environment-friendly with less manual intervention.” Abhilash estimates annual savings for the campus between 1.6 million and 2.3 million gallons of water, as well as reduced expenses by US$25,000 (excluding labor).

Predix Abhilash Pointing

“The project has been successful in gaining connectivity and automating the sprinkler system, creating a dashboard with analytics on water usage, determining how much water was needed for the soil and monitoring water usage.” —Abhilash Shrivastava, San Francisco State University

 

What’s the future of the project?

This smart watering system will evolve further. As might be expected, Abhilash would like to develop a mobile app “to control the sprinklers remotely,” continue to enhance the analytics, and create an anomaly-detection system for damaged sprinklers.

Water issues are among the most important throughout the world. Wars are fought over water, people die because of a lack of it, and growing populations in and near deserts will continue to demand more of it. This project is a great example of what can be done with Cloud Foundry and Predix to attack a clearcut problem.

 

Want details? Watch the video!

Table of contents

  1. The watering issue in California (20’00”)
  2. What does the smart watering system’s architecture look like? (26’53”)
  3. How will it all work? (29’39”)
  4. What Predix services were used? (33’10”)
  5. How did Predix help with the development? (33’55”)
  6. Smart watering system demo (40’08”)
  7. What are the advantages of the smart watering system? (45’00”)
  8. What’s in store for the project’s future? (46’07”)

 

 
These are the slides presented by Abhilash Shrivastava.

 

Related reading

 

About the expert

Abhilash Shrivastava, SFSU bio
Abhilash Shrivastava is a Graduate Research Assistant at San Francisco State University. He also serves as a Special Assistant for Data and IT at the Campus Academic Resource Program. At a recent Predix hackathon, his team got the third place in the overall category and also grabbed the categorial prize for the “Most Effective Use of Predix Services.” Apart from working as a Predix developer, Abhilash has 5+ years of web development experience under his belt.

 


This post is written by Roger Strukhoff, Carlo Gutierrez, Alex Khizhniak, and Sophie Turol.