Comprehensive energy management system and method for switching strategy of ship box type mobile power supply
By designing a shipboard box-type integrated energy management system, the lithium battery status is monitored in real time and automatically switched, solving the problem of insufficient range caused by fixed installation of lithium batteries in existing technologies, and improving grid stability and range.
Patent Information
- Application Number
- CN202410932766.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-11-01
AI Technical Summary
Most existing lithium batteries for battery-powered ships are fixedly installed and can only be charged from shore. There is a lack of effective methods for managing ship power energy, resulting in insufficient range and low sailing efficiency, especially for ultra-large capacity lithium battery-powered cargo ships.
Design a shipboard box-type power supply integrated energy management system, including a box-type power supply thermal management matrix, a control structure of PLC controller-switch network cabinet-battery box, and a state machine control algorithm. The system monitors the box-type power supply status in real time, automatically switches and puts the power supply into normal mode through the PLC controller, and ensures the stable operation of the DC power grid.
It has enabled the stable operation of the ship's DC power grid and improved its endurance, avoiding the "tank switching" phenomenon of low power supply when changing tanks on shore, improving navigation efficiency and power grid reliability, and extending the healthy lifespan of batteries.
Smart Images

Figure CN118889683A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of container management and information construction, and in particular to an integrated energy management system and method for a ship box-type mobile power supply replacement strategy. Background Art
[0002] In response to the country's requirements for building low-carbon water transport, reducing social logistics costs, and protecting the ecological environment, based on the existing scientific research foundation and ship projects, a set of comprehensive energy management software with real-time monitoring and online power replacement is designed for ship-mounted mobile power supplies: through real-time monitoring of the box power supply, when the box power supply used is low in power or fails, power replacement control is carried out, and the normal box power supply is switched to the grid, which can timely and effectively ensure the stable operation of the ship's DC power grid, while increasing the ship's endurance, providing an important reference for the development of new energy ships in my country.
[0003] Most of the existing battery ships are domestic cruise ships and small distribution ships. At the same time, most lithium batteries are fixedly installed and can only be charged on the shore. The endurance is insufficient and the navigation efficiency is low. At the same time, there is little research on ultra-large capacity lithium battery powered cargo ships. There is no effective response strategy for the comprehensive energy management of ultra-large capacity lithium batteries, which needs further research. Summary of the invention
[0004] In order to solve the technical problems in the prior art that most of the lithium batteries of ships are fixedly installed and can only be charged on the shore, and there is a lack of effective ship power energy management methods, the present invention proposes a ship box-type power integrated energy management system and method, which monitors the box-type power status in real time. When the box-type power is low or fails, it is switched to the next normal box-type power in time to ensure the stable operation of the DC power grid.
[0005] In order to achieve the above object, the present invention adopts the following technical solution:
[0006] A ship box-type power supply integrated energy management system, comprising:
[0007] The box-type power supply thermal management matrix configuration unit includes: a box-type power supply arrangement scheme recording module and a thermal management matrix module that selects a corresponding box-type power supply thermal management matrix based on the box-type power supply arrangement scheme recording unit;
[0008] PLC controller-switch network cabinet-battery box control structure configuration unit: each ship is equipped with at least one standard container battery pack, using a PLC controller-switch network cabinet-battery box control structure, the PLC controller sends control instructions to the switch network cabinets on the left and right sides of the ship, and the switch network cabinets interact with the battery box for data;
[0009] State machine control algorithm configuration unit: used to design the box power state in the box power state machine, the state includes the box power state includes: state 0: normal use, return; state 1: low power, judgment: there is a box power in the battery replacement, waiting; no box power is in the battery replacement, battery replacement application; state 2: emergency processing, over-control operation; state 3: confirm the box replacement, enter the box selection logic; state 4: box replacement failed; state 5: box replacement completed, put into use, return; state 6, 7: fault alarm;
[0010] PLC controller: The PLC controller is configured according to the configuration scheme of the box-type power supply thermal management matrix and the control structure of the PLC controller-switch network cabinet-battery box, and is composed of left and right slave station PLC controllers and a master station PLC controller. The master station PLC controller includes: a monitoring module for real-time monitoring of the box-type power supply information read by the switch network cabinet and a control instruction issuing module; the control instruction issuing module is used to initialize the PLC control software parameters and start the left and right slave station PLC controllers; the slave station control device includes: a slave station control instruction issuing module that issues the control instructions of the master station to the switch network cabinet, a box-type power supply state machine that reads the parameters of the box-type power supply from the switch network cabinet and checks the box-type power supply status, and a box-changing instruction issuing module; the box-changing instruction issuing module uses a box-type power supply switching algorithm to determine whether to switch the box-type power supply when the box-type power supply SOC reaches a threshold, and issues an instruction on whether to switch the box-type power supply to the switch network cabinet;
[0011] Switch network cabinet: The switch network cabinet starts according to the slave station control instruction and executes the slave station switching box power supply instruction; performs the box changing operation.
[0012] A method for comprehensive energy management of a ship box-type power supply,
[0013] S1: Configure the box-type power supply thermal management matrix: select the arrangement scheme of the box-type power supply manually or according to the characteristics of the ship, and select the corresponding box-type power supply thermal management matrix according to the arrangement scheme of different ships;
[0014] S2: Configure the control structure of PLC controller-switch network cabinet-battery box: Each ship is equipped with at least one standard container battery pack, and adopts the control structure of PLC controller-switch network cabinet-battery box. The PLC controller is used to send control instructions to the switch network cabinets on the left and right sides of the ship, and the switch network cabinet is used to exchange data with the box-type power supply in the container battery pack;
[0015] S3: Based on the state machine control algorithm, the box power state in the box power state machine is designed, and the states include: state 0: normal use, return; state 1: low power, judgment: there is a box power supply in power replacement, waiting; no box power supply is in power replacement, power replacement application; state 2: emergency processing, over-control operation; state 3: confirm box replacement, enter box selection logic; state 4: box replacement failed; state 5: box replacement completed, put into use, return; state 6, 7: fault alarm;
[0016] S4: Select the box-type power supply according to the configuration scheme and control it through the PLC controller: the PLC controller monitors the box-type power supply information read by the switch network cabinet in real time, initializes the PLC control software parameters, starts the slave control device, starts the network cabinet (i), calls the interface function, checks the box-type power supply status and converts these functions into control instructions and sends them to the switch network cabinet; the slave PLC controller reads the parameters of the box-type power supply from the switch network cabinet, and when the box-type power supply SOC reaches the threshold, the slave controller calculates the next box-type power supply, and sends instructions to the switch network cabinet to switch the box-type power supply; the configuration scheme is the box-type power supply thermal management matrix described in S1 and the control structure of the PLC controller-switch network cabinet-battery box described in S2.
[0017] Preferably, the ship's PLC controller monitors whether the box-type power supply has thermal runaway. When the box-type power supply is arranged on the upper deck, if thermal runaway occurs, the box-type power supply with thermal runaway needs to be immediately isolated from the ship's power grid. At the same time, the box-type power supplies above and behind the box are affected box-type power supplies, and the PLC controller controls the affected box-type power supplies to be disconnected from the ship's power grid.
[0018] Preferably, the configuration scheme in S4 gives priority to using a normal box-type power supply located at the top.
[0019] Preferably, the switch network cabinets on the left and right sides of the ship described in S2 are respectively controlled by slave station PLC controllers, and the upper computer touch screen interacts with the main controller to send instructions to the slave station to realize the control of the box-type power supply; when the main coupling switch is closed and the left and right sides operate in parallel, the master station is responsible for data communication and logical operations between the slave stations.
[0020] Preferably, the arrangement scheme of the box-type power supply described in S1 is: the batteries are stacked symmetrically on the left and right sides, and the box numbers increase from top to bottom: any of the following modes can be selected to set the box-type power supply: 36-box mode is set to three layers, 24-box mode is set to two layers; 12-box mode is set to two layers.
[0021] Preferably, the box-type power supply state machine described in S3 is initially in normal use status. When SOC<20% and no other box-type power supply is in battery replacement status, it switches to a box replacement prompting status: if you choose to confirm the box replacement, the box replacement operation is performed until the box replacement is completed and the normal use status is restored; if the box is overridden and the box is not replaced (overriding control is not a fault state, but control authority), the original battery box is continued to be used until SOC<15%, and then the box replacement operation is performed until the box replacement is completed or the box replacement fails; if the battery box in normal use fails or the original battery box replacement fails, a fault alarm status is triggered.
[0022] Preferably, the method of the box changing operation is:
[0023] S31: Get the column number of the currently connected box-type power supply;
[0024] S32: Preselected box number = the top box number in the column i = 0;
[0025] S33: Determine whether i is less than the number of box layers; if so, pre-select and go to S34; if so, pre-select box number = the top box number of the adjacent column i = 0, and go to S35;
[0026] S34: Continue to determine whether the box number! = 0 and the branch circuit has no fault, and there is no ESD, and SOC>20; if so, switch to the box and the process ends; if not, pre-select the box number = the next layer box number and go to S33 to continue to determine the number of box layers;
[0027] S35: Determine whether i is less than the number of box layers; if so, pre-select and go to S36; if so, report an error, display that there are no boxes available in this group, and the process ends;
[0028] S36: Determine whether the box number !=0 and the branch has no fault, no ESD, and SOC>20; if so, switch to the box and end the process; if not, set the pre-selected box number = the next layer box number and return to S35.
[0029] Preferably, the PLC controller in S4 also includes: optimization and protection control of the box-type power supply, current and power equalization calculation, power limit calculation, and priority tripping judgment.
[0030] Preferably, the PLC controller described in S4 includes a master station controller and port and starboard slave station controllers. The master station controller communicates with the port and starboard slave station controllers through a communication protocol; the port and starboard slave station controllers communicate with each control module and a box-type power switch network cabinet through a switch.
[0031] Beneficial effects:
[0032] The present invention provides a comprehensive energy management system and method for ship box-type power supplies. According to the thermal management matrix in the box-type power supply thermal management matrix configuration unit and the box-type power supply layout scheme, different box-type power supply layout schemes include 12 boxes, 24 boxes and 36 boxes, corresponding to different thermal management matrices, and must be controlled one by one. At the same time, the box-type power supply control strategy of the comprehensive energy management system is designed. The PLC controller is responsible for the logical judgment of box-type power supply selection and fault separation, and automatically sends control instructions to the switch network cabinet. The functions implemented include: communication heartbeat maintenance, power monitoring, box selection operation, box and power replacement, fault alarm, thermal runaway alarm, etc. When changing boxes, priority is given to the box-type power supply with electricity on the upper layer, which is convenient for shore-based power replacement and increases the efficiency of navigation endurance. Third, a box replacement method is set. The box replacement has an override function. In an emergency, you can choose not to change the box, and the SOC continues to be used to the set value. The present invention utilizes the state machine control algorithm in the state machine control algorithm configuration unit to monitor and control large-scale lithium battery packs, which not only monitors the status of a single box-type power supply, prolongs the healthy use of the battery, but also ensures the stability of the DC bus voltage, meets the energy supply needs of the entire DC power grid, and further improves the reliability and energy utilization of the DC power grid. The switch network cabinet manages the ultra-large capacity box-type power supplies in groups. Except for the box-type power supplies in use, the remaining power supplies are all standby. Based on the control algorithm of the state machine, the power replacement logic judgment is performed, and the upper box-type power supply is used first, avoiding the "box reversal" phenomenon of the low-power power supply box below when changing boxes on the shore, and avoiding the problem of power loss on the entire ship caused by multiple switch network cabinets changing power at the same time. The comprehensive energy management software of the box-type power supply that uses power replacement ensures the stability and safety of the ship's DC power grid and improves the ship's endurance. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 This is a structural diagram of a ship box-type power integrated energy management system of the present invention.
[0034] Figure 2 The present invention is a flow chart of a method for comprehensive energy management of a ship box-type power supply.
[0035] Figure 3 This is the comprehensive energy management topology diagram adopted by the present invention.
[0036] Figure 4 This is a schematic diagram of the 36-box battery placement mode used in the present invention.
[0037] Figure 5 This is a schematic diagram of the 24-box battery placement mode used in the present invention.
[0038] Figure 6 This is a schematic diagram of the 2-layer mode of placing 12 boxes of batteries used in the present invention.
[0039] Figure 7This is a thermal management matrix diagram of the 36-box model adopted by the present invention.
[0040] Figure 8 This is a thermal management matrix diagram of the 24-box model adopted by the present invention.
[0041] Fig. 9 This is a thermal management matrix diagram of the 12-box model adopted by the present invention.
[0042] Fig.10 The box-type power supply state machine designed based on the state machine control algorithm adopted by the present invention.
[0043] Fig.11 This is a box changing flow chart adopted by the present invention. DETAILED DESCRIPTION
[0044] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several variations and improvements may be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
[0045] like Figure 1 As shown, a ship box-type power integrated energy management system includes:
[0046] The box-type power supply thermal management matrix configuration unit includes: a box-type power supply arrangement scheme recording module and a thermal management matrix module that selects a corresponding box-type power supply thermal management matrix based on the box-type power supply arrangement scheme recording unit;
[0047] PLC controller-switch network cabinet-battery box control structure configuration unit: each ship is equipped with at least one standard container battery pack, using a PLC controller-switch network cabinet-battery box control structure, the PLC controller sends control instructions to the switch network cabinets on the left and right sides of the ship, and the switch network cabinets interact with the battery box for data;
[0048] State machine control algorithm configuration unit: used to design the box power state in the box power state machine, the state includes the box power state includes: state 0: normal use, return; state 1: low power, judgment: there is a box power in the battery replacement, waiting; no box power is in the battery replacement, battery replacement application; state 2: emergency processing, over-control operation; state 3: confirm the box replacement, enter the box selection logic; state 4: box replacement failed; state 5: box replacement completed, put into use, return; state 6, 7: fault alarm;
[0049] PLC controller: The PLC controller is configured according to the configuration scheme of the box-type power supply thermal management matrix and the control structure of the PLC controller-switch network cabinet-battery box, and is composed of left and right slave station PLC controllers and a master station PLC controller. The master station PLC controller includes: a monitoring module for real-time monitoring of the box-type power supply information read by the switch network cabinet and a control instruction issuing module; the control instruction issuing module is used to initialize the PLC control software parameters and start the left and right slave station PLC controllers; the slave station control device includes: a slave station control instruction issuing module that issues the control instructions of the master station to the switch network cabinet, a box-type power supply state machine that reads the parameters of the box-type power supply from the switch network cabinet and checks the box-type power supply status, and a box-changing instruction issuing module; the box-changing instruction issuing module uses a box-type power supply switching algorithm to determine whether to switch the box-type power supply when the box-type power supply SOC reaches a threshold, and issues an instruction on whether to switch the box-type power supply to the switch network cabinet;
[0050] Switch network cabinet: The switch network cabinet starts according to the slave station control instruction and executes the slave station switching box power supply instruction; performs the box changing operation.
[0051] like Figure 2 , a comprehensive energy management method for ship box-type power supply,
[0052] S1: Configure the box-type power supply thermal management matrix: select the arrangement scheme of the box-type power supply manually or according to the characteristics of the ship, and select the corresponding box-type power supply thermal management matrix according to the arrangement scheme of different ships;
[0053] S2: Configure the control structure of PLC controller-switch network cabinet-battery box: Each ship is equipped with at least one standard container battery pack, and adopts the control structure of PLC controller-switch network cabinet-battery box. The PLC controller is used to send control instructions to the switch network cabinets on the left and right sides of the ship, and the switch network cabinet is used to exchange data with the box-type power supply in the container battery pack ( Figure 3 );
[0054] S3: Based on the state machine control algorithm, the box power state in the box power state machine is designed. The states include: State 0: normal use, return; State 1: low power, judgment: there is a box power supply in power replacement, waiting; no box power supply is in power replacement, power replacement application; State 2: emergency processing, over-control operation; State 3: confirm box replacement, enter box selection logic; State 4: box replacement failed; State 5: box replacement completed, put into use, return; State 6, 7: fault alarm ( Fig.10 );
[0055] S4: Select the box-type power supply according to the configuration scheme and control it through the PLC controller: the PLC controller monitors the box-type power supply information read by the switch network cabinet in real time, initializes the PLC control software parameters, starts the slave control device, starts the network cabinet (i), calls the interface function, checks the box-type power supply status and converts these functions into control instructions and sends them to the switch network cabinet; the slave PLC controller reads the parameters of the box-type power supply from the switch network cabinet, and when the box-type power supply SOC reaches the threshold, the slave controller calculates the next box-type power supply, and sends instructions to the switch network cabinet to switch the box-type power supply; the configuration scheme is the box-type power supply thermal management matrix described in S1 and the control structure of the PLC controller-switch network cabinet-battery box described in S2.
[0056] Preferably, the ship's PLC controller monitors whether the box-type power supply has thermal runaway. When the box-type power supply is arranged on the upper deck, if thermal runaway occurs, the box-type power supply with thermal runaway needs to be immediately isolated from the ship's power grid. At the same time, the box-type power supplies above and behind the box are affected box-type power supplies, and the PLC controller controls the affected box-type power supplies to be disconnected from the ship's power grid.
[0057] Preferably, the configuration scheme in S4 gives priority to using a normal box-type power supply located at the top.
[0058] Preferably, the switch network cabinets on the left and right sides of the ship described in S2 are respectively controlled by slave station PLC controllers, and the upper computer touch screen interacts with the main controller to send instructions to the slave station to realize the control of the box-type power supply; when the main coupling switch is closed and the left and right sides operate in parallel, the master station is responsible for data communication and logical operations between the slave stations.
[0059] Preferably, the arrangement scheme of the box-type power supply described in S1 is: the batteries are stacked symmetrically on the left and right sides, and the box numbers increase from top to bottom: any of the following modes can be selected to set the box-type power supply ( Figure 4-Figure 9 ): 36-box mode is set to three layers, 24-box mode is set to two layers; 12-box mode is set to two layers. Considering the different ranges of electric cargo ships and the different amounts of electricity required, three modes of box power configuration are set to avoid energy waste and excessive load, which is convenient for sailing cost control and increases market adaptability.
[0060] In different box number modes, the PLC controller performs thermal runaway control according to different thermal management matrices. When switching the box number mode, the PLC controller automatically changes the thermal management matrix (select the box number mode and automatically select the thermal management matrix).
[0061] Preferably, the box-type power supply state machine described in S3 is initially in normal use status. When SOC<20% and no other box-type power supply is in battery replacement status, it switches to the box replacement prompt status: if you choose to confirm the box replacement, the box replacement operation is performed until the box replacement is completed, and the normal use status is restored; if the box is overridden and the box is not replaced, the original battery box is used, the box selection error is recorded, and the state is switched to the box replacement failure state; if the battery box in normal use or the original battery box where the box replacement fails fails, the fault alarm state is triggered.
[0062] like Fig.11 As shown, preferably, the method of the box changing operation is:
[0063] S31: Get the column number of the currently connected box-type power supply;
[0064] S32: Preselected box number = the top box number in the column i = 0;
[0065] S33: Determine whether i is less than the number of box layers; if so, pre-select and go to S34; if so, pre-select box number = the top box number of the adjacent column i = 0, and go to S35;
[0066] S34: Continue to determine whether the box number! = 0 and the branch circuit has no fault, and there is no ESD, and SOC>20; if so, switch to the box and the process ends; if not, pre-select the box number = the next layer box number and go to S33 to continue to determine the number of box layers;
[0067] S35: Determine whether i is less than the number of box layers; if so, pre-select and go to S36; if so, report an error, display that there are no boxes available in this group, and the process ends;
[0068] S36: Determine whether the box number !=0 and the branch has no fault, no ESD, and SOC>20; if so, switch to the box and end the process; if not, set the pre-selected box number = the next layer box number and return to S35.
[0069] Preferably, the PLC controller functions in S4 also include: optimizing and protecting the box-type power supply: monitoring the status and controlling the current balance of the box-type power supply in operation to extend the service life of the box-type power supply; when the box-type power supply is overvoltage, overcurrent, thermal runaway, or affected by thermal runaway, the EMS will immediately cut off the box-type power supply and input the normal box-type power supply through the box selection logic to ensure the stable operation of the ship's power grid.
[0070] Preferably, the PLC controller described in S4 includes a master station controller and port and starboard slave station controllers. The master station controller communicates with the port and starboard slave station controllers through a communication protocol; the port and starboard slave station controllers communicate with each control module and a box-type power switch network cabinet through a switch.
[0071] Using PLC controller, the implementation process is shown in Table 1:
[0072] Table 1
[0073]
[0074]
[0075] Different box-type power supply layout schemes include 12 boxes, 24 boxes and 36 boxes, corresponding to different thermal management matrices, and must be controlled one by one. The integrated energy management system is responsible for the logical judgment of box-type power supply selection and fault separation, and automatically sends control instructions to the switch network cabinet. The box replacement has an override function. In an emergency, you can choose not to replace the box, and the SOC continues to use the set value.
[0076] Working principle: The master controller communicates with the port and starboard slave controllers through the communication protocol; the port and starboard slave controllers communicate with each control module and the box-type power switch network cabinet through the switch. Multiple switch network cabinets can be set up, each switch cabinet is connected to multiple box-type batteries, and the controller sends instructions to the switch network cabinet to control the input and disconnection of the box-type power supply. The slave controller reads the parameters of the box-type power supply from the switch network cabinet. When the box-type power supply SOC reaches the threshold, the slave controller calculates the next box-type power supply according to the slave controller, and sends instructions to the switch network cabinet to switch the box-type power supply.
[0077] It should be noted that the above-described specific implementations can enable those skilled in the art to more fully understand the invention, but do not limit the invention in any way. Therefore, although this specification has described the invention in detail with reference to the drawings and embodiments, those skilled in the art should understand that the invention can still be modified or replaced by equivalents. In short, all technical solutions and improvements that do not deviate from the spirit and scope of the invention should be included in the protection scope of the patent for the invention.
Claims
1. A ship box-type power integrated energy management system, characterized in that: include: The box-type power supply thermal management matrix configuration unit includes: a box-type power supply arrangement scheme recording module and a thermal management matrix module that selects a corresponding box-type power supply thermal management matrix based on the box-type power supply arrangement scheme recording unit; PLC controller-switch network cabinet-battery box control structure configuration unit: each ship is equipped with at least one standard container battery pack, using a PLC controller-switch network cabinet-battery box control structure, the PLC controller sends control instructions to the switch network cabinets on the left and right sides of the ship, and the switch network cabinets interact with the battery box for data; State machine control algorithm configuration unit: used to design the box power state in the box power state machine, the state includes the box power state includes: state 0: normal use, return; state 1: low power, judgment: there is a box power in the battery replacement, waiting; no box power is in the battery replacement, battery replacement application; state 2: emergency processing, over-control operation; state 3: confirm the box replacement, enter the box selection logic; state 4: box replacement failed; state 5: box replacement completed, put into use, return; state 6, 7: fault alarm; PLC controller: The PLC controller is configured according to the configuration scheme of the box-type power supply thermal management matrix and the control structure of the PLC controller-switch network cabinet-battery box, and is composed of left and right slave station PLC controllers and a master station PLC controller. The master station PLC controller includes: a monitoring module for real-time monitoring of the box-type power supply information read by the switch network cabinet and a control instruction issuing module; the control instruction issuing module is used to initialize the PLC control software parameters and start the left and right slave station PLC controllers; the slave station control device includes: a slave station control instruction issuing module that issues the control instructions of the master station to the switch network cabinet, a box-type power supply state machine that reads the parameters of the box-type power supply from the switch network cabinet and checks the box-type power supply status, and a box-changing instruction issuing module; the box-changing instruction issuing module uses a box-type power supply switching algorithm to determine whether to switch the box-type power supply when the box-type power supply SOC reaches a threshold, and issues an instruction on whether to switch the box-type power supply to the switch network cabinet; Switch network cabinet: The switch network cabinet starts according to the slave station control instruction and executes the slave station switching box power supply instruction; performs the box changing operation.
2. A ship box-type power integrated energy management system according to claim 1, characterized in that: The PLC control unit includes a master station controller and port and starboard slave station controllers. The master station controller communicates with the port and starboard slave station controllers through a communication protocol; the port and starboard slave station controllers communicate with each control module and a box-type power switch network cabinet through a switch.
3. A method for comprehensive energy management of a ship box-type power supply based on the system described in claim 1 or 2, characterized in that: S1: Configure the box-type power supply thermal management matrix: manually set or select the arrangement scheme of the box-type power supply according to the characteristics of the ship model, and select the corresponding box-type power supply thermal management matrix according to the arrangement scheme of different ships; S2: Configure the control structure of PLC controller-switch network cabinet-battery box: Each ship is equipped with at least one standard container battery pack, and adopts the control structure of PLC controller-switch network cabinet-battery box. The PLC controller is used to send control instructions to the switch network cabinets on the left and right sides of the ship, and the switch network cabinet is used to exchange data with the box-type power supply in the container battery pack; S3: Based on the state machine control algorithm, the box power state in the box power state machine is designed, and the states include: state 0: normal use, return; state 1: low power, judgment: there is a box power supply in power replacement, waiting; no box power supply is in power replacement, power replacement application; state 2: emergency processing, over-control operation; state 3: confirm box replacement, enter box selection logic; state 4: box replacement failed; state 5: box replacement completed, put into use, return; state 6, 7: fault alarm; S4: Select the box-type power supply according to the configuration scheme and control it through the PLC controller: the PLC controller monitors the box-type power supply information read by the switch network cabinet in real time, initializes the PLC control software parameters, starts the slave control device, starts the network cabinet (i), calls the interface function, checks the box-type power supply status and converts these functions into control instructions and sends them to the switch network cabinet; the slave PLC controller reads the parameters of the box-type power supply from the switch network cabinet, and when the box-type power supply SOC reaches the threshold, the slave controller calculates the next box-type power supply, and sends instructions to the switch network cabinet to switch the box-type power supply; the configuration scheme is the box-type power supply thermal management matrix described in S1 and the control structure of the PLC controller-switch network cabinet-battery box described in S2.
4. A method for comprehensive energy management of a ship box-type power supply according to claim 3, characterized in that: The ship's PLC controller monitors whether the box-type power supply has thermal runaway. When the box-type power supply is arranged on the upper deck, if thermal runaway occurs, the box-type power supply with thermal runaway needs to be immediately isolated from the ship's power grid. At the same time, the box-type power supplies above and behind the box are affected, and the PLC controller controls the affected box-type power supplies to be disconnected from the ship's power grid.
5. A method for comprehensive energy management of a ship box-type power supply according to claim 3, characterized in that: The configuration scheme in S4 gives priority to using a normal box-type power supply located at the top.
6. A method for comprehensive energy management of a ship box-type power supply according to claim 3, characterized in that: The switch network cabinets on the left and right sides of the ship described in S2 are controlled by slave station PLC controllers respectively. The upper computer touch screen interacts with the main controller and sends instructions to the slave station to realize the control of the box-type power supply. When the main coupling switch is closed and the left and right sides operate in parallel, the master station is responsible for data communication and logical operations between the slave stations.
7. A method for comprehensive energy management of a ship box-type power supply according to claim 3, characterized in that: The arrangement scheme of the box-type power supply described in S1 is: the batteries are stacked symmetrically on the left and right sides, and the box numbers increase from top to bottom: the box-type power supply can be set in any of the following modes: 36-box mode is set to three layers, 24-box mode is set to two layers; 12-box mode is set to two layers.
8. A method for comprehensive energy management of a ship box-type power supply according to claim 3, characterized in that: The box-type power supply state machine described in S3 is initially in normal use. When SOC < 20% and no other box-type power supply is in battery replacement state, it switches to a box replacement prompt state: if you choose to confirm the box replacement, the box replacement operation is performed until the box replacement is completed or the box replacement fails; if the box replacement is not performed, the original battery box will continue to be used until SOC < the set box replacement value, and then the box replacement operation is performed until the box replacement is completed or the box replacement fails; if the battery box in normal use fails or the original battery box replacement fails, the fault alarm state is triggered.
9. A method for comprehensive energy management of a ship box-type power supply according to claim 8, characterized in that: The method of the box changing operation is: S31: Get the column number of the currently connected box-type power supply; S32: Preselected box number = the top box number in the column i = 0; S33: Determine whether i is less than the number of box layers; if so, pre-select and go to S34; if so, pre-select box number = the top box number of the adjacent column i = 0, and go to S35; S34: Continue to determine whether the box number! = 0 and the branch circuit has no fault, and there is no ESD, and SOC>20; if so, switch to the box and the process ends; if not, pre-select the box number = the next layer box number and go to S33 to continue to determine the number of box layers; S35: Determine whether i is less than the number of box layers; if so, pre-select and go to S36; if so, report an error, display that there are no boxes available in this group, and the process ends; S36: Determine whether the box number !=0 and the branch has no fault, no ESD, and SOC>20; if so, switch to the box and end the process; if not, set the pre-selected box number = the next layer box number and return to S35.
10. A method for comprehensive energy management of a ship box-type power supply according to claim 3, characterized in that: The PLC controller in S4 also includes: optimization and protection control of the box-type power supply, current and power equalization calculation, power limit calculation, and priority tripping judgment.
