1. A method for visualization of a functional sequence of a medical apparatus, the method comprising: receiving a mathematical model describing at least the medical apparatus; receiving a log file, wherein the log file comprises at least one value of at least one electrical signal of the medical apparatus during the functional sequence; determining, by a processor, at least one state variable of the medical apparatus as a function of the mathematical model and the log file; visualizing the at least one state variable of the medical apparatus.