Single Piston Pump
This example models a single piston pump. The rotation of the pump crankshaft slides the piston back and forth. During half of the rotation, fluid is drawn through the inlet check valve and out of the tank. During the other half of the rotation, fluid is pushed through the outlet check valve and exits the pump.
The piston chamber is modeled with a single-acting hydraulic cylinder. The force, position, and velocity are held consistent between the hydraulic and mechanical models using physical signal connections.
Simulation Results from Simscape Logging
The plot below shows the flow rate into and out of the pump.
The plot below shows the volume of the tank. It decreases with each revolution of the pump shaft as fluid is drawn through the inlet check valve.
The plot below shows the speed of the piston and the torque applied at the crank. The required torque varies primarily with the speed of the piston due to friction and force required to move the fluid into and out of the piston chamber.