2.2.1. MT Controller Design
The MT is modeled as a driven current generator interfaced with a DC/AC converter. Let us consider the MT unit depicted in
Figure 1: the line-to-ground RMS voltage at the inverter output is
where
is the inverter modulation index,
is the DC-link voltage and
is given by
where
is the angular frequency of the inverter modulation signals and
is the MT voltage initial phase.
The MT voltage at the harmonic-filter output can be written as:
where
is the phase voltage at the harmonic-filter output and
is given by
being the AC-bus angular frequency measured via PLL and being the phase angle of .
For the sake of readability, from now on, the explicit time dependence will be omitted.
Neglecting
, the active power flow injected by the MT unit into the MG is given by:
where
is the inductive reactance of the harmonic filter at the rated frequency. Substituting (
15) and (
17) into (
18), one can easily obtain:
Inserting (
20) and (
21) into (
19), one obtains:
which enters the DC-link voltage dynamics:
where
is the DC-link capacitor and
is the power coming from the MT unit. It is well known that in an MT, there is a delay between the request of a certain amount of power and the delivered one. Thus, it is necessary to take into account the dynamics of the MT, which accounts at least for the time needed to provide the required power (
).
According to
Figure 2 and referring to [
19], the following relationship can be written, where
X is an auxiliary state:
That corresponds to the scheme depicted in
Figure 2.
From (
21) and (
24), it follows that:
The system presented in (
25) represents the physical dynamics of the MT. Moreover, as the modulation index has to remain constant at steady state regardless of the value it assumes in the range [0, 1], one can introduce its derivative
as a new variable and then set its reference value to zero.
The new system inputs are , and , while , , , X and are the states.
System (
26) is a non-linear continuous-time system in the form:
where
is the input vector,
is the state vector and
is a vector that collects measurements and estimated variables. In particular,
and
can be easily measured, while
can be estimated measuring the MT AC side active power and inverting (
22) as follows:
A detailed representation of the MT MPC controller can be found in
Figure 3.
Since the time evolution of measurements is unknown during the prediction, they are supposed to remain constant, which corresponds to set:
The mathematical model for the prediction in MPC controllers can be obtained linearizing and discretizing (
26). The linearization process is done for each time step k and leads to an equation such as:
where
and
are matrices obtained by partial derivation operations with respect to states, inputs and measurements, respectively. Once obtained, it is possible to discretize them through the following logic:
Then, substituting (
30) into (
31), one obtains:
where
,
and
indicate state, inputs and measurements, respectively, at time
.
Since the MPC equation must be in the form (
6), it is necessary to combine states and measurements in a single matrix, obtaining:
Finally, renaming the matrices of (
34), it is possible to obtain:
The MT MPC controller can regulate states, inputs and functions of states and inputs to a desired value. The latter case is typically represented by the reactive power, which can be expressed as a function of states and inputs as follows:
Unlike the other quantities, the reactive power is neither a state nor an input. On the contrary, (
36) is a non-linear combination of states and inputs, so one can linearize it in order to have a linear relation in the form of (
2) and then treat it as an objective in order to reach its reference value
.
The linearization process leads to an equation such as
Please note that (
37) has the same structure as Equation (
2).
and
are matrices obtained by partial derivation operations for each time step k with respect to the states and inputs, respectively.
The MT MPC control system objectives vary according to the operation mode. Its behavior can be divided in two different modes.
Slack node: the controller regulates and (grid-forming inveters);
PQ node: the controller regulates and (grid-feeding inverter).
The constraints of this controller are:
To limit the DC active power into a boundary level such that: ;
The MT unit frequency does not have to exceed the minimum limit and the maximum limit as well, so: ;
Even during transients, the inverter capability curve is never exceeded: , where is the rated inverter capability;
the MT AC voltage does not have to exceed the minimum limit and the maximum limit .
It is important to focus more attention on the last constraint related to the AC voltage. In order to satisfy it, it should be noted that the AC voltage can be expressed as follows:
where
is the voltage drop on the harmonic filter, which can be expressed with the typical voltage drop expression:
where
is the longitudinal resistance of the harmonic filter. Consequently, the problem can be expressed as a linear constraint involving the states
and
at each time step
k.
Since the MPC problem has been set using linear equations, the linearization of (
40) is mandatory.