The relevance Any modern simulator of an integral part of the spacecraft power supply system (SC PSS) is an energy-converting complex and is a continuous- discrete, non-stationary system with a variable structure. In order to fully simulate all modes of solar and storage batteries, as well as all types of electrical load, simulators must be developed consisting of several interconnected subsystems that form the overall structure of the simulator. During the tests, depending on the current mode of operation, one of the necessary (not in demand) subsystems at a given time is connected (disconnected), i.e. simulators are systems with a variable structure. Taking into account the power of the PSS of the spacecraft, simulators of the components of the PSS should have no less than the rated power, and therefore they must be created on the basis of power converters of electricity, since the latter have the best efficiency of possible energy-converting electrical systems. In addition, modern power conversion systems are impossible without the use of electronic computing tools — lower-level controllers and computers, on the basis of operating systems of which a fullfledged control software package is deployed. Thus, a modern simulator of the PSS component is a continuous-discrete impulse system. Taking into account the requirements for reliability and the period of active operation imposed on modern solar power plant simulators, it should be borne in mind that over long periods of operation, the parameters of electronic components degrade, on the basis of which power converters are built. Thus, the simulators of the PSS components of the spacecraft are non-stationary systems with long periods of active operation. Thus, at present, it is relevant to consider approaches to determining continuous linear models of power converters of electrical energy in order to synthesize the controllers of their control systems, which form the basis for constructing any simulator of an integral part of the PSS of a spacecraft. Aim of research To form a multilevel computer model of a DC converter and determine the values of the coefficients of the voltage and current PID controllers that provide optimal switching between its operating modes. Research methods Method of multilevel component chains, method of coordinate descent. Results In the format of the method of multilevel component circuits, a multilevel model is formed that provides the determination of the values of the parameters of the coefficients of the voltage and current PID controllers, at which the optimal switching between the modes of its operation is observed in the DC buck converter.