Next Article in Journal
Comparative Assessment of Supervised Machine Learning Models for Predicting Water Uptake in Sorption-Based Thermal Energy Storage
Previous Article in Journal
Spatiotemporal Characteristics and Driving Factors of the Energy Carbon Footprint and Vegetation Carbon Carrying Capacity in China
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Determining the Origin of Electricity Consumed from Low-Carbon and Renewable Energy Sources: A Matrix-Based Modelling Approach and Algorithm

1
Faculty of Electrical Engineering and Computer Science, Lublin University of Technology, 20-618 Lublin, Poland
2
School of Digital Technology and Artificial Intelligence, D. Serikbayev East Kazakhstan Technical University, Oskemen 070004, Kazakhstan
3
Faculty of Engineering and Information Technology, Almaty Technological University, Almaty 050012, Kazakhstan
4
The Institute of Renewable Energy, National Academy of Sciences of Ukraine, 02094 Kyiv, Ukraine
5
Department of Electrical Power Plants and Systems, Vinnytsia National Technical University, 21021 Vinnytsia, Ukraine
6
Department of Artificial Intelligence and Big Data, Al-Farabi Kazakh National University, Almaty 050040, Kazakhstan
*
Authors to whom correspondence should be addressed.
Energies 2026, 19(7), 1620; https://doi.org/10.3390/en19071620
Submission received: 24 February 2026 / Revised: 13 March 2026 / Accepted: 23 March 2026 / Published: 25 March 2026
(This article belongs to the Section A1: Smart Grids and Microgrids)

Abstract

This article details a matrix-based mathematical method to calculate power flows and transmission losses in an electric grid specifically attributable to low-carbon and renewable energy sources (LCRES) (wind, solar, nuclear). The goal is to improve the transparency and reliability of Guarantees of Origin (GO) certificates. Current GO schemes rely on contractual accounting and neglect physical power losses, undermining consumers’ confidence that they receive “clean” energy. The method uses steady-state power flow analysis to derive a power-loss distribution coefficient matrix. This matrix accurately allocates grid losses back to the LCRES generating nodes, complying strictly with electrical engineering principles. It accommodates both time-varying renewable output and stable nuclear generation. The results offer highly accurate loss-attribution data, supporting more verifiable GOs, ensuring fair compensation for losses, and enhancing energy balance accuracy in hybrid power systems.

1. Introduction and Problem Statement

This article is devoted to investigating a method for calculating the individual components of power flows in the branches of an electric grid that are caused by the generation of low-carbon and renewable energy sources (LCRES), including wind, solar, and nuclear power plants. In countries with strict carbon regulations, consumers have a natural interest in the origin of the “clean” electricity they consume [1]. Since electricity transmission is carried out through public electric grids, consumers require guaranteed confirmation that the electricity they receive is indeed supplied from LCRES.
Although the nature of the origin of “clean” electricity from different energy sources varies, from the perspective of its transmission through electric power grids, its flows can be considered as transit flows from the generation node to the consumption node [2]. This makes it possible to evaluate the impact of power flows from LCRES on electric networks using common analytical approaches, since, physically, the power and voltage losses in transmission lines do not depend on the origin of the currents and voltages flowing through them [3]. Determining how the generated electricity reaches a particular consumer, in what quantity, and with what consequences for the technical and economic indicators of the electric network is possible only through special methods. These methods can be conditionally divided into statistical–probabilistic and electrical-engineering-based approaches [4].
Unlike existing statistical–probabilistic methods for determining the origin of electricity in power supply systems [5], this study employs a matrix-based mathematical modelling approach for grid operation with LCRES.
This ensures strict compliance with electrical engineering laws and provides results with high analytical accuracy and adequacy. The fact is that the traditional certification of Guarantees of Origin (GO) for electricity relies on contractual and statistical accounting of transactions and does not consider power losses occurring in the grid during the transmission and distribution of electricity from LCRES [1]. This limitation reduces the transparency and reliability of origin disclosure, as consumers may claim the use of low-carbon electricity that was technically lost or mixed during transmission and distribution. Another important challenge is the assessment of electricity losses caused specifically by the transfer of power from such sources, an issue relevant both for operational optimization and for regulatory mechanisms such as GO schemes, participation in auctions, and the activities of generating units and consumers acting as aggregators [6]. To address this problem, this article proposes a matrix-based method for determining the power losses caused by renewable and low-carbon energy sources in electric grids. The method employs a mathematical model and steady-state power flow analysis to determine the matrix of power-loss distribution coefficients, which allocates the losses in grid branches among the generating nodes. By accounting for the time-varying output of weather-dependent power plants and the stable generation of nuclear power units, the method enables the calculation of both instantaneous and cumulative energy losses over defined time intervals. A test-case study demonstrates the method’s capability to isolate and quantify the loss contributions associated with different types of generation. The results confirm that loss-attribution data can support more transparent and verifiable Guarantees of Origin, ensure fair compensation for transmission losses, and improve the accuracy of the energy balance in hybrid systems that integrate renewable sources with both high-carbon and low-carbon generation units.
Since low-carbon and renewable energy sources (LCRES), including wind and photovoltaic power plants (WPPs and PVPPs), typically use public electric grids to transmit the electricity they generate to consumers, it is important to understand how they affect the technical and economic parameters of electric grids. This concerns voltage levels, the loading and transmission capacity of power lines and transformers, short-circuit currents, and their compliance with the ratings of switching devices [7,8].
A separate task is the determination of power and energy losses in the electric grids of a power system, as these losses influence both the economic performance of the grid and LCRES, as well as the power and energy balance of the electric power system. The challenge lies in the fact that losses in electric grids depend nonlinearly on the load and generation at the nodes of the grid. Isolating the individual components of the total power losses in the grid branches is possible only under certain assumptions and approximations.
In engineering practice across different countries, a number of methods are used to calculate power flows from each individual generator or member of an energy association, either with explicitly defined input data or with probabilistic–statistical loss estimation (regression analysis). Depending on the assumptions and approximations applied, all available methods for allocating transmission losses can be grouped into approaches based on proportional allocation, incremental loss coefficients, participatory (share-based) allocation, mathematical decomposition of the power-loss formula into components, and the application of the superposition principle.
Proportional allocation methods (Pro Rata) are based on the assumption that all energy sources and consumers contribute equally to grid losses. These methods generally do not account for the specifics of power-flow distribution or the structure of the electric grid [8,9]. Methods based on incremental transmission loss (ITL) coefficients [9,10] use the sensitivity of power losses to changes in node generation and load. Some modifications of this methodology allocate losses among generating nodes while accounting for counterflows, meaning that the results obtained using this approach may take negative values. Proportional Sharing methods distribute power losses in a branch of the electric grid according to the contribution of each individual energy source (or consumer), or of a specified part of the electric grid, to the total power flow within that branch [4,11,12].
Methods based on the power-loss formula and circuit theory use a mathematical model of the electric grid to determine system losses as a function of the sum of squared currents, followed by their allocation and normalization [13]. Other methods rely on the nodal impedance matrix for so-called “natural allocation” of power losses among the nodes of the electric power system, as well as methods based on the superposition principle [14]. The aim of this article is to develop a method for determining the origin of electricity consumed by end-users while accounting for the power and energy losses in electric grids caused by individual LCRES units and their groups. This is accomplished by determining a matrix of power-distribution coefficients that allocates the contributions of LCRES generating nodes across the branches of the electric grid.

2. Determination of Power Losses in the Electrical Grid from Transit Flows

The value of the full power at the beginning and at the end of each line of the circuit is determined by the following formula [15]:
S ˙ b = 3 U ˙ Σ d M Σ I d ,
where  U ˙ Σ d —diagonal matrix of voltage in nodes, including balancing ones; MΣ—matrix of branch connections in nodes, including balancing ones;  I d —diagonal matrix of currents in the branches of the scheme (here and there is the sign  , meaning that the matrix or vector is conjugate).
Multiplying the expression (1) on the left by the unit transposed vector nt, we obtain the transposed vector of power losses in the circuits of the circuit:
Δ S ˙ bt = 3 n t U ˙ Σ d M Σ I d ,
or given that  n t U ˙ Σ d = U ˙ t ,
Δ S ˙ bt = 3 U ˙ t M Σ I d ,
where  U ˙ t  is the transposed vector of voltage in the nodes, including the balancing ones (here and below the index, “t” means that the matrix or vector is transposed).
It can be seen from (2) that the losses in the i-th circuit of the scheme are determined by the following expression:
Δ S ˙ bi = 3 ( U ˙ t M Σ i ) I i ,
where  M Σ i  is the column vector of the matrix of connections of branches in nodes  M Σ I i —the current in the i-th line, which can be determined from the currents in the nodes:
I ˙ i = C i J ˙ Σ ,
where  C ˙ i  is the row vector of the matrix of the distribution of currents in the nodes  J ˙ Σ  along the branches of the scheme.
The current distribution matrix is calculated using the method of single currents or by the following well-known formula [15]:
C = z b 1 M Σ t ( M Σ z b 1 M Σ t ) 1 ,
where  z b  is the diagonal matrix of complex resistances of branches of the electric grid scheme.
If the scheme and parameters of the electrical grids of the EPS are relatively unchanged, then it is more appropriate to use the method of determining the currents in the circuits using the current distribution matrix C.
Taking (4) and (5) into account, expression (3) will be rewritten as
Δ S ˙ bi = 3 ( U ˙ t M Σ i ) C i J Σ .
Given that
J Σ = 1 3 U ˙ Σ d 1 S ˙ Σ ,
Equation (6) will take the following form:
Δ S ˙ bi = ( U ˙ t M Σ i ) C i U ˙ Σ d 1 S ˙ Σ ,
where  S ˙ Σ  is the vector of RES loads and generation in nodes, including balancing ones.
In Equation (7), let us denote
V ˙ i = ( U ˙ t M Σ i ) C i U ˙ d 1 ,
where  U ˙ d —diagonal matrix of voltage in nodes without balancing nodes.
Vector row  V ˙ i  consists of coefficients that show what share of the total losses of a branch is caused by the flow of power from each node. Taking (8) into account, expression (7) of power losses in the i-th circuit will be rewritten as
Δ S ˙ b i = V ˙ i S ˙ Σ ,
Accordingly, the vector of total losses in the branches of the electric grid will be written as
Δ S ˙ b = V ˙ S ˙ Σ ,
where  V ˙ —the matrix of power loss distribution coefficients in circuit branches depending on the power in circuit nodes, each row of which consists of (8).
Note that the loss distribution coefficients depend on the parameters of the scheme, which are considered constant under certain assumptions, as well as on the voltage values in the nodes, which are caused by the load and generation in the nodes of the scheme. Thus, the nonlinearity of the loss dependence on the mode parameters is preserved. The determination of matrix coefficients  V ˙  due to the current values of the nodal voltages essentially means that there is a transition to a linearized model of the normal mode of the electric network at fixed powers and voltages in the nodes.

3. Determination of Power and Electricity Losses in the Electric Grid from RES

A peculiarity of RES operation in the EPS is its unstable generation. Moreover, due to the dependence on natural conditions during the day, its power varies over a fairly wide range—from zero to the set power. PVs generate power only during daylight hours and then according to an irregular schedule (see Figure 1). The power of wind turbines depends on the strength of the wind flow, which also changes all the time. Therefore, power and electricity losses that occur in electrical grids due to electricity flows from PV and wind turbines also change.
Losses of power in a given circuit (circuits) of the electric network due to the flow of RES electricity within it is determined using (9). For this, a vector is calculated, Vi, and a matrix of distribution loss, V, is determined, with the voltages in the nodes specified according to the power values in the same nodes of the grid, as well as the components of power losses:
Δ S ˙ bi = V ˙ i S ˙ Σ = i θ L v i s i + j θ R E S v j s j ,
where v—the elements of vector row  V ˙ i ; s—elements of the node power vector  S ˙ Σ θ L  and  θ R E S —the arrays of node loads and RES, respectively.
A list of RES nodes  θ R E S  may consist of one or more nodes, depending on when losses in the line are determined from one RES or their group.
Electricity losses are the sum of power losses in all grid modes for the calculation period T:
Δ W = 0 T Δ P ( t ) d t   or   Δ W i = 1 n Δ P i Δ t i ,
where  Δ P ( t )  represents the graph of changes in power loss over time T Δ P i —the power losses, which are assumed to be constant over time  Δ t i ; n—the number of intervals into which the loss change schedule is divided  Δ P ( t )  (if  Δ t i = Δ t = c o n s t , then  n = T / Δ t ).
Which Formula (12) to use depends on the formulation of the problem and information support. We proceed from the fact that the task of balancing electricity in EPS modes for the next day is solved and telemetering is available at all nodes of electrical grids. In this case, the RES generation schedules are predicted and known  S ˙ R E S ( t ) , and according to the data of the automated system of commercial electricity accounting (ASCEA), the actual values of the produced RES electricity at time intervals are known  Δ t .
The values of  Δ P ( t )  are determined according to the P(t) and Q(t) capacity forecast graphs in RES nodes. For example, for the i-th PV (see Figure 1),
Δ W R E S i f = t 0 t k Δ P R E S i f ( t ) d t ,
If we are referring to the RES group, then  Δ W R E S f = i θ R E S Δ W R E S i f .
The actual values of electricity losses for the same PV are defined as
Δ W R E S i a = i = 1 n Δ P R E S i a Δ t ,
where  n = ( t k t 0 ) / Δ t .
The value of actual electricity losses of the RES group  Δ W R E S a = i θ R E S Δ W R E S i a .
If the forecasted and actual values of electricity losses are brought to the same time period, then the error of forecasting electricity losses during balancing of the EPS mode is determined:
δ = Δ W R E S f Δ W R E S f Δ W R E S f 100 % .
According to the value of the error δ, the power additional to the power of replacement of losses from RES by maneuverable EPS capacities or electricity storage is calculated [16,17,18].

4. Algorithm for Determining Power Flow and Energy Losses in Specified Branches of an Electric Grid

In Figure 2, the algorithm for determining the share of power generated by LCRES and delivered to a specified electricity consumer is presented. The approach embedded in the algorithm is based on identifying the power flows in the branches of the electric grid that are incident to the nodes containing the predefined list of electricity consumers supplied from LCRES. Directly at the node, using the power balance, the power consumed by each consumer specifically oriented toward consuming electricity from a particular LCRES is calculated with consideration of the physical processes occurring in the electric grid. Thus, it becomes possible to assess the amount of load coverage for a given consumer by LCRES that supply energy to the power system during a controlled time period T. The input data for the calculation include the parameters of the electric grid and node loads specified either as power values or load profiles, as well as the generation profiles of the low-carbon energy sources present in the grid.
To convert the consumer’s power demand into the amount of electricity consumed, methods of average or maximum loads are used. Depending on the selected method, either the average load  S ˙ a v  or the maximum load  S ˙ m a x  of the consumer over period T is specified. A more accurate approach is to use a forecasted hourly consumption profile for the next day together with actual consumption data obtained from the automated control system (ACS). In the first case, the forecasted amount of electricity planned for consumption from LCRES is determined. In the second case, the actual amount of electricity consumed from LCRES is calculated.
These data are then transferred to the registry of Guarantees of Origin, taking into account the volume of guaranteed load coverage of the consumer with energy from low-carbon energy sources. Depending on the requirements and the technical capabilities of the metering system, the programme is launched either hourly or according to generation and consumption schedules within the electric grid.
The array of node voltages required for the calculations can be obtained in two ways: either as the result of steady-state grid operation analysis or from ACS measurements. If hourly forecasted values of LCRES generation and consumption are used, the voltages are determined from steady-state calculations or, when the required accuracy allows, from average statistical data. If the actual values are determined, the input data are the voltage measurements provided by the ACS.
In the algorithm shown in Figure 2, the matrix of the power-distribution coefficients of nodes across the branches of the electric grid D is determined from (1), taking into account expressions (4) and (5).
S ˙ b = ( U ˙ d M Σ ) C U ˙ d 1 S ˙ = D   S ˙ ,
where  D = ( U ˙ d M Σ ) C U ˙ d 1 .
After forming the array of node voltages, the incidence matrix  M Σ  and the matrix of coefficients for the distribution of node-injected currents in the branches of the electric grid  C ˙  are generated. The matrix of power-distribution coefficients for the nodes across the branches of the electric grid  D ˙  is calculated. Using matrix  D ˙ , the portions of the total LCRES power  S ˙ b L C R E S  that flow through the branches of the grid are determined. Summing the LCRES power flows  S ˙ b L C R E S  in the branches incident to the j-th nodes with controlled consumption from LCRES makes it possible to determine the guaranteed volumes of electricity originating from LCRES for these consumers. Such nodes may be of two types. If a node is terminal, that is, only one branch carrying LCRES power  S ˙ L C R E S j  reaches it, then this power represents the amount of electricity originating from LCRES for the given consumer. The power  S ˙ L C R E S j  may be determined as the sum of the power flows from nuclear power plants  S ˙ N P P j  and renewable sources  S ˙ R E S j  to the j-th node. In certain cases, depending on the topology, the operating mode of the electric grid, and the presence of distributed energy resources, the power  S ˙ L C R E S j  may be determined by only a single component—either from nuclear power plants or from renewable energy sources, respectively. If the node is an intermediate node, the power  S ˙ L C R E S j  is determined from the power balance at the j-th node.
Having determined the share of power from LCRES received by the consumer, it becomes possible and necessary to calculate the power losses caused by LCRES. In particular, responsibility for covering losses during transmission and distribution—within various settlement mechanisms—may be assigned either to the end consumer or to the producer (as in the case of PPA contracts). The matrix of power-loss distribution coefficients for each branch  V ˙ i  is formed according to the grid topology defined in the input data. The energy losses in the specified branches and in the electric grid as a whole are determined using  V ˙ i , and are also refined by actual node voltage values U and power values  S ˙ . Depending on the task formulation and input data, the “result protocol formation” stage converts the consumer’s LCRES-origin electricity and associated losses into the final reported values.

5. Algorithm for Determining the Dependence of Power Losses on PV Generation in Microgrids

As an example, let us consider a fragment of a microgrid scheme. The parameters of the scheme are shown in Figure 3. The steady-state operation of the grid was calculated using the PowerFactory 15 software package. According to the variation in the generation output of photovoltaic power plants, the total active power losses were determined. The results are presented in Table 1.
The task is reduced to finding the optimal operating mode under which the power losses in the grid are minimized; that is, the objective function can be written as
Δ P M G = f ( P G E N   P V 1 , P G E N P V 2 ) m i n ,
where ΔPMG denotes power losses in the microgrid (microgrid); PGEN PV1, PGEN PV2—generation power of PV1 and PV2, respectively.
According to the data in Table 1, the difference between the optimal and non-optimal operating modes may be approximately 9%.
Let us present the obtained data in the form of graphical dependencies, as shown in Figure 4.
Let us determine the generation power values of PV1 and PV2 at which the power losses in the microgrid are minimized. For this purpose, we approximate the dependence  Δ P = f ( P P V )  using second-order polynomials:
for   PV 1 Δ P = 0.001 P G E N   P V 1 2 0.1291 P G E N   P V 1 + 9.9548   ( MW ) ,
with approximation accuracy R2 = 0.9998;
for   PV 2 Δ P = 0.0021 P G E N   P V 2 2 0.1844 P G E N   P V 2 + 10.533   ( MW ) ,
with approximation accuracy R2 = 1.
We set the first derivatives of these equations equal to zero:
d Δ P dP G E N   P V 1 = 0.0002 P G E N   P V 1 0.1291 = 0 ,
d Δ P d P G E N   P V 2 = 0.0042 P G E N   P V 2 0.1844 = 0 .
If we consider the task of determining the parameters of the optimal operating mode from the perspective of increasing the installed generation capacity of the available photovoltaic power plants, then the minimum values of active power losses in the electric grid—ΔP = 5.79 MW—are achieved when the generated power of PV1 is PGEN PV1 = 64.55 MW, and the minimum values of active power losses in the grid ΔP = 6.485 MW are achieved when the generated power of PV2 is PGEN PV2 = 43.9 MW. These values are taken as baseline, since according to the similarity criterion, the dependence  Δ P = f ( P P V )  is approximated by a second-order polynomial. With both stations disconnected, the power losses in the grid amount to 12.59 MW.
The analytical dependencies of active power losses in the electric grid on the generated PV power, expressed in per-unit form, were obtained as a second-order polynomial using the nonlinear regression algorithm based on the Levenberg–Marquardt method and central difference technique in the CurveExpert Basic 2.2.3 software environment.
As a result of polynomial approximation of the data from Table 2, we obtain the equation for the per-unit power losses in the grid for PV1:
Δ P * = 0 . 971 P * G E N   P V 1 0 . 246 +   0 . 056 P * G E N   P V 1 4 ,
where  P G E N   P V 1 * = P G E N   P V 1 / P G E N   P V 1 o p t —generated PV1 power in per-unit values.
Within the range of variation in the generated PV1 power from 0.14 to 2.01 p.u., the approximation produced the following results: approximation error—0.029 p.u., correlation coefficient—0.987 p.u.
Figure 5 shows the plots of the dependence of the per-unit values of the function  Δ P = f ( P P V 1 )  on the per-unit values of the generated PV1 power.
Similarly, the following dependencies were obtained for PV2:
Δ P * = 0 . 929 P * GEN   PV 2 0 . 201 + 0 . 1 P * GEN   PV 2 3
where P*GEN PV2—generated PV2 power in per-unit values.
Within the range of variation in the generated PV2 power from 0.02 to 2.3 p.u., the approximation yielded the following results: approximation error—0.057 p.u., correlation coefficient—0.9863 p.u.
Figure 6 shows the plots of the dependence of the per-unit values of the function  Δ P = f ( P P V 1 )  on the per-unit values of the generated PV2 power. The dependencies of the objective function values on the generated PV2 power constructed using CurveExpert are shown in Figure 6.
The approximated dependencies (1) and (2) (see Figure 6) represent the criterion-based models of the process of adjusting the power outputs of PV1 and PV2 to influence the power flows in the microgrid with the aim of reducing losses, optimizing the operating mode, and improving the operational efficiency of such plants. The coefficients of the terms in these dependencies are normalized to unity (within approximation accuracy) and serve as similarity criteria [19,20].

Determining the Optimality Range and Limit Values of the Insensitivity Range

Now, let us apply the method to determine the optimality ranges and the limit values of the insensitivity ranges for the ACS of PV1 and PV2. We assume an allowable deviation of the power losses from their optimal value of 5%.
The problem of optimal control of the PV1 or PV2 generation power in terms of minimizing microgrid power losses is expressed through the following objective functions:
Δ P M G = 0.971 P GEN   PV 1 0.246 + 0.056 P GEN PV 1 4 m i n ,
Δ P MG = 0.929 P GEN   PV 2 0.201 + 0.1 P GEN   PV 2 3 m i n
Using the graph-analytical method, we determine the limits of the optimality range for the generation of PV1 and PV2 in per-unit values, as shown in Figure 7. Accordingly, the limit values of the insensitivity range for the ACS of PV1 are taken as 0.58–1.3 and for the ACS of PV2 as 0.68–1.3. The calculation results for the PV plants are summarized in Table 3.
The tolerances determined in this way reflect the actual capability of the PV plants to influence the microgrid operating-mode optimization process. As can be seen from Figure 7, the dependence of the per-unit active power losses in the microgrid on the generated power is steeper for the first PV plant than for the second one. Moreover, Figure 8 shows that in the current operating mode of the microgrid, when the grid losses amount to 1.07 p.u., the generated power of PV2 falls within the insensitivity range. Consequently, at this moment, adjusting the operating mode using this plant is impractical.
At the same time, increasing the generated power of PV1 makes it possible to change the operating mode of the microgrid and reduce its power losses. If both PV plants begin operating within their insensitivity ranges, then for a certain period, the variations in the daily microgrid load profile and PV generation will not require additional control actions. However, the generated power of a PV plant is limited by its installed capacity.
In Figure 8 (for the case of significantly reduced node load), the installed capacity of PV1 is shown by the orange line, and the installed capacity of PV2 by the blue line.
As can be seen from Figure 8, from the perspective of optimal control, it is advisable to adjust the generation power of PV2, because its installed capacity allows it to enter the insensitivity range. In contrast, increasing the generation power of PV1 up to its installed capacity does not allow it to enter the insensitivity range. Therefore, for the current operating mode of the microgrid, increasing the generation power of PV1 is impractical.

6. Conclusions

In modern power supply systems, the problem arises of determining the amount of “clean” electricity consumed, namely, electricity originating from low-carbon and renewable energy sources, including wind power plants and photovoltaic power plants. Since public electric grids are used to transmit electricity to consumers, it is essential for consumers to receive guaranteed confirmation that the electricity they consume indeed originates from LCRES.
The complexity of this task lies in its nonlinear nature, which makes it impossible to directly apply the transposition method to its solution. In this work, a method is proposed for determining the origin of electricity consumed by individual users, attributed to specific LCRES units. The method is based on forming a matrix of power-distribution coefficients that allocates the contributions of LCRES generating nodes across the branches of the electric grid incident to the consumer node.
The matrix of branch power-distribution coefficients depends on the grid parameters, which, under certain assumptions, are considered constant, and on the node voltage values, which are determined by the prevailing generation and load at the corresponding nodes. The nonlinear dependence of the consumed power at the nodes including the portion attributed to LCRES on the operating parameters is preserved through simultaneous measurement or steady-state calculation of the generation and load values, as well as the associated node voltages. Determining the distribution coefficients using current node voltages effectively corresponds to transitioning to a linearized model of the normal operating mode of the electric grid with fixed node powers and voltages.
In determining the amount of “clean” electricity consumed by end users, it is also necessary to assess the electricity losses caused by the transfer of power from LCRES. To address this problem, this article additionally proposes a matrix-based method for determining the power losses induced by renewable and low-carbon energy sources in electric grids. The method employs a mathematical model and steady-state power flow analysis to determine the matrix of power-loss distribution coefficients. By taking into account the time-varying output of weather-dependent generating units and the stable generation of nuclear power plants, the method enables the calculation of both instantaneous and cumulative energy losses over specified time intervals.
The method described can serve as a tool for confirming the Guarantees of Origin of energy consumed from a public electric grid and for determining the share of LCRES power in the power flows delivered to consumers. This enhances transparency in the functioning of the electricity market and supports the development of low-carbon generation. The method allows for the influence of LCRES on the operating parameters of the electric power system to be taken into account and can be used in operational electricity balance planning. The effectiveness of the method is demonstrated through specific case studies. The results obtained using the matrix method were compared with the outcomes of computer simulations performed in the PowerFactory software.

Author Contributions

Conceptualization: I.H., P.L. and A.S.; methodology: I.H.; software: I.H.; validation: A.S., P.L. and S.S.; formal analysis: A.O., I.H. and P.L.; investigation: I.H. and P.L.; data curation: L.D.; writing—original draft preparation: I.H., P.L. and V.L.; writing—review and editing: A.S. and S.S.; visualization: V.L.; supervision: A.S. and P.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The data used for the calculations were generated during this study and are included in the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Einolander, J. “100% renewable” electricity contracts: Assessing availability and emissions through temporal analysis. Energy 2025, 322, 135604. [Google Scholar] [CrossRef] [Scilit]
  2. Kulyk, V.; Burykin, O.; Malogulko, J.; Hrynyk, V. Anticipatory control of transit power flows from the renewable energy sources in electric power system. In 2020 IEEE 7th International Conference on Energy Smart Systems (ESS), Kyiv, Ukraine, 12–14 May 2020; IEEE: New York, NY, USA, 2020; pp. 123–127. [Google Scholar] [CrossRef] [Scilit]
  3. Hunko, I.; Kudrya, S.; Komar, V.; Lezhniuk, P. Mathematical Model and Algorithm for the Determination of the Origin of Electricity from Renewable Energy Sources in the Electric Power System. Vidnovluvana Energ. 2024, 2, 6–12. [Google Scholar] [CrossRef]
  4. Kirschen, D.; Allan, R.; Strbac, G. Contributions of individual generators to loads and flows. IEEE Trans. Power Syst. 1997, 12, 52–60. [Google Scholar] [CrossRef] [Scilit]
  5. Hou, Y.; Bao, M.; Ding, Y.; Sang, M.; Liang, Z.; Song, Y. Probabilistic energy flow analysis of the integrated electricity and gas system considering multiform uncertainties. Fundam. Res. 2025, 5, 1117–1133. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  6. Nikolov, N.; Koeva, D.; Zinoviev, V.; Dimitrova, Z. The Role of Aggregators in Digital Energy. Eng. Proc. 2025, 104, 25. [Google Scholar] [CrossRef] [Scilit]
  7. Paraschiv, S. Analysis of the variability of low-carbon energy sources, nuclear technology and renewable energy sources, in meeting electricity demand. Energy Rep. 2023, 9, 276–283. [Google Scholar] [CrossRef] [Scilit]
  8. Chintada, S.P.; Abbagouni, S.G.; Kumar, H. Investigation on Loss Allocation in Distribution Network with Distributed Generation. In 2022 2nd International Conference on Emerging Frontiers in Electrical and Electronic Technologies (ICEFEET), Sonepat, India, 24–25 June 2022; IEEE: New York, NY, USA, 2022; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
  9. Galiana, F.D.; Conejo, A.J.; Kockar, I. Incremental transmission loss allocation under pool dispatch. IEEE Trans. Power Syst. 2002, 17, 26–33. [Google Scholar] [CrossRef] [Scilit]
  10. da Silva, A.M.L.; Costa, J.G.C. Transmission loss allocation: Part I—Single energy market. IEEE Trans. Power Syst. 2003, 18, 1389–1394. [Google Scholar] [CrossRef]
  11. Li, B.; Robinson, D.A.; Agalgaonkar, A. Identifying the wheeling costs associated with solar sharing in LV distribution networks in Australia using power flow tracing and MW-Mile methodology. In 2017 Australasian Universities Power Engineering Conference (AUPEC), Melbourne, VIC, Australia, 19–22 November 2017; IEEE: New York, NY, USA, 2018; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
  12. Ahmed, K.S.; Karthikeyan, S.P.; Rao, M.V. Proportional generation and proportional load based transmission loss allocation considering reactive power demand in restructured environment. In TENCON 2017—2017 IEEE Region 10 Conference, Penang, Malezja, 5–8 November 2017; IEEE: New York, NY, USA, 2017; pp. 992–997. [Google Scholar] [CrossRef] [Scilit]
  13. Stohnyi, B.; Pavlovskyi, V. Determination of Transit Power Losses in Fragmented Electric Networks of Regional Power Supply Companies. Energy Policy Ukr. 2004, 5, 60–65. [Google Scholar]
  14. Lezhniuk, P.D.; Semeniuk, N.V. Determination of Power Losses in an Electric Network from Transit Power Flows Using the Nodal Impedance Matrix. Energetyka Ta Elektr. 2014, 3, 37–42. [Google Scholar]
  15. Sedláček, J.; Mach, M. Analysis of Electric Circuits Using Matrix Methods; ČVUT Publishing: Prague, Czech Republic, 2010; 198p. [Google Scholar]
  16. Lezhniuk, P.D.; Komar, V.O.; Dobrovolska, L.N.; Povstianko, K.O. Relative evaluation of balancing means of electric power systems with renewable energy sources. Visnyk VPI 2022, 3, 24–30. [Google Scholar] [CrossRef] [Scilit]
  17. Fan, P.; Li, S.; Bu, S.; Wen, Y.; Chung, C.Y. Resilient Power Systems Against Wildfire Risks: Towards a Human-centric and Secure Future. CSEE J. Power Energy Syst. 2025, 11, 2553–2575. [Google Scholar] [CrossRef] [Scilit]
  18. Kanchana, K.; Murali Krishna, T.; Yuvaraj, T.; Sudhakar Babu, T. Enhancing Smart Microgrid Resilience Under Natural Disaster Conditions: Virtual Power Plant Allocation Using the Jellyfish Search Algorithm. Sustainability 2025, 17, 1043. [Google Scholar] [CrossRef] [Scilit]
  19. Blinov, I.V.; Miroshnyk, V.O.; Shymaniuk, P.V. Short-Term Interval Forecasting of the Total Electricity Output from Renewable Energy Producers. Proc. Inst. Renew. Energy NAS Ukr. 2019, 54, 5–12. [Google Scholar] [CrossRef] [Scilit]
  20. Lezhniuk, P.D. Sensitivity Analysis of Optimal Solutions in Complex Systems Using the Criterion Method: Monograph; Universum–Vinnytsia: Vinnytsia, Ukraina, 2003; 131p. [Google Scholar]
Figure 1. An example of graphs of actual and forecasted generation of PV.
Figure 1. An example of graphs of actual and forecasted generation of PV.
Energies 19 01620 g001
Figure 2. Algorithm for determining the amount of electricity consumed that originates from low-carbon and renewable energy sources.
Figure 2. Algorithm for determining the amount of electricity consumed that originates from low-carbon and renewable energy sources.
Energies 19 01620 g002
Figure 3. Fragment of the microgrid scheme.
Figure 3. Fragment of the microgrid scheme.
Energies 19 01620 g003
Figure 4. Dependence of total power losses ΔPMG on the variation in PGEN PV1 at constant PGEN PV2.
Figure 4. Dependence of total power losses ΔPMG on the variation in PGEN PV1 at constant PGEN PV2.
Energies 19 01620 g004
Figure 5. Dependence of the objective function values on the generated PV1 power plotted in Excel: 1—experimental data, 2—polynomial approximation results.
Figure 5. Dependence of the objective function values on the generated PV1 power plotted in Excel: 1—experimental data, 2—polynomial approximation results.
Energies 19 01620 g005
Figure 6. Dependence of the objective function values on the generated PV2 power plotted in Excel: 1—experimental data, 2—polynomial approximation results.
Figure 6. Dependence of the objective function values on the generated PV2 power plotted in Excel: 1—experimental data, 2—polynomial approximation results.
Energies 19 01620 g006
Figure 7. Dependence of microgrid power losses on the generated power of PV1 and PV2.
Figure 7. Dependence of microgrid power losses on the generated power of PV1 and PV2.
Energies 19 01620 g007
Figure 8. Dependence of power losses in the electric power system on the generated power of PV1 and PV2, considering the installed generation capacity of PV1 and PV2.
Figure 8. Dependence of power losses in the electric power system on the generated power of PV1 and PV2, considering the installed generation capacity of PV1 and PV2.
Energies 19 01620 g008
Table 1. Steady-state calculation results for different generation levels of PV1 and PV2.
Table 1. Steady-state calculation results for different generation levels of PV1 and PV2.
PGEN PV1, MWPGEN PV2, MWΔP, MW
1298.29
5258.21
7238.19
9218.18
11198.19
13178.21
15158.25
17138.3
19118.36
2198.44
2378.54
2558.65
2738.79
2918.91
1159.83
3159.58
5159.33
7159.10
9158.87
11158.66
13158.45
15158.25
17158.06
19157.87
21157.7
23157.53
25157.37
27157.22
29157.07
15110.36
15310.00
1559.66
1579.34
1599.04
15118.76
15138.49
15158.25
15178.02
15197.8
15217.6
15237.42
15257.26
15277.1
15296.97
0012.59
Table 2. Per-unit generated PV power and power losses.
Table 2. Per-unit generated PV power and power losses.
PGEN PV1, MWp.u.PGEN PV2, MWp.u.ΔP, MWp.u
10.01515-9.831.698
30.04615-9.581.655
50.07715-9.331.611
70.10815-9.101.572
90.13915-8.871.532
110.17015-8.661.496
130.20115-8.451.459
150.23215-8.251.425
170.26315-8.061.392
190.29415-7.871.359
210.32515-7.71.330
230.35615-7.531.301
250.38715-7.371.273
270.41815-7.221.247
290.44915-7.071.221
15-10.02310.361.598
15-30.06810.001.542
15-50.1149.661.490
15-70.1599.341.440
15-90.2059.041.394
15-110.2518.761.351
15-130.2968.491.309
15-150.3428.251.272
15-170.3878.021.237
15-190.4337.81.203
15-210.4787.61.172
15-230.5247.421.144
15-250.5697.261.120
15-270.6157.11.095
15-290.6616.971.075
Table 3. Optimality ranges of PV generation power.
Table 3. Optimality ranges of PV generation power.
PVP−*. r.u.P+*. r.u.ΔP−*. r.u.ΔP+*. r.u.ΔP−. MWΔP+. MW
PV10.581.30.420.327.158.1
PV20.681.30.320.314.0513.17
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Smolarz, A.; Smailova, S.; Ormanbekova, A.; Hunko, I.; Lezhniuk, P.; Lysyi, V.; Duisembayeva, L. Determining the Origin of Electricity Consumed from Low-Carbon and Renewable Energy Sources: A Matrix-Based Modelling Approach and Algorithm. Energies 2026, 19, 1620. https://doi.org/10.3390/en19071620

AMA Style

Smolarz A, Smailova S, Ormanbekova A, Hunko I, Lezhniuk P, Lysyi V, Duisembayeva L. Determining the Origin of Electricity Consumed from Low-Carbon and Renewable Energy Sources: A Matrix-Based Modelling Approach and Algorithm. Energies. 2026; 19(7):1620. https://doi.org/10.3390/en19071620

Chicago/Turabian Style

Smolarz, Andrzej, Saule Smailova, Ainur Ormanbekova, Iryna Hunko, Petr Lezhniuk, Vladyslav Lysyi, and Laura Duisembayeva. 2026. "Determining the Origin of Electricity Consumed from Low-Carbon and Renewable Energy Sources: A Matrix-Based Modelling Approach and Algorithm" Energies 19, no. 7: 1620. https://doi.org/10.3390/en19071620

APA Style

Smolarz, A., Smailova, S., Ormanbekova, A., Hunko, I., Lezhniuk, P., Lysyi, V., & Duisembayeva, L. (2026). Determining the Origin of Electricity Consumed from Low-Carbon and Renewable Energy Sources: A Matrix-Based Modelling Approach and Algorithm. Energies, 19(7), 1620. https://doi.org/10.3390/en19071620

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop