An agricultural baler has a shaft, a flywheel connected to the shaft, a plunger connected to the flywheel via a crank, a brake system adapted for providing a brake force for decelerating the flywheel, at least one sensor for providing sensor data indicative for at least one moving part of the baler, and a brake control system comprising a processing system, e.g. a processor provided with an algorithm for stopping the crank in a predefined launch position range, based on a mathematical model.