Virtual patient simulator is a device allowing to create medical training simulators in a graphical user interface based on integration of four types of data: 1 scenario of simulated disease (written in XML format), 2 mathematical model in Modelica language, 3 graphical objects 4. numeric data.