Predictive maintenance algorithm developed using digital twin of hydraulic pump modeled in Simscape
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This example models a triplex pump with a predictive maintenance algorithm that can detect which parts of the pump are failing simply by monitoring the pump output pressure.
The Simscape model of the pump can be configured to model degraded behavior due to seal leakage, blocked inlets, bearing wear, and broken motor windings. MATLAB code shows how to accelerate testing by reusing results from previous simulations. The model can be used to generate training data for the machine learning algorithm and can be used to test the deployed algorithm. MATLAB Live Scripts show you how to develop the algorithm.
Mechanical, hydraulic, and electrical parameters are all defined in MATLAB which lets you easily resize the pump. The pump housing is imported from CAD.
Please read the README.md file to get started.
Use the "Download" button above to get files compatible with the latest release of MATLAB.
Use the links below to get files compatible with earlier releases of MATLAB.
- For R2025b: Use Download button above
- For R2025a: https://github.com/mathworks/Simscape-Triplex-Pump/archive/25.1.2.6.zip
- For R2024b: https://github.com/mathworks/Simscape-Triplex-Pump/archive/24.2.2.6.zip
- For R2024a: https://github.com/mathworks/Simscape-Triplex-Pump/archive/24.1.2.6.zip
- For R2023b: https://github.com/mathworks/Simscape-Triplex-Pump/archive/23.2.2.6.zip
- For R2023a: https://github.com/mathworks/Simscape-Triplex-Pump/archive/23.1.2.6.zip
- For R2022b: https://github.com/mathworks/Simscape-Triplex-Pump/archive/22.2.2.6.zip
- For R2022a: https://github.com/mathworks/Simscape-Triplex-Pump/archive/22.1.2.6.zip
- For R2021b: https://github.com/mathworks/Simscape-Triplex-Pump/archive/21.2.2.5.zip
- For R2021a: https://github.com/mathworks/Simscape-Triplex-Pump/archive/21.1.2.4.zip
- For R2020b: https://github.com/mathworks/Simscape-Triplex-Pump/archive/20.2.2.2.zip
- For R2020a: https://github.com/mathworks/Simscape-Triplex-Pump/archive/20.1.2.2.zip
- For R2019b: https://github.com/mathworks/Simscape-Triplex-Pump/archive/19.2.2.0.zip
- For R2019a: https://github.com/mathworks/Simscape-Triplex-Pump/archive/19.1.1.3.zip
- For R2018b: https://github.com/mathworks/Simscape-Triplex-Pump/archive/18.2.1.2.zip
- For R2018a: https://github.com/mathworks/Simscape-Triplex-Pump/archive/18.1.1.1.zip
- For R2017b: https://github.com/mathworks/Simscape-Triplex-Pump/archive/17.2.1.0.zip
See how to model a fluid actuation system in Simscape (7 min):
Try these free, hands-on tutorials to learn how to use Simscape:
- https://www.mathworks.com/learn/tutorials/simscape-onramp.html
- https://matlabacademy.mathworks.com/details/multibody-simulation-onramp/ormb
- https://www.mathworks.com/learn/tutorials/circuit-simulation-onramp.html
Read the e-book “Predictive Maintenance with MATLAB”
- https://www.mathworks.com/content/dam/mathworks/tag-team/Objects/p/93060v00_Predictive_Maintenance_e-book_v04.pdf
To learn more about modeling and simulation with Simscape, please visit:
Product Capabilities:
Cite As
Steve Miller (2026). Predictive Maintenance in a Hydraulic Pump (https://github.com/mathworks/Simscape-Triplex-Pump/releases/tag/25.2.2.7), GitHub. Retrieved .
General Information
- Version 25.2.2.7 (13.1 MB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with R2017b to R2025b
Platform Compatibility
- Windows
- macOS
- Linux
Communities
More Files in the Power Electronics Control Community
Versions that use the GitHub default branch cannot be downloaded
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.
