SUCCESS CASE #DataScience #MachineLearning #Cloud
Anomaly Detection in Cryogenic Pumps
Anticipating possible failures in the chain supply by learning from one’s own data avoids service interruptions and the loss of large amount of costs.

Enagás is an international standard bearer in the development and maintenance of gas infrastructures and the operation and management of gas networks. Throughout their 50-year history they have built the main infrastructures for the Spanish Gas System, transforming it into a benchmark for security and diversification of supply. It has around 12,000 Km of gas pipelines in Spain. Since 2011, they have also developed and operated infrastructures outside Spain, and they currently operate in eight countries.
Enagás develops national and international projects to contribute to the decarbonisation process and to improve air quality. Their initiatives are focused on energy efficiency, the use of natural gas in transport, specially maritime transport, or the development of renewable gases.
The maintenance of the cryogenic pumps installed in the Liquefied Gas (LNG) tanks is one of the most important tasks associated with the processes carried out in the plants.
The pumps have very changing operating conditions, and are submerged inside the tanks at an approximate temperature of -163ºC, which makes their maintenance complex and makes it difficult to make a clear judgment about the possible malfunctioning of the pump. Enagás wanted to evolve from its current model of planned maintenance to one that would allow it to anticipate possible failures by observing abnormal behavior in the data. In this way, maintenance can be scheduled before a failure occurs that would affect the quality of the gas supply.
Although these anomaly detection methods represent a considerable advance on ‘routine maintenance’ and ‘repair after failure’, their effectiveness is limited by the quality and detail of the information that is gathered.
Another extra challenge in Enagas use case is they don’t have any abnormal data point labeled so the proposed solution must be unsupervised.
Traditionally, in industrial environments maintenance processes have so far been carried out based on rules or advice from the supplier of industrial units. More recently, a conversion to a data driven approach is underway in these ecosystems to take advantage of the enormous amount of data being generated.
In the case of predictive maintenance use there is not much data on industrial units that have suffered failures (thanks to these maintenance policies). For this reason, an unsupervised approach has been chosen, under the premise that in general, the normal behavior of a machine should not vary excessively, and any sufficiently large changes in the sensor data should indicate a deviation to evaluate.
The proposed model compares the different measurements with each other and then infer whether a measurement is an anomaly or not based on how far is this one from the rest of the data. This solution provides Enagás a model for every pump helping their technical team to evaluate the functioning of every pump individually.
Finally, we have developed an API so that the trainings, inferences or updates of the models can be performed easily by business users.
The main AWS services we used in this project are:
-
AWS S3 as our main repository.
-
AWS API Gateway to implement all client requirements with API requests.
-
AWS Lambda to be used as an API controller and to process all requests.
-
AWS Sagemaker to train the models and evaluate new data.
-
Amazon ECR to store our docker containers for the models.
-
Amazon DynamoDB as a database for the pumps.
-
Amazon Cloudwatch to alarm the users via email if an error has occurred.
WEBINAR | Predictive Maintenance in AWS: Success Case ENAGÁS
Please fill in the form to access this webinar by Keepler, AWS and Enagás. You will learn about the advantages of predictive maintenance based on Machine Learning models, and how Enagás has implemented the solution designed by Keepler in its environments of cryogenic pumps installed in Liquefied Gas tanks, one of the most important tasks associated with plants processes. This webinar is only available in spanish.


Keepler is a boutique company of professional technology services specialized in design, construction, deployment and software solutions operations of Big Data and Machine Learning for big clients. They use Agile and Devops methodologies and native services of the public cloud to build sophisticated business applications focused in data and integrated with different sources in batch mode and real time. They have Advanced Consulting Partner level and have a technical workforce with 90% of their professionals certified in AWS. Keepler is currently working for big clients in different markets, such as financing services, industry, energy, telecommunications and media.