This article deals with the prosumer behavior, specifically on an on-grid electrical network that is connected to a larger synchronous electrical network, as well as an off-grid system. In the Simulink (Matlab) application, two models were constructed for this purpose. The modeling of the operation of the electrical network’s on-grid system takes place in one of the models. The simulation of the operation of the electrical network’s off-grid system takes place in the other. We examined the model’s behavior in the provided simulated period from the standpoint of transient states and qualitative indicators of electrical energy under various connection configurations in both systems. The simulations resulted in the possibility of incorporating new sources of energy accumulation, such as pumped storage hydropower plants based on energy storage systems (ESSs), and modifying the model to the user’s needs.