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.
For earlier MATLAB releases, use "Version History" tab above or these links:
- R2025b, R2025a, R2024b, R2024a, R2023b, R2023a, R2022b, R2022a, R2021b, R2021a, R2020b, R2020a, R2019b, R2019a, R2018b, R2018a, R2017b
See how to model a fluid actuation system in Simscape (7 min):
Learn how to use Simscape with
- Self-paced tutorials, including multi-domain systems, 3D mechanical systems, circuits, motors, and battery packs.
- Searching posts for the keyword "physical modeling".
- Stories from users: https://www.mathworks.com/solutions/physical-modeling.html
Product Capabilities:
Cite As
Steve Miller (2026). Predictive Maintenance in a Hydraulic Pump (https://github.com/mathworks/Simscape-Triplex-Pump/releases/tag/26.1.2.7), GitHub. Retrieved .
General Information
MATLAB Release Compatibility
- Compatible with R2017b to R2026a
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.
