The physics laboratory-works creating and operating computer simulations experience is described. A significant amount of laboratory works can be classified as a “black box”. The studied physical phenomenon is hidden from direct observation, the control is carried out by means of electrical measuring devices. It is difficult to distinguish physical reality from its imitation when performing such work, so the virtualization of this one does not require realistic images. The schematic representation of the laboratory installation greatly simplifies the process of creating a simulator. A unique set of installation parameters is formed for each student performing laboratory work on the simulator, which contributes to the independence of the student's work. These parameters are stored in Google Sheets. Their transfer to the laboratory work’s html-template is carried out in encrypted form through the Google Apps Script service. Virtual laboratory work is implemented as a cross-platform web application.