promotion of renewable sources has evolved significantly over the last 15 years. To meet this commitment, the EU has set the following energy and climate targets for 2030 [1; 2]:  
* reducing greenhouse gas emissions by at least 40% compared to 1990;
* the consumption of renewable energy to be 32%;
* improving energy efficiency by 32.5%;
* interconnecting the electricity market at a level of 15%. To guarantee the achievement of these objectives, each member state has a National Energy and Climate Plan (NECP) for the period 2021-2030. The NECP projects set the objectives and national contributions to achieving EU climate change goals. The targets in the NECPs associated with each member state are presented in Figure 1[3]. The differences between the two targets assumed by each country are significant, 1.5% (Malta) and 25% (Denmark), the UE average value is 12.2%. Austria, Cyprus, Greece, and Poland have indicated in the figure the minimum values of the target, but they fixed themselves and maximum values, which could be achieved depending on different technical, economic, and policy factors. Important funding options to combat the effects of climate change will be available for each country in the coming years. These will be focused mainly on increasing the number of renewable energy sources and improving the energy efficiency to reduce greenhouse gas emissions. For example, within the EU budget for the 2021-2027 period, Romania can access over 6 billion EUR through European funds for sustainable development and fair transition and more than 30 billion EUR through the recovery and resilience facility [4]. Another significant source of funding is the Emissions Trading Scheme (EU ETS), of which Romania can obtain revenues from auctions estimated at over 15 billion EUR between 2020 and 2030. An increase of renewable sources in Romania requires investments of at least EUR 22 billion by 2030 according to NECP [5] and, to achieve a fair transition, a necessary budget of around EUR 0.7 billion is expected [6]. Additional investments are needed to reach a carbon-neutral energy system by 2050. Considering the constraints related to renewable sources associated with their fluctuating nature, it is clear that the power system cannot widely integrate these technologies without the need to invest in the electric distribution and transmission networks and, also, in the storage systems. The distribution of wind potential allows the capitalization of high economic performance for a few geographical regions where there is a concentration of wind capacities, causing an overload of the transmission and distribution networks. The emergence of renewable energy technologies led to efficient solutions regarding the new production capacities integrated close to the resource and not to the consumption zone. In other words, this means that the networks must be flexible, providing an optimal  
Figure 1: Comparison between the targets of the UE member states from 2020 and 2030 included in the NECPs [3]. integration. In the first stage, these solutions should consider areas with high potential, and the investments in the networks to be done in the second stage [7]. Thus, a renewable energy resource map can provide detailed information on the real potential of each area. After that, the Decision-Maker (DM) must evaluate if it is necessary to make investments in networks to evacuate the energy injected by these sources. Once the connection costs are optimized, the renewables no longer need subsidies. However, the market rules should adapt to the new conditions and efficient management of the networks. These must be digitized, ensuring the flexibility of the networks [7, 8]. Due to these targets, the number of wind farms has increased in recent years, such that the Distribution Network Operators (DNOs) and Transmission System Operators (TSOs) need to carry out analyses for evaluating their impact on the network operation. These analyses aim to identify the optimal power flow (OPF) considering the power injections of wind farms.