In my Master's thesis titled (Un)lawful state aid for self-supply of electricity, I primarily focused on the compatibility of the general state aid prohibition with current support schemes for the promotion of renewable energy sources (hereinafter RES) and the regulation of electricity self-supply. An analysis of the legislation and other applicable regulations, leads to the conclusion that the aid system provided by Slovenia for the promotion of RES, does not meet the elements of the general prohibition of state aid and is therefore allowed. In addition, the mentioned state aid can be considered as one of the exceptions described in the third paragraph of Art 107 TFEU, which defines cases where state support is compatible with the internal market. However, unlike the aforementioned schemes, regulation of electricity self-supply, which in its content acts as a substitute for state aid systems, is particularly problematic in terms of competitiveness. This is because the current legislation does not contain any restrictions on establishing self-supply of electricity (with the exception of determining the connection power of the device) and potentially distorts competition between companies, since self-supply of electricity can be set up by any company. Self-supply of electricity is certainly a topic that has only become relevant in recent years, so the adoption of regulation that raises concerns about its compatibility with European guidelines and legislation has not been sufficiently problematized.