1. Introduction
When mooring ships in a port, a source of electricity is required (i.e., for the operation of all systems). For this purpose, autonomous diesel generator (D-G) sets are commonly used. Depending on the power demand, from one to several D-G units can operate in a ship mooring at a quay. Each of these units can burn up to several tons of fuel every single day. D-G generating sets emit toxic compounds into the atmosphere. When analyzing various sources of air pollution in the port, it was stated that seagoing vessels are the main source [
1,
2,
3,
4,
5,
6].
Low-emission ports are an essential condition for global sustainable development. One of the most effective methods to reduce the emission of air pollution by ships is to use a “Shore to Ship” (STS) system; i.e., a universal system for the connection of the ship’s electricity network with the on-shore network [
1,
6,
7,
8,
9].
When the ship’s power supply is provided from the onshore power grid, the ship’s generating sets, which are the main source of air pollution and noise in the port, are turned off. When the generator sets are turned off, ship crews and port workers will benefit due to noise reduction (for example: the operation of D-G sets of 1 MW generates noise level of 140 dB) [
1]. Apart from the environmental aspect related to the exclusion of autonomous ship generating sets, the crew has the possibility to carry out their repair and inspection. Another important aspect of shore-side deliveries is the reduction in electricity costs, as shore-side electricity is cheaper than energy from ships’ generating sets [
1].
The versatility of the STS system for the connection of various types of vessels to the on-shore power network requires global standardization of the system.
The main problem in the technical implementation of the STS system is connected with matching the frequency and voltage level of the ship’s power network and the on-shore network [
1,
7,
8,
9]. In 2006, the European Union (EU) recommended the construction and development of systems for the collection of electricity from the on-shore network by ships moored in ports [
10]. In accordance with the EU recommendations, member states (during the building of systems) should follow the technical solutions presented in the annex to these recommendations (chapter: Technical requirements—typical configuration). The chapter concerning technical requirements defines the main elements of the STS system.
Figure 1 shows the configuration of the STS system based on the annex to these recommendations.
The presented configuration of the STS system does not introduce technical details for the construction of the system but only presents a very general solution. In 2012, the IEC (International Electrotechnical Commission), ISO (International Organization for Standardization) and IEEE (Institute of Electrical and Electronics Engineers) developed a global standard that enabled the standardization of the design and construction of STS systems [
11,
12]. This standardization was intended for ships with a power demand above 1 MW and it was based on high-voltage (HV) installations. In 2014, the standardization of STS systems for ships with a power demand below 1 MW (based on low-voltage (LV) installations) was developed [
12,
13]. There may be many topologies of the STS system that meet the described standards [
13,
14].
Figure 2 presents an exemplary topology of the system, which is in accordance with the IEC/ISO/IEEE standardization.
In addition to the main feature of universality, the STS system should ensure uninterrupted switching from the ship’s electricity network to the on-shore network and vice versa. The system is switched with the use of synchronization systems [
15,
16,
17,
18]. The switching of systems (national power grid to ship power grid) should be flexible; i.e., without dynamic load changes. When switching from the ship network to the on-shore network, power should be gently transferred from the ship’s generating sets; therefore, the STS system must be able to convert power in both directions.
The article considers and examines the methods for the control of an active semiconductor converter that is able to optimize the energy performance of the system. A similar solution can be used for on-shore power networks.
2. Functional Diagram of the ‘Shore to Ship’ (STS) Mechatronic System
The main elements of the analyzed STS system are two active converters connected with each other with the use of a direct current (DC) circuit (with a capacitive filter). The general functionality of the system is presented in
Figure 3.
The elements of the system (
Figure 3) include the following:
AFC—Active frequency converter;
AC_1, AC_2—Active converters;
ACCS 1, ACCS 2—Control system of active converters;
—Electromotive force, voltage and current vectors in the AC_1;
—Electromotive force, voltage and current vectors in the AC_2;
—Resistance and reactance in the alternating current circuit of the AC_1 converter
—Resistance and reactance of the ship load (or synchronous generator of the ship load)
—Voltage and capacity in the direct current circuit.
The operation of AC_1 is synchronized with the network. The angular (fundamental ) frequency of this network is determined by the automatic phase frequency regulation system (PLL). The operation of AC_2 is synchronized with the generating set on the ship. For example, in systems with synchronous generators, a rotor position sensor (SPS) is used for this purpose. In such a case, the angular frequency is dependent on the mechanical speed of the shaft (). AC_2 can also be connected to a passive load. In such a case, the electromotive force (E2) is replaced by the voltage drop on the load.
If the STS mechatronic system transfers active power from the on-shore network to the ship’s network, AC_1 acts as an active rectifier, and AC_2 acts as an inverter. When the STS mechatronic system transfers active power from the ship’s network to the on-shore network (when switching the ship’s electrical network to the on-shore network), AC_1 acts as an inverter, and AC_2 is an active rectifier. This two-way energy conversion capability (B2B—Back to back) is the main advantage of this system; an additional advantage is its ability to reduce losses to provide a sinusoidal form of current in the electrical network.
In the common DC circuit, only active power (Pdc) is transmitted. In AC circuits, active power (P1, P2) is transmitted, while reactive power (Q1, Q2) is exchanged in the AC circuits of AC_1 and AC_2 converters. The active powers P1, P2 are rigidly connected with each other (equal in the case of the negligence of losses in AFC), and the reactive power depends on the method of controlling the AC_1 and AC_2 converters. These powers are not dependent in any way and can be controlled independently of each other (decoupled control).
In [
19,
20,
21], methods of controlling active converters in an electric drive with a synchronous machine ensuring maintenance and zero reactive power were considered and analyzed.
In this article, the optimal control methods proposed in [
19,
20,
21] were extended with the control of the AC_1 active converter connected to the on-shore network in the STS system.
Analytical and modeling tests were conducted on the basis of the analysis of electromagnetic processes in quasi-steady modes, described in the classical works of scientists in the field of electrical engineering, electromechanics and automatic control theory [
22,
23,
24,
25,
26,
27,
28,
29].
3. Analysis of the STS System with Independent Control of AC_1 Active Converter
The mathematical description of electromagnetic processes in the STS system is realized with the use of the spatial vector method [
23,
24] and method of fundamental components [
25,
26].
In relation to the mains, the active converter AC_1 (
Figure 3) can be represented by electromotive force. Its fundamental component is equal to [
27]
where:
m—The modulation factor;
—The shift angle between the network voltage vector , and electromotive force vector of AC_1 (modulation angle);
—The value of electromotive force in relation to the x and y axis.
The angle depends on the control signal and the load (current in the circuit). If the modulation factor m and angle are considered as control signals, they can be set in the control system to a certain extent and used to examine the electromagnetic and energy characteristics of the system. This method of controlling the inverter is called independent control.
Testing the STS system with an independent control method enables the determination of the limits for status variables and properties.
The equation for electromagnetic processes in a determined operating mode based on Kirchhoff’s second law for the fundamental component of the STS system (
Figure 3) can be presented in the following way:
In order to explain the energy properties of the considered system, vector analysis was introduced. The STS vector graph in the synchronously rotating coordinate system (x, y), synchronized with the network, is presented in
Figure 4. In
Figure 4a, the vector graph corresponds to the case in which AC_1 operates in the mode of an active rectifier. For the case in which AC_1 operates in an inverter mode, the vector diagram of the system is shown in
Figure 4b.
In addition to the
x,
y coordinates connected with the network voltage
, so that
, in
Figure 4, the rotating axes
d,
q (connected with the electromotive force of the active converter CA_1) were marked in order to ensure that
. In the steady state, both coordinate systems are fixed to each other. The AC_1 converter is controlled by the ACCS_1 control system in
x,
y axes.
In relation to the mains, the STS system consumes active power when (i.e., AC_1 acts as the active rectifier) or transfers active energy to the network (i.e., AC_1 acts as the inverter). The system with independent control is described by a system of non-linear equations. This system has problems connected with the stability of operation in a certain range of changes of control signals. Converter current control should be used for the reliable and stable operation of the STS system.
4. Analysis of the STS System with Current Control
In the active converter connected to the network via a parametric choke (
r1,
X1), current control is usually realized when the current in CA_1 is generated with the use of negative feedback from the transmitter [
28,
29]. In such a case, the set (control) signals are network currents (
Ix,
Iy) in the x and y axes. Electromagnetic and energy characteristics in the STS system with current control are calculated with the use of Equations (3) and (4) prepared on the basis of the geometrical relations of the vector graph presented in
Figure 4.
where:
P1(1), Q1(1)—the active and reactive power in the power network;
PAC(1), QAC(1)—the active and reactive power in the AC_1 active converter;
ΔP1(1), ΔPAC(1)—the power losses in the network and in the AC_1 converter;
r1—the resistance of the whole STS system;
rAC—the equivalent resistance of the AC_1 converter.
The results of analytical tests presenting the energy characteristics for the STS system calculated on the basis of Equations (3) and (4) are presented in
Figure 5,
Figure 6 and
Figure 7 as dependences of active power
P1(1) and reactive power
Q1(1) in the load network (
Figure 5), as dependences of active power
PAC(1) and reactive power
QAC(1) in the active converter AC_1 (
Figure 6) and as power losses in the whole STS system and the converter (
Figure 7). The calculated energy characteristics calculated and constructed during the change of currents are
Ix and
Iy.
When evaluating the energy properties of the system with current control, the following conclusions can be drawn:
5. Analysis of the STS System with Optimized Current Control
The analysis of the energy performance of the STS system with current control AC_1 [
19,
20] proves that, with a certain dependency between control signals (
Ix,
Iy), it is possible to maintain reactive power in the supply network at a level of zero, regardless of the value and direction of active power flow transmitted by the STS system. This operating mode is determined as the optimized mode. It should be stressed that the optimized operating mode of the network does not coincide with the optimized mode of the AC_1 active converter. This difference results from the presence of a choke in the common circuit with parameters
r1,
X1.
For the analysis of the STS system with optimized power consumption from the network,
Figure 8 presents vector charts with a phase shift between current and voltage in the network of 0° (AC_1 is an active rectifier) or 180° (AC_1 is a network inverter).
The control of the active converter (AC_1) is realized with the use of a PLL (phase-locked loop) in x and y axes. In this case, the condition of optimality is met when
. Electromagnetic and energy characteristics are calculated on the basis of Equations (5) and (6) received from the geometrical dependencies of the vector diagram (
Figure 8). They have the following form:
The energy characteristics of the STS system for the optimization of the power consumption from the network, calculated with the use of Equations (5) and (6), are presented in
Figure 9.
During the optimization of power consumption from the network, the reactive power in the AC_1 converter is negative, both in the mode of an active rectifier and in the mode of a network inverter. This means that the network for the AC_1 converter is an active–capacitive load. In this case, the electromotive force (
E1) is greater than the voltage
U1 (
Figure 8).
Current control in the AC_1 converter takes place within the limits determined by the ratio of the
U1 network voltage and electromotive force at the AC terminals of the
E1 converter. In the time interval in which the instantaneous valve
exceeds the instantaneous valve
, the relay current regulator (in the control system) goes into the state of saturation and loses the ability to switch the converter’s transistors. During this time, there is no switching to the converter’s branches. This enables the relative time during which the converter’s transistors do not switch to be calculated, which can be presented (approximately) in the following way:
The presence of such an interval leads to a reduction in losses of
in semiconductor elements of the converter; this enables the calculation of the relative coefficient for the loss reduction:
The dependency of the relative loss reduction coefficient in relation to the current for the STS-optimized system is presented in
Figure 10. In abscissae, the current is shown in relative units (pu) defined as the ratio of real current
I1 to short-circuit current
:
Power losses in the AC_1 converter (taking into account the relative loss reduction coefficient,
λ) are determined in accordance with the following formula:
where:
—Power losses in the AC_1 converter determined on the basis of Equation (6).
The analysis of the STS energy characteristics can be conducted taking into account the losses in the AC_1 converter to the fundamental component, , and the reduction in switching losses λ in the converter, .
For the final conclusion regarding losses in the AC_1 converter, it is necessary to calculate not only the fundamental component (taking into account the reduction in switching losses, λ), but also the power losses at all other fundamental components that occur during the switching of transistors to the carrier frequency. These losses will be called switching losses.
When calculating switching losses in the active converter, a distinction should be made between currents in the converter phase and currents in semiconductor elements of the same converter phase. Currents in phases are responsible for power transfer; these currents are sinusoidal, because the transmission of power takes place at the fundamental frequency (modulation frequency). Currents in semiconductor elements are responsible for energy exchange. The exchange is carried out with the carrier frequency. A significant distortion of currents has an impact on switching losses, which can be taken into account with the use of the total harmonic distortion (THD) according to the following formula:
where:
—Switching losses in the AC_1 converter, taking into account all fundamental components, including the loss reduction coefficient, λ.
In the current control, the switching frequency (carrier frequency) in the AC_1 converter depends on the choke time constant (), the width of the hysteresis loop of the relay current regulator in the control system and the instantaneous value of the current I1. The switching frequency value for the systems (medium and high power) is in the range of 1–10 kHz.
The calculation of all energy indicators cannot be realized in an analytical way. This is still implemented with the use of imitation (virtual) models in the Matlab-Simulink environment.
6. STS System Studies
The block diagram of the STS system is shown in
Figure 11.
The main task of the STS system is electric energy transfer from the onshore grid to the ship’s grid. In this mode of operation of the STS system the AC_1 converter works as an active rectifier. The optimization block (OB) ensures the energy optimization of the system. As a result of the transformation of set currents , to the three-phase a, b, c coordinate system the preset currents were obtained, which in the tracking system (hysteresis) will provide a constant voltage value Udc in the DC circuit. An analogous control algorithm is realized in the ACCS_2 system. Switching between on shore grid and ship grid systems in transition states ensures controlled (soft) transfer of active power between both systems.
The model of the examined system is presented in
Figure 12.
The control of transmission in both directions of active power
P1 and reactive power
Q1 in the network is realized by current
Ix and
Iy (
Figure 12; Ix-set point, Iy-set point). The study compared a system with and without optimized power transmission control. The AC_1 converter is built as a secondary voltage stabilization circuit on the capacitor in the DC circuit (
Figure 11) [
20,
27]. In order to minimize the calculations in the simulation model (
Figure 12), a DC voltage source was used in the DC circuit, which allowed the possibility of control of active power flow in both directions to be checked, with a possibility to check the idea of energy optimization of the STS system. The use of a DC voltage source in a simulation model provided the control concept shown in the block diagram of
Figure 11.
The system is tested in two steady state conditions:
The state of power transmission from the mains to the ship’s network. In this case, active power is transferred from the on-shore network to the ship’s network. The AC_1 converter operates in the mode corresponding to the active rectifier.
The state of power transmission from the ship’s network to the network. In this case, active power is transferred from the ship’s network to the on-shore network. The AC_1 converter operates in the mode corresponding to the network inverter.
The system is tested in a transient status (with changes in the direction of active power’s transfer).
The energy processes in the system (
P1(1),
Q1(1),
PAC1(1),
QAC1(1)) are presented in
Figure 13. In the determined operating modes of the system, the reactive power in the network
Q1(1) is zero. A change in reactive power is observed during the transition of AC_1 from the active rectifier mode to the network inverter mode (
Figure 13). The reactive power in the converter (in steady states) is always negative and changes only in the transient state.
The power losses in the optimized STS system in steady and transient states in the case of changes in the direction of active power transmission are shown in
Figure 14.
The electromagnetic processes in the
U1,
E1,
I1 system in steady and transient states when switching AC_1 from the operating mode corresponding to the active rectifier to the operating mode corresponding to the inverter are presented in
Figure 15. In steady states, electromagnetic variables are sinusoidal.
Figure 16 presents the waveforms of voltage and current for the semiconductor elements in one branch of the AC_1 converter in the optimized STS system for two operating modes corresponding to different directions of active power in the STS system.
The system is tested in the state of active power transfer from the on-shore network to the ship’s network. The system is tested in a steady state and in a transient state during the change of reactive power.
Energy processes in the system (
P1(1),
Q1(1),
PAC1(1),
QAC1(1)) when switching the AC_1 from the operating mode corresponding to positive (inductive) reactive power to the operating mode corresponding to negative (capacitive) reactive power are presented in
Figure 17.
Power losses in the STS system in the discussed operating modes are presented in
Figure 18. Compared with
Figure 15, where
Q1(1) = 0, power losses in steady states increased by more than 10%.
The electromagnetic processes in the system
(U1,
E1,
I1) when switching AC_1 from the operating mode corresponding to positive (inductive) reactive power (
Q1(1) > 0) to the operating mode corresponding to negative (capacitive) reactive power (
Q1(1) < 0) are presented in
Figure 19.
Voltages and currents in semiconductor elements (
UVT1,
IVT1,
UVT2,
IVT2) for AC_1′s branch are presented in
Figure 20.
Figure 20 shows that, in the case of
Q1(1) > 0, there is no gap in the switching processes of semiconductor elements. In the case in which
Q1(1) < 0, the switching processes of semiconductor elements do not occur in a time interval lasting approximately 0.4 of the period’s duration.
The current spectrum of one semiconductor element in the optimized STS system (where operation of AC_1 corresponds to the active rectifier) is presented in
Figure 21a.
The current spectrum of one semiconductor element in the STS system (at
Q1(1) > 0 corresponding to the active rectifier) is presented in
Figure 21b.
Table 1 presents a comparison of the STS system with and without energy optimization in terms of power losses in the transmission line (Δ
P1(1)), power loss (fundamental component) in the AC_1 converter (Δ
PAC(1)) and switching losses in AC_1 (Δ
P1AC(λ,n)).
The formulas (4), (11) and the results of the tests presented in
Figure 14,
Figure 18 and
Figure 21 were used in the calculations. The calculations were made for the resistance of the transmission lines
r1 = 6 × 10
−4 Ohm and constant active power
P1(1) = 1.2 MW. The results are presented for the STS system without optimization
Q1(1) > 0 (
Iy = 2500 A,
Ix = 1000 A) and with optimization
Q1(1) = 0, (
Iy = 2500 A,
Ix = 0 A).
It should be noted that for STS systems of higher power (e.g., for STS systems supporting passenger ships, the transferred power is from a dozen to several dozen MW) and with a lower power factor, the value of the proposed system’s energy optimization will be more significant.
7. Conclusions
The basic problem in the design and implementation of the STS network is connected with the increase in energy efficiency. Currently, the energy efficiency, normally understood as the ratio of active output power to active input power (P2/P1), is relatively large, and it is difficult to expect significant improvement. However, enterprises (companies and production plants) incur costs that are not only connected with active power consumption but also with reactive power consumption.
As mentioned above, it is difficult to minimize costs related to active power consumption. The issue of reactive power compensation is still being developed. Apart from reactive power compensators (constructed from capacitors—passive compensators (PC)), it is also possible to build active compensators (AC), which use active converters (energy electronic converters).
Energy optimization in the STS system (which reduces the reactive power in the supply network to zero) reduces the loss in the entire system for the fundamental components and decreases switching losses on the carrier frequency in the semiconductor elements of the active converter by approximately 15–30%.
In the active converter (when switching semiconductor elements), there is an increase in switching losses proportional to THD. These losses should be taken into account during the calculation of energy indicators.
In addition to the optimization of the above quantities, active converters are also able to change the direction of power flow. The discussed conclusions were confirmed by the results of analytical and model tests; our contributions in this paper are, therefore, as follows:
A method of analysis of steady state electromagnetic and energetic processes in the “port power grid–active converter” circuit has been developed.
An analytical method has been developed to determine the active and reactive power in the port power supply network and active converter, as well as to determine power losses in this circuit.
The optimal control of the active converter was synthesized when the reactive power in the port power supply network was equal to zero.
For the developed optimal control algorithm, the power in the port’s power supply network and in the active converter was calculated.
The developed method of calculating switching losses was based on the spectral analysis of currents in semiconductor elements of the active converter.
A simulation (virtual) model of the “port power network–active converter” system has been developed.
The comparison of the simulation results with theoretical results allows us to recommend the developed methods of analysis and calculation for the design of an STS in a wide power range, as well as for use in medium-voltage STS systems. Transmission of reactive energy through power grids has many negative effects, such as voltage drops, heating of cables, and reduction of capacity of infrastructure used for energy transmission. The importance of the proposed increase in the energy efficiency of the STS system (the study examined an STS system with a power of about 1 MW) is growing for systems with higher power due to the economic effects.
It should also be emphasized that the proposed strategy to control the converter with energy optimization has reduced transistor power loss during switching by reducing the number of switches over the period. This increase in the converter’s efficiency results in the improvement of the efficiency of the whole STS system, which is particularly important for high-power systems.