Patent ID: 7225615

Claim:
Method for controlling a vehicle, the vehicle comprising an engine, the engine being arranged to drive at least one pair of half shafts and to drive at least one pump, the at least one pump being arranged to supply a hydraulic system comprising at least one hydraulic component with hydraulic oil, the method comprising determining power consumed by the hydraulic system, comparing the determined consumed power with a reference value to determine if the detected consumed power exceeds the reference value, if the detected consumed power exceeds the reference value, limiting a maximum available power for the hydraulic system, by limiting a maximum available movement of at least one flow-regulating valve in the hydraulic system, wherein the consumed power is determined by determining a flow that is supplied from the at least one pump, and multiplying the determined flow value by a special pressure value, with a product of multiplying the determined flow value by the special pressure value giving a value for the consumed power.