In this model, we have a hydraulic cylinder that is pushing on a mass and spring, depending on the input hydraulic pressure. This pressure is controlled by a SwitchLogic subsystem. A 3-D simulation is provided by the Visualization Subsystem.