Diastole or systole switching by valve means between the blood pump and the hydraulic or pneumatic energy source