This section briefly introduces the nonlinear mathematical model of DG, which mainly consists of two parts: speed regulation and excitation system of DG.
2.1. Modeling of speed control part
As shown in
Figure 2, the diesel in the DG is a kind of power machine, which can convert the heat energy in the diesel fuel into the mechanical energy required by the generator [
43]. Since the main driving output torque
of the diesel is a pulsating torque [
44], it can be decomposed into a mathematical expression in the form of a Fourier series, which can be described as:
where
is the DE pulsating torque;
is the average torque of one cycle;
is the
fth harmonic torque amplitude;
is the harmonic torque angular velocity;
is the
fth harmonic torque initial phase angle.
As shown in
Figure 3, a flywheel with a significant moment of inertia is installed on the main shaft of the diesel to keep the output torque of the diesel within the allowable range , which can make the flywheel rotation unevenness between
[
45]. During operation, the enormous flywheel torque ensures that the output torque of the diesel is uniform. Therefore, the output torque’s unevenness can be ignored in the diesel’s regular operation. In other words, the first constant in Eq. (
1) can be retained, and the rest of the harmonic torque composed of amplitude, phase, and frequency can be ignored, and Eq. (2) can be derived
The driving torque and rotating speed characteristics of DE are smooth curves, approximating several linear segments [
46]. Divide the driving torque and rotating speed characteristics of the diesel into
m sections; then each section can be written as
where
is the DE rotational speed; the constant value of
and
is determined by the positions of different segments (
).
It can be seen from the adjustment characteristics of the diesel that the relationship between the main driving torque
of the DE and the output throttle displacement
L of the actuator presents a specific linear relationship [
48]. At the same time, the driving torque of the diesel has a certain lag, then the adjustment characteristic of the diesel can be expressed as
where
is the torque at rated oil supply;
is the rated stroke of the DE actuator;
is the no-load stroke of the DE actuator;
is the DE torque lag time.
Through the above analysis and derivation, the rotating speed characteristic and adjustment characteristic of the integrated the DE can be obtained as the expression of the driving torque
:
When the DE is running at the rated speed, the segment described in Eq. (
5) can be described as
Define
, then Eq. (
6) can be written as
The rotational speed, the number of cylinders, and the number of strokes of the diesel determine the torque lag time
of the diesel [
47]. Generally, the following equation can be used to estimate the value range
where
is the DE stroke coefficient;
is the number of DE cylinders.
The diesel parameters studied in this paper are: the value of rated speed
, the number of cylinders is 16, and the stroke coefficient
. According to Eq. (
8), the value range of
can be calculated as
. The speed transition time of the diesel is 2 seconds, and
is very small compared with it and can be ignored. Therefore, Eq. (
7) can become
where
L is the throttle actuator displacement.
The relationship between the rotational speed of the diesel
and the angular velocity of the crank shaft
is
where
is the angular velocity of the crankshaft shaft.
Eq. (
9) can be written as:
The dynamic motion equation of the main shaft of the DG set can be expressed as
where
J is the DE rotational moment of inertia;
is the DE spindle angular velocity;
is the DE output shaft torque;
is the DE load torque; and
is the generator damping torque.
The damping torque
is generated by the damping winding of the synchronous generator, and its characteristic is that it is proportional to the electrical angular speed of the generator rotor, which can be calculated by Eq. (
13).
where
D is the damping factor;
p is the number of synchronous generator pole pairs.
Substituting Eq. (
11) and Eq. (
13) into Eq. (
12) get
General variables are marked per unit value in the research and analysis of electric power systems. In order to unify the form, Eq. (
14) can be standardized as per unit value. This paper converts the mechanical angular speed into electrical angular speed and then standardizes the power, torque, and angular speed to study the speed response of the diesel. This paper defines the rated apparent power
of the DG as the reference value of power and defines
as the reference value of the angular speed. Therefore, in standardized form, Eq. (
14) can be written as
where
is
.
Ignoring the no-load torque and the winding loss,
is equal to the output torque of the synchronous generator. In the stability analysis or control system design, for the convenience of calculation, or it is considered that the angular speed
does not change much during the transient process, approximately equal to the synchronous speed, that is,
. Therefore, Eq. (
15) can be derived as
The output power
of the salient-pole synchronous generator can be described as
where
is the q-axis transient potential;
U is the DG terminal voltage;
X is the generator winding reactance.
The relationship between generator rotor angle
and electrical angular velocity
be described as
where
is the diesel generator idle angular speed.
From Eq. (
16), (
17) and (
18), the mathematical model of the electrical transient process of DGs is
in the above, the definitions of
,
,
,
, and
a are as follows