Analysis of Influence of Ship Roll on Ship Power System with Renewable Energy

Renewable energy ship was regarded as one of the ship energy technologies with a good prospect. In order to study the application of solar and wind energy on ships in the marine environment and the impact of ship rolling on the system, the feasibility of applying solar energy and wind energy to ships was analyzed, and the structural composition of ship power system incorporating renewable energy source was studied. The model of the ship power system integrated with renewable energy was built in PSCAD/EMTDC simulation software. The layout of wind power generation system and photovoltaic power generation system was given for the actual ship, and the ship parameters and specific parameters of each simulation module were determined. It can be seen that the rolling of ship will cause fluctuations in the grid-connected power of the photovoltaic power generation system and the wind power generation system from the comparison of the simulation curves. Finally, a simulation experiment is provided to prove the access of the battery can well suppress the grid-connected power fluctuation caused by the rolling of the ship, which has an important impact on the stability of the ship power system with renewable energy.


Introduction
With the gradual depletion of oil resources and the increasing global demand for oil, economists predict the global oil resources will be exhausted around 2050, leaving the energy problem needs to be solved. At the same time, it is urgent to develop green ships to cope with global warming in order to protect the environment [1]. Ecological ships, which introduce solar energy and wind energy as ship power energy, cannot only completely change this unfavorable situation but also bring significant economic benefits [2][3][4]. Ecological ship with renewable energy has better endurance and redundancy, less fuel consumption, less pollution, low noise and many other advantages compared with traditional ship, which is regarded as one of the promising ship energy technologies [5][6][7]. The degree of automation and electrification of modern ships has been continuously improved, and the stability of ship power system has increasingly become the guarantee for the normal navigation of ship and the safety of people on board [8][9][10]. Therefore, the key to ensuring the smooth development of green ships is how to improve the stability of ship power system incorporating renewable energy sources [11].
For the stability of renewable energy power generation system, there are the following related studies. In [12], the influence of wind speed disturbance on the dynamic stability of wind power generation system is studied, and a new control strategy is proposed for the variable-speed operation of wind turbines with permanent magnet synchronous generators. In addition, the influence of wind power fluctuation on the voltage stability of grid connected wind power under different wind speeds is studied in [13]. The research in [14,15], respectively, shows the impact of different light intensities on photovoltaic power generation systems and the impact of photovoltaic grid connection on the stability of the whole power system. For the ship power system, not only the renewable energy itself but also the ship rolling affect the stability of the output of the renewable energy power generation system. Ship rolling refers to the periodic reciprocating motion of the ship around its longitudinal axis under the action of wind and wave. A ship sailing on the sea will produce six degrees of freedom motion, in which the rolling motion has a large swing angle, and it has the greatest impact on the operation of the ship [16]. Especially for the ship integrated with renewable energy, rolling will affect the output of the renewable energy power generation system arranged on the ship and put the output of the system in a state of fluctuation.
The previous research [17][18][19] only realized the application and stability analysis of photovoltaic system in ship power system and established pv/diesel/ess hybrid power system, considering the use of flywheel energy storage to reduce the impact of ship rolling. In addition, the whole system was optimized to reduce the cost of the hybrid ship power system and greenhouse gas emissions. Therefore, on the basis of the original research, this paper uses the battery with lower price and studies the wind power generation system and photovoltaic power generation system at the same time. In addition, the container ship is chosen as the research object, and the layout of new energy power generation system on this ship is proposed. Photovoltaic panels are laid by installing a photovoltaic panel bracket at the bow and stern of the ship, and a permanent magnet synchronous wind generator with a rated power of 10 kW is installed at the center of the ship, simultaneously. Then, PSCAD/EMTDC simulation software is used for simulation analysis of ship power system, photovoltaic power generation system, wind power generation system and energy storage system. Through the renewable energy experimental platform, the influence of photovoltaic power generation system and wind power generation system on the stability of ship power system after accessing the ship power system and the influence of ship roll on the stability of ship power system are studied. It is verified that the battery can suppress the fluctuation of system output caused by ship rolling.
The rest of the paper is organized as follows: Section 2 briefly describes the system configuration and establishes the mathematical model of the renewable energy ship power system. Section 3 presents a control strategy of ship rolling. Section 4 analyzes the influence of ship rolling on the stability of the renewable energy ship power system through simulations. Section 5 draws conclusions.

Hybrid Power Ship Modeling and Analysis
Wind power generation and photovoltaic power generation are applied on container ship. A wind generator is built in the center of the ship deck and photovoltaic panels are laid on the photovoltaic panel bracket. Diesel engine is the main power source of ship power system; wind power generator and photovoltaic power system are finally integrated into the ship grid.

System Configuration
In this paper, a container ship is chosen. The main parameters of the ship are shown in Table 1, and the hull view is shown in Figure 1. Taking the parameters of YGE235 series photovoltaic panels of Yingli Green Energy Holding Co., Ltd. as the simulation parameters of this paper. Photovoltaic modules test conditions: irradiance is 1000 W/m 2 , battery temperature is 25 °C, air mass (AM) is 1.5. The electrical performance parameters of this series of photovoltaic modules under standard test conditions are shown in Table  2. The selected wind turbine is a three-phase permanent magnet synchronous generator with rated output power of 10 kW. The main parameters are shown in Table 3.  Batteries: lead-acid batteries are used as energy storage batteries. There are 16 batteries whose terminal voltage is 12 V and capacity is 250 Ah.
The schematic diagram of photovoltaic panels and wind turbines on the ship is shown in Figure  1. The installation of photovoltaic panel bracket in two areas of the bow and stern can make the ship have enough large area to lay photovoltaic panels, and photovoltaic panels are laid on the photovoltaic panel bracket. The bracket can be moved horizontally back and forth so as not to affect the loading and unloading of containers while loading or unloading. The wind turbine is located in the center of the ship, so it can minimize the shadow of wind turbine tower and wind turbine blade on the photovoltaic panel, regardless of the ship's course. The advantage of the arrangement is that it minimizes the influence of wind turbines and towers on the stability of the ship.
The area of each photovoltaic panel bracket is about 200 m 2 , and the total is about 400 m 2 . The number of photovoltaic panels laid in each region is about 110, and the maximum output power of photovoltaic panels in each region is about 25 kW. The photovoltaic power generation systems in the two regions are respectively integrated into the ship power system, and the total grid-connected power of the two photovoltaic systems is about 50 kW.
Hybrid energy system integrated with wind, solar, diesel and energy storage belongs to the direct current (AC)/alternating current (DC) hybrid system, in which the grid-connected operation of wind turbines needs to decouple the frequency relationship between the power grid and the generator. There is a DC access point, so the system structure needs to consider the following points: Adopt DC bus structure-the output of the wind turbine only needs to be connected with the DC bus through the AC/DC converter, which has a simple structure and low reliability of power supply. Adopt AC bus structure-the wind turbine set needs to be connected to the AC bus through the AC-DC-AC link, and other DC sources also need to be connected to the AC bus through the DC/AC converter, which has a complex structure and high power supply reliability [20,21]. After comprehensive consideration, DC bus structure is proposed to be adopted, as shown in Figure 2.

Wind Power Generation System
The wind turbine drives the permanent magnet synchronous wind generator to rotate through the rotating shaft and the gearbox. The AC generated by the generator becomes DC after passing through the uncontrollable rectifier circuit and then becomes AC through the inverter circuit after passing through the capacitor voltage regulation and then into the ship power system [22]. The topological structure of wind turbine generator set, rectifier and inverter circuit is shown in Figure 3.
The original dynamic model of permanent magnet synchronous generator is very complex. We usually need to simplify by coordinate transformation in the theoretical research. After simplification, it leads to the following: where e T is the electromagnetic torque of generator, p is the number of pole pairs, f ψ is the flux of the rotor, d L and q L are self-induction of stator coil of direct axis and quadrature axis, respectively; sd i and sq i are the stator current of direct axis and quadrature axis, respectively.
The wind turbine is a non-salient pole permanent magnet synchronous wind power generator with uniform air gap. The inductance on d-axis is the same as that on q-axis, that is, It is assumed that Equation (1) contains two parts: One part is the torque component of stator axis current and the permanent magnet torque generated by the flux linkage of permanent magnet itself, that is 1 e T ; the other part is the reluctance torque 2 e T generated by the excitation component and torque component of the stator current generated by the salient pole effect. The torque of these two parts is proportional to the stator current sq i , so in fact, the generator's electromagnetic torque is only controlled by the stator current component sq i .
The blades convert the wind energy into mechanical energy when the wind blows and then drives the wind turbine to rotate through the transmission mechanism. The permanent magnet synchronous wind generator converts the mechanical energy of the impeller rotation into electrical energy. The process of wind turbine capturing wind energy involves complicated aerodynamic knowledge, which is analyzed in detail by leaf element theory. Since it can hardly be realized in engineering application, the approximate method is usually used to study the aerodynamic characteristics of wind turbines [23].
The power generated by the wind turbine can be described by the following equation: where ν is the wind speed, ρ is the gas density, A is the area swept by the blade rotation, p C is the wind energy utilization factor. This value can be used as a function of the pitch angle of the blade θ and the tip speed ratio λ under conditions where the wind turbine is constant: where M ω is the rotor angular velocity, R is the radius of area swept by the blade.
According to the relationship between torque and power, the torque of the wind turbine can be described as follows: The relationship between wind energy utilization coefficient p C and θ can be approximately described as:

Photovoltaic Power Generation System
In this paper, the photovoltaic system is mainly composed of four parts, including solar cell module, inverter system, AC grid-connected system and control system. Based on the photoelectric effect of semiconductors, photovoltaic panels converting solar energy into electrical energy, photovoltaic panels are similar to constant flow source at this time. The DC output from the solar panel achieves maximum power output through maximum power tracking control, maximizing the utilization of solar energy. The DC power is converted into stable AC after being inverted, which can be incorporated into the ship power system.
In Figure 4, ph I is the photocurrent. It is proportional to the illumination intensity received by photovoltaic panels and the area of photovoltaic modules; D I is the dark current of the photovoltaic cell, which describes the sum of the diffusion currents flowing through the P-N junction inside the photovoltaic panel under a certain temperature condition; it indicates the leakage current flowing through the P-N junction when the voltage is applied to the photovoltaic panel when there is no light irradiation condition; L I is the current flowing through the load; oc U is the open circuit voltage of the photovoltaic panel, which is proportional to the logarithm of the illumination intensity and inversely proportional to the ambient temperature at which the photovoltaic panel is located and has no relationship with the area of the photovoltaic panel; l R is the load resistance value; s R is the equivalent internal resistance inside the battery, which is usually lower than 1 [24][25][26]. It is usually composed of the resistance carried by the material itself, the transverse resistance of the PN junction diffusion layer, the resistance carried by the extraction electrode, and the non-contact resistance of the electrode and the silicon surface; sh R is the equivalent bypass resistance of the photovoltaic panel, and the resistance value is relatively high, generally several thousand ohms. Both s R and sh R are inherent resistance to photovoltaic panels. From the above definitions, the equations for current and voltage in the circuit shown above can be listed: where D I is the reverse saturation current, flowing through the equivalent diode P-N junction inside the photovoltaic panel, which is related to the material itself, and reflects the strength of the composite ability of the material apply to photogenerated carriers. Generally, it is considered as a fixed constant, which is not affected by the illumination intensity. SC I is the short-circuit current of the photovoltaic panel; D U is the terminal voltage of the equivalent diode, q is the electron charge, where L U is the terminal voltage of photovoltaic cells, P is the output power of photovoltaic cells.
According to the detailed analysis of the practical model of photovoltaic system, the corresponding model is established in the PSCAD/EMTDC simulation analysis software. A custom model is built in the PSCAD software, the illumination intensity and temperature are applied to the input of the model, the load current is applied to the output of the model, and the performance parameters under the standard conditions are applied to the parameters of the model: Write the characteristic equations of photovoltaic panels, and complete the establishment of the photovoltaic cell simulation model in the custom model.
In this paper, assume that the working temperature of the photovoltaic panel is 20 °C. The function of the parallel capacitor is to stabilize the DC bus voltage. The circuit breaker in parallel with the capacitor charges the capacitor when the photovoltaic system starts to work, and the charging voltage is usually 0.5 V, and the charging time is 0.5 s. T_1 switch tube is used to complete MPPT function to achieve the maximum power point tracking. Figure 5 shows the simulation model of photovoltaic system.

Battery System
Both photovoltaic power generation system and wind power generation system have intermittency and instability depending on the environment, which is aggravated by the ship roll, so the energy storage system becomes the stabilizer to ensure the grid-connected operation of photovoltaic power generation system and wind power generation system.
Energy storage technology can be roughly divided into physical energy storage, electromagnetic energy storage, phase change energy storage and electrochemical energy storage. Currently, the most popular energy storage methods are battery energy storage system (BESS), superconducting magnetic energy storage (SMES), electric double layer capacitor (EDLC) and flywheel energy storage system (FESS) [29]. Battery energy storage achieves charge and discharge mainly utilizing the chemical reaction between the electrode and electrolyte inside the battery, which is electrochemical energy storage. It can be divided into lead-acid battery, lithium battery and other types according to the different electrode and electrolyte. Compared with other energy storage methods, battery energy storage technology is the most mature, which has the characteristics of low cost, reliable operation and large capacity storage; therefore, battery energy storage is adopted in this paper. At present, there are many methods for battery modeling, the most common model is still the one proposed by Shepherd's in 1965 in terms of practical application [30]. The equivalent circuit of the Sheffield model is shown in Figure 6.
is the polarization voltage [31]. From the mathematical model, we need to determine the current capacity of battery. Since the remaining power is not easily obtained by direct measurement, estimating the remaining of the battery is the primary task of battery modeling. There are many ways to estimate this; the ampere integral method is employed in this paper: where t SOC is the current residual capacity of the battery, 0 SOC is the rated capacity, η is the battery charging and discharging efficiency, ( ) I τ is the battery discharge current.
Using the integral method to estimate the remaining capacity of the battery, the difficulty lies in the determination of the initial capacity of the battery and the accurate measurement of the charge and discharge current. The reason why the integral method is always used is that it is easy to implement, but it has some defects, such as not considering the influence of ambient temperature, battery aging, battery charge-discharge rate, self-discharge loss and so on. If a more accurate model estimate is needed, the above model needs to be modified. The original equation can be corrected by introducing the Peukert equation.
The battery simulation model is customized in the PSCAD simulation software because it is not provided in the PSCAD software library. The terminal voltage of the battery is not constant during the charging and discharging process, it changes slowly with the charging and discharging process. When the remaining capacity of the battery is relatively low, the terminal voltage of the battery will drop rapidly and cannot work normally; when the battery is charged to a certain level, its terminal voltage rises very slowly if it continues to charge. Due to the terminal voltage of battery always changing, the battery usually needs to get a stable output voltage through the DC/DC converter before it is connected to the system. In addition, the battery also has a rate capacity effect, and the effective capacity of the battery is related to the load. The larger the discharge current of the battery, the smaller the effective capacity [32,33]. While the battery keeps on discharging with a large current for a period of time and then continues discharging with a small current, the battery terminal voltage may gradually increase with the discharging; this phenomenon is known as the recovery effect. The recovery effect can increase the battery capacity.
The battery module has two inputs and two outputs. The state of SOC is estimated after the charge, and discharge current is integrated or differentiated. The current charge or discharge state is maintained when Reset is 0, and the battery is initialized when Reset is 1. Ebat outputs the current voltage of the battery to the controlled voltage source to simulate the change of the battery voltage. SOC outputs the current charge state of the battery as the basis for the battery charging mode switching. Figure 7 shows the battery simulation model. Ibatt is the charge/discharge current of the battery, which is limited by the limiting unit. When the capacity of the battery is lower than the set value, the battery will absorb power from the DC power supply, and the charging current is reversed. The internal resistance of the battery is 0.0023 Ω; the terminal voltage of the controlled voltage source is the actual terminal voltage of the battery.

Topological Structure of Ship Power System Integrated with Renewable Energy
All subsystems are packaged into modules that are ultimately connected into the renewable energy ship power system. The prime mover module includes diesel engine and governor; the torque of prime mover is fed into the diesel generator, and the generator speed is fed back to the governor module simultaneously. Both the photovoltaic power generator system and the wind power generator system are integrated into the ship power system through the inverter; the battery module includes the block battery and the DC-DC conversion circuit. The simulation model of ship power system integrated with renewable energy is shown in Figure 8.

Hull Roll Control Strategy
When the ship is in a calm sea, it is assumed that the sun is shining on the deck vertically, at which time the deck receives the maximum solar radiation. When the ship is rolling, the equivalent light-receiving area of the deck decreases as the roll angle increases, which can be equivalent to the where re R is the equivalent illumination intensity, e R is the maximum value of illumination intensity, θ is the toll angle of the ship, f is the roll frequency of ship.
As to wind turbines, the most severe fluctuation is that wind blows from the side of the hull to the wind turbine; assuming that the wind direction is horizontal, due to the roll of the ship, the effective area swept by the impeller of the wind turbine periodically fluctuates with the roll of the ship, which is equivalent to the periodic fluctuation of the energy received by the wind turbine. It can be equivalent to a periodic change in wind speed.
where re V is the equivalent wind speed, W V is the maximum value of wind speed.
In the simulation, it is assumed that the maximum roll angle of the ship is 40°. Through the equivalent of the ship roll model, the operation state of the ship power system during the ship roll is simulated. The data used in the simulation are all from the PSCAD software. Since the output curves of the same system under different parameters need to be compared, the output curves of different parameters of the same system need to be drawn in the same graph. So the simulation data of the PSCAD software are firstly exported, and then the comparison curve is drawn in MATLAB.

Simulation Analysis of Renewable Energy Ship Roll
In order to realize the application of renewable energy power generation on container ship, this chapter considers the impact of ship roll on photovoltaic power generation system and wind power generation system and introduces battery to increase the stability of the system. Throughout, the renewable energy experimental platform for the test and the obtained data curves are analyzed.

Experimental Conditions
The mathematical models of diesel engine and its governing system model, synchronous generator and its excitation system model, synchronous motor and its load model are respectively established, and the simulation models of each module are established with PSCAD software and then integrated into the entire ship power system. Although the partial simulation model of the ship power system adopts the idea of simplifying the process when building the model, the results of the simulation analysis show that the system can reflect the operational status of the ship power system in reality to some extent. Basic simulation parameters are shown in Table 4: The operation characteristics of photovoltaic power generation system and wind power generation system in the marine environment were simulated through the renewable energy experimental platform, and the output power of the photovoltaic panels at different inclination angles and the output power of the wind turbines under different winds directions were obtained. Based on the test results, the operation characteristics of the photovoltaic power generation system and wind power generation system in the marine environment are considered in the system simulation. The output voltage, current and power of the photovoltaic panels and wind turbines are saved as CSV table files by the data acquisition system, and the period of data acquisition is 0.5 ms. Then the saved data are filtered; the bad points are discarded, and MATLAB software is used to graph the data. Figure 9 shows the experimental platform of photovoltaic power generation system. Figure 10 shows the experimental platform of wind power generation system.  There are 8 photovoltaic panels tiled on a six-degree-of-freedom swing platform. The swing platform can simulate the pitch and roll of the ship during navigation. Only the roll with a large swing angle is considered here. The maximum swing angle of the swing platform is 18°, and the swing period is set to the ship roll period, assuming a period of 10 s. The light source above the swing platform is turned on. The light source is used to simulate sunlight and illuminate vertically onto the photovoltaic panel. The data acquisition system saves the system output. In the experiment, first, the size of the light is adjusted to make the photovoltaic panel output reach the rated operating conditions. Then the swing platform starts to swing in a period of 5 s and collects the output of photovoltaic panels.
A 1 kW permanent-magnet synchronous wind generator is fixed on another swing platform. Considering the instability of the wind turbine tail when the ship is rolling leads the wind turbine to rotate around the rotating shaft so that the wind turbine cannot operate normally. Therefore, this paper does not use wind turbines that align with the wind direction automatically. The direction of the wind rotor on the experimental platform is fixed. The wind turbine consists of four 1.1 kW wind turbines, the total power is 4.4 kW, which is enough to make a 1kw wind generator meet the rated operating conditions. In the experiment, the wind speed is firstly adjusted to make the wind turbine reach the rated operating conditions, then the swing platform starts swinging in a period of 10 s, and the output of the wind turbine is collected. Figures 11 and 12 show the output curves of the photovoltaic system and the wind turbine system. The smooth curve is the fitting curve.  In the simulation analysis of stability of the ship power system integrated with renewable energy, it is necessary to consider the impact of the ship's roll on the system.

Simulation Analysis of Photovoltaic System
On the horizontal direction, the rated illumination intensity is 1000 W/m 2 . When the ship is in the stationary state, the illumination on the photovoltaic cell panel is the rated illumination. When the ship is rolling, it equals to the effective area of the photovoltaic cell panel decreasing, which can be equivalent to the change of the illumination intensity. The equivalent illumination intensity is about 766 W/m 2 when the ship's roll angle is the largest; the light intensity is restored to 1000 W/m 2 when the ship's roll angle is 0 degree. Figure 13 is the comparison of the illumination when the ship is rolling at 0 and 40 degrees.  Figure 14 shows the change curve of grid-connected current when the ship is rolling. It can be seen from the figure that the grid-connected current also fluctuates periodically with the change of illumination intensity. The corresponding grid-connected current is the smallest when the ship's roll angle is the largest; the corresponding grid-connected current is the largest when the ship's roll angle is the smallest. The fluctuation of the grid-connected current does not lead the harmonics of the gridconnected current to increase. It can be seen that if there is no energy storage device, the gridconnected power will still fluctuate even if the light does not change.  Figure 15 is the comparative curve of grid-connected active power between the conditions of rolling and without rolling when no energy storage is accessed. The horizontal dotted line represents the change of grid-connected power of the photovoltaic system when the ship is not rolling, and the grid-connected power is stable at this time. The grid-connected power fluctuates when the ship is rolling. The battery access system not only stabilizes the DC bus voltage but also stabilizes the gridconnected current of the photovoltaic system. Figure 16 shows the grid-connected current curve after the battery is integrated into the photovoltaic system. It can be seen from the figure that the fluctuation of the grid-connected current is greatly reduced and almost as stable as that of the ship in the absence of rolling. Figure 17 is a comparison curve of active power when the battery is or is not connected. It can be seen from the figure that the grid-connected power curve of the photovoltaic system is fluctuating when the battery is not connected. The grid-connected power becomes relatively stable when the battery is connected.    It can be seen that the output power of the photovoltaic system fluctuates with the change of the roll angle of the ship, and the frequency of the fluctuation depends on the frequency of the ship rolling. Obviously, the fluctuation of the grid-connected power and the grid-connected current are low-frequency fluctuations, and the fluctuation period is several seconds or even tens of seconds. It can be seen from the above figures that the incorporation of the battery can well suppress the lowfrequency grid-connected power fluctuation caused by the roll and improve the stability of the photovoltaic grid-connected system. This also shows that the dynamic charge-discharge performance of the battery can meet the requirements of stabilizing power when the ship is rolling. The battery has enough fast charging and discharging speed to absorb power when the bus voltage is high and to emit power when the bus voltage is low. Therefore, for grid-connected power fluctuations of photovoltaic system caused by ship roll, cheap battery can be used to stabilize such power fluctuations, and it is not necessary to use other energy storage devices with higher prices.

Simulation Analysis of Wind Turbine
The effect of the rolling of the ship on wind turbine is similar to that of photovoltaic system. The rated wind speed of the wind turbine is 14 m/s. The equivalent wind speed is considered to be the rated wind speed when the ship does not roll; the equivalent wind speed changes according to the cosine curve when the ship is rolling. The wind speed curve is shown in Figure 19. The variation of wind speed causes the fluctuation of the rotation speed of the wind generator, as shown in Figure 19. The rolling of the ship causes the grid-connected power of the wind generator to fluctuate periodically with the change of rolling angle. The grid-connected power of the wind turbine fluctuates with the rolling of the ship when the battery is not connected. The grid-connected power becomes stable when the battery is connected. It can be seen that the incorporation of the battery reduces the fluctuation of power caused by the rolling greatly.  Figure 20 shows the SOC variation curve of battery in wind turbine generator. Due to the long start-up process of the wind turbine, during the start-up process, the bus voltage is low, which means that the battery has been in a state of discharge, and the remaining power SOC has been declining. When the wind turbine reaches the rated operating state, the bus voltage fluctuates with the rolling of the ship. Then the battery charged and discharged through the DC-DC conversion circuit, and the remaining capacity of the battery fluctuates periodically. When the battery charged for the bus, the remaining power decreased; when the DC bus charged for the battery, the remaining power of battery increased. It can be seen that the output power of the wind turbine fluctuates with the change of the roll angle of the ship. The frequency of the fluctuation still depends on the roll frequency of the ship, which is low frequency fluctuation. It can be seen from the above figures that the incorporation of the battery can well suppress the fluctuation of the low-frequency grid-connected power caused by the rolling and improve the stability of the wind turbine generator set. This also shows that the dynamic charge-discharge performance of the battery can meet the requirements of wind turbine generator set for stabilizing power when the ship is rolling. The charge-discharge speed is fast enough to absorb power when the bus voltage is high and emits power when the bus voltage is low.

Conclusions
The application of renewable energy such as solar energy and wind energy to ships can alleviate the problem of energy shortage to a certain extent and reduce environmental pollution. However, the marine environment is different from the terrestrial environment. Based on the application of renewable energy on land, the simulation model of the comprehensive utilization system of ship with renewable energy is established in this paper, and the effect of ship roll on the system is considered in the model. The main research results are as follows: 1. The simulation models of photovoltaic power generation system, wind power generation system, energy storage system and ship power system were established, and the correctness of the models was verified. Then each subsystem was combined together to form a ship power system simulation model integrated with renewable energy. 2. Different from the working environment on land, it is necessary to introduce the influence of ship rolling to the system simulation model when the ship is in the rolling state. For photovoltaic power generation system, the impact of rolling is equivalent to the change of illumination intensity; for wind generation power system, the impact of rolling is equivalent to the change of wind speed. 3. Experiments were carried out on the comprehensive experiment platform of renewable energy.
The grid-connected power curves of the photovoltaic system and wind turbine generator set were tested on the condition that the ship was rolling. The change of the grid-connected power of the experimental platform during the ship rolling is basically consistent with the simulation results. 4. By comparing the simulation results between the conditions of non-access battery and access battery, it can be seen that the dynamic charge-discharge performance of the battery can completely track the power fluctuations caused by the ship's rolling so as to stabilize the power fluctuations. It is not necessary to use other expensive energy storage devices or to combine the battery with other energy storage devices, which will reduce the capacity of other expensive energy storage devices; thus, the battery makes the whole system more economical.
Future research work will consider improving and perfecting the following contents, including comprehensively considering various factors to optimize the capacity of the battery to improve the economy, considering whether the hybrid energy storage system can better stabilize the power fluctuations caused by ship rolling.