Method for controlling a wire electrical discharge machining process, wherein the method comprises the following steps: - dividing a workpiece height H WP into a number N S of vertical sections S of the workpiece, - setting a defined observation period T M, N DTM, - with each discharge Di, ∘ determining a discharge position Z Di of each discharge Di along an engagement line of a wire electrode and the workpiece and assigning each discharge Di to a matching vertical section Sj of the workpiece based on the determined position Z Di of each discharge, ∘ counting the number of discharges N Di occurring in each vertical section S i within the observation period T M, N DTM, characterized in that the method further comprises the following steps: ∘ determining a highest number of discharges N Dhigh within the observation period T M, N DTM, the highest number of discharges N Dhigh being the number of discharges of the vertical section with the highest number of discharges occurred during the observation period, ∘ comparing said highest number of discharges N Dhigh with one or more protection levels specifying a predetermined limit for the number of discharges, and ∘ adjusting at least one process parameter, if it is determined that the highest number of discharges N Dhigh occurring in one or more vertical section S i exceeds or falls below of a protection level. - dividing a workpiece height H WP into a number N S of vertical sections S of the workpiece, - setting a defined observation period T M, N DTM, - with each discharge Di, ∘ determining a discharge position Z Di of each discharge Di along an engagement line of a wire electrode and the workpiece and assigning each discharge Di to a matching vertical section Sj of the workpiece based on the determined position Z Di of each discharge, ∘ counting the number of discharges N Di occurring in each vertical section S i within the observation period T M, N DTM, characterized in that the method further comprises the following steps: ∘ determining a highest number of discharges N Dhigh within the observation period T M, N DTM, the highest number of discharges N Dhigh being the number of discharges of the vertical section with the highest number of discharges occurred during the observation period, ∘ comparing said highest number of discharges N Dhigh with one or more protection levels specifying a predetermined limit for the number of discharges, and ∘ adjusting at least one process parameter, if it is determined that the highest number of discharges N Dhigh occurring in one or more vertical section S i exceeds or falls below of a protection level. ∘ determining a discharge position Z Di of each discharge Di along an engagement line of a wire electrode and the workpiece and assigning each discharge Di to a matching vertical section Sj of the workpiece based on the determined position Z Di of each discharge, ∘ counting the number of discharges N Di occurring in each vertical section S i within the observation period T M, N DTM, characterized in that the method further comprises the following steps: ∘ determining a highest number of discharges N Dhigh within the observation period T M, N DTM, the highest number of discharges N Dhigh being the number of discharges of the vertical section with the highest number of discharges occurred during the observation period, ∘ comparing said highest number of discharges N Dhigh with one or more protection levels specifying a predetermined limit for the number of discharges, and ∘ adjusting at least one process parameter, if it is determined that the highest number of discharges N Dhigh occurring in one or more vertical section S i exceeds or falls below of a protection level. ∘ determining a highest number of discharges N Dhigh within the observation period T M, N DTM, the highest number of discharges N Dhigh being the number of discharges of the vertical section with the highest number of discharges occurred during the observation period, ∘ comparing said highest number of discharges N Dhigh with one or more protection levels specifying a predetermined limit for the number of discharges, and ∘ adjusting at least one process parameter, if it is determined that the highest number of discharges N Dhigh occurring in one or more vertical section S i exceeds or falls below of a protection level.