To be able to calculate the valve opening period, the valve opening angle must first be calculated. If one now takes the crankshaft-rotation into consideration, the period that the valve is open can be determined.