Container ship cold box load group distributed energy consumption optimization method based on virtual electricity price
Through virtual electricity price calculation and iterative optimization methods, the difficult problem of energy consumption optimization of cold box groups in ship energy management is solved, the energy efficiency and operating economy of ship microgrids are improved, and the effective utilization of cold box demand response is achieved.
Patent Information
- Application Number
- CN202410883273.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-10-11
AI Technical Summary
Existing ship energy management solutions cannot effectively consider the energy consumption optimization of the cold box group, resulting in an increase in the complexity of the optimization model, which is difficult to solve, and cannot fully utilize the demand response potential of the cold box, affecting the energy cost and operating economics of the ship microgrid.
A distributed energy consumption optimization method for container ship cold box load groups based on virtual electricity prices is adopted. By establishing a mathematical model of refrigerated containers and ship microgrid virtual electricity price calculation, a distributed energy consumption optimization model for container ship cold box load groups is established, using an iterative calculation method. Solve the energy consumption optimization results of the cold box group and improve the energy economy of the ship microgrid.
Effectively incorporate the demand response potential of refrigerated containers into ship energy management plans, improve the energy efficiency of ship microgrids, reduce total navigation costs, improve operating economics, and be suitable for refrigerated container energy optimization in a variety of scenarios.
Smart Images

Figure CN118761502A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of economic dispatching of electric power systems, and in particular relates to a distributed energy optimization method for a container ship cold box load group based on virtual electricity prices. Background Art
[0002] With the improvement of living standards, people have an increasing demand for specialty products, fresh food, plants and flowers from all over the world, and the marine refrigerated transportation business is developing rapidly. Container ships have the advantages of high loading and unloading efficiency, low cargo damage, and low transportation costs, and are developing rapidly in the field of marine refrigerated transportation. Container ships generally adopt a ship integrated power system architecture, combining the independent mechanical propulsion system on traditional ships with the power system, using multiple gas turbines or diesel generators to generate electricity, using electricity as the hub, and providing electricity for ship navigation, navigation and communication, special operations and auxiliary equipment through ship microgrids. Therefore, rationally optimizing the energy consumption curve of flexible resources on container ships and making the generators run at the optimal efficiency point will effectively reduce the energy consumption cost of ship microgrids and improve the economic efficiency of ship operations.
[0003] As a typical flexible resource, refrigerated containers on container ships have good demand response potential. The rated power of refrigerated boxes is generally around 7 to 12 kilowatts. For well-insulated refrigerated boxes, the temperature of different goods can be maintained within the allowable range for 6 to 20 hours when in a non-refrigerated state (almost no electricity consumption). At the same time, there are many refrigerated boxes on container ships. The number of refrigerated boxes on the latest refrigerated container ships accounts for more than 20% of the total number of containers on the ship, and the number of refrigerated boxes on large container ships exceeds 1,000. Due to the large number of refrigerated boxes on container ships, if the demand response of the refrigerated box group is considered in the energy management process of the ship microgrid, the optimization model will become too complicated, and the shipboard energy management platform will be difficult or even impossible to solve. Therefore, the current energy optimization management process of container ships cannot take into account the energy optimization of the refrigerated box group. Summary of the invention
[0004] Purpose of the invention: In order to solve the problem that the existing ship energy management scheme cannot take into account the demand response potential of cold boxes, a distributed energy optimization method for container ship cold box load groups based on virtual electricity prices is provided. By modeling the cold box load, a ship virtual electricity price calculation method is proposed based on different operating states of the ship and the principle of equivalent micro-increase, and then a distributed energy optimization method for large-scale cold box groups of ships is established, which effectively improves the energy economy of ship microgrids and has good application prospects.
[0005] Technical solution: To achieve the above purpose, the present invention provides a distributed energy optimization method for a container ship cold box load group based on a virtual electricity price, comprising the following steps:
[0006] S1: Establish mathematical model of refrigerated container;
[0007] S2: Equivalent the marginal cost of energy consumed by the ship at each time to the virtual electricity price of the microgrid, and calculate the virtual electricity price of the ship microgrid;
[0008] S3: Based on the mathematical model of refrigerated containers and the virtual electricity price of ship microgrids, a distributed energy optimization model for container ship refrigerated box load groups is established;
[0009] S4: Solve the distributed energy optimization model of the cold box load group of container ships to obtain the energy optimization results of all cold boxes;
[0010] S5: According to the energy optimization results of all cold boxes, the distributed energy optimization of the cold box load group is iteratively performed. Repeating this several times can obtain the converged day-ahead dispatch results of the ship microgrid and the energy optimization plan for the cold box group.
[0011] Furthermore, the mathematical model of the refrigerated container in step S1 includes formulas (1) and (2):
[0012]
[0013]
[0014] Formula (1) constrains the temperature inside the cold box at time t At the set maximum and minimum temperatures T max and T min In the range, formula (2) takes into account the external temperature of the cold box The temperature change inside the cold box is described based on the heat balance principle, with the cargo specific heat capacity B and mass M as the factors. t is a binary variable representing the operating status of the cold box at time t, P box is the refrigeration power of the cold box compressor, △t is the cold box scheduling time interval, S is the surface area of the cold box interacting with the outside world, and r is the heat transfer coefficient of the cold box.
[0015] Furthermore, the calculation of the virtual electricity price of the ship microgrid in step S2 is divided into two situations according to the state of the ship: sailing at sea and berthing at a port.
[0016] When the ship is sailing at sea, the calculation method of the virtual electricity price of the ship microgrid is:
[0017] When sailing at sea, the energy source of the ship is a gas turbine or a fuel generator. The relationship between the power generation P and fuel consumption C of the two types of power generation equipment is shown in formula (3), where x, y and z are the generator coefficients;
[0018] C=x(P) 2 +yP+z (3)
[0019] According to the equivalent incremental principle of multiple generator sets, when all generator sets on board distribute the load according to the principle of equal incremental rate, the total fuel consumed by the system is the least, which is the most economical for the system; when the ship is sailing at sea, the fuel consumption incremental rate can be obtained from the equivalent incremental rate of the generator set, and the fuel consumption incremental rate multiplied by the unit cost of fuel can be obtained to obtain the marginal cost of fuel at that moment, that is, the marginal cost of energy consumed at this time, which is equivalent to the virtual electricity price of the ship microgrid.
[0020] When the ship is at berth, the calculation method of the virtual electricity price of the ship microgrid is as follows: When the ship is at berth, in order to reduce carbon emissions in the port area, the electricity used by the container ship can be supplied by both the shipboard generator and the shore power supply. At this time, the lower of the marginal fuel cost derived from the equivalent micro-increase rate of the generator set and the shore power price is the marginal energy consumption cost of the ship microgrid, which is equivalent to the virtual electricity price of the microgrid at this time.
[0021] Furthermore, the objective function of the distributed energy optimization model of the container ship cold box load group in step S3 is to minimize the energy cost of the cold box group, as shown in formula (4):
[0022]
[0023] Where i is the refrigerated container number, C t is the virtual electricity price of the ship at time t, A i,t is a binary variable representing the operating status of cold box i at time t.
[0024] The constraints of the distributed energy optimization model for the cold box load group of container ships are shown in equations (5) to (8):
[0025]
[0026]
[0027]
[0028]
[0029] Formula (5) gives the initial temperature T of cold box i at the start of optimization: i,sta ; Formula (6) constrains the deviation range of the temperature of cold box i at the end of optimization and the start time △T i ; Formula (7) limits the upper and lower fluctuation range of the maximum and minimum temperatures of cold box i; Formula (8) is the calculation formula for the temperature change inside cold box i.
[0030] Furthermore, the distributed energy optimization model of the container ship cold box load group in step S4 is a mixed integer optimization model, which is quickly solved by using the software Cplex.
[0031] Furthermore, in step S5, all cold box optimization results are accumulated to obtain the cold box group energy consumption curve, and the calculation formula is shown in formula (9):
[0032]
[0033] The energy consumption curve of the large-scale cold box group is uploaded to the ship microgrid energy management system, and participates in the conventional day-ahead scheduling of the container ship microgrid as a fixed load. After solving the scheduling result, the new ship virtual electricity price can be calculated, and the distributed energy consumption optimization of the cold box load group is iteratively performed. Repeating several times can obtain the converged day-ahead scheduling result of the ship microgrid and the energy consumption optimization plan of the cold box group.
[0034] Beneficial effects: Compared with the prior art, the present invention calculates the virtual electricity price of the ship microgrid according to the different operating states of the ship and the principle of equivalent micro-increment, and uses this as a basis to guide the distributed energy optimization of the shipboard cold box load group, and incorporates the cold box demand response potential into the ship energy management plan through iterative calculations with the day-ahead scheduling of the ship microgrid. The method of the present invention uses the virtual electricity price as a link between the day-ahead scheduling of the ship microgrid and the distributed optimization of the cold box group, which solves the problem that the optimization model is difficult to solve due to the direct participation of the cold box group in the day-ahead scheduling, and the energy efficiency of the ship microgrid can be effectively improved after the energy consumption of the cold box group is optimized, which is of great significance to improving the operating economy of the ship microgrid. And the method of the present invention is also of reference significance for the energy optimization of refrigerated containers in various scenarios such as warehouses and ports. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 is a flow chart of the method of the present invention;
[0036] Figure 2 This is a schematic diagram of the relationship between the temperature inside the cold box and the start and stop of the cold box;
[0037] Figure 3 Schematic diagram of the virtual electricity price calculation method for ship microgrid. DETAILED DESCRIPTION
[0038] The present invention is further explained below in conjunction with the accompanying drawings and specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention. After reading the present invention, various equivalent forms of modifications to the present invention by those skilled in the art all fall within the scope defined by the claims attached to this application.
[0039] like Figure 1As shown, the present invention provides a distributed energy optimization method for a container ship cold box load group based on a virtual electricity price, comprising the following steps:
[0040] S1: Establishing mathematical model of refrigerated container:
[0041] During the transportation of goods, the refrigerated container converts electrical energy into cold energy through the built-in compressor in the box, so that the temperature of the refrigerated container is maintained within the allowable range. In the normal operation mode, when the temperature inside the box reaches the lower temperature limit set for the goods, the refrigeration compressor stops working and the cold box does not consume electricity. Because the outside temperature is higher than the temperature inside the cold box, the temperature inside the box slowly rises under the influence of the outside temperature until it reaches the upper temperature limit corresponding to the goods. At this time, the compressor starts working immediately, and the temperature of the cold box continues to drop until it reaches the lower temperature limit again. During the entire operation process, the temperature inside the box fluctuates within the set temperature upper and lower limits. The relationship between the temperature inside the refrigerated container and the start and stop of the cold box is shown as follows Figure 2 As shown;
[0042] The mathematical model of refrigerated container includes formulas (1) and (2):
[0043]
[0044]
[0045] Formula (1) constrains the temperature inside the cold box at time t At the set maximum and minimum temperatures T max and T min In the range, formula (2) takes into account the external temperature of the cold box The temperature change inside the cold box is described based on the heat balance principle, with the cargo specific heat capacity B and mass M as the factors. t is a binary variable representing the operating status of the cold box at time t, P box is the refrigeration power of the cold box compressor, △t is the cold box scheduling time interval, S is the surface area of the cold box interacting with the outside world, and r is the heat transfer coefficient of the cold box.
[0046] S2: The marginal cost of energy consumed by the ship at each time is equivalent to the virtual electricity price of the microgrid, and the virtual electricity price of the ship microgrid is calculated:
[0047] like Figure 3 As shown in the figure, the calculation of the virtual electricity price of the ship microgrid is divided into two cases: sailing at sea and berthing at the port according to the ship status;
[0048] When the ship is sailing at sea, the calculation method of the virtual electricity price of the ship microgrid is:
[0049] When sailing at sea, the energy source of the ship is a gas turbine or a fuel generator. The relationship between the power generation P and fuel consumption C of the two types of power generation equipment is shown in formula (3), where x, y and z are the generator coefficients;
[0050] C=x(P) 2 +yP+z (3)
[0051] According to the equivalent incremental principle of multiple generator sets, when all generator sets on board distribute the load according to the principle of equal incremental rate, the total fuel consumed by the system is the least, which is the most economical for the system; when the ship is sailing at sea, the fuel consumption incremental rate can be obtained from the equivalent incremental rate of the generator set, and the fuel consumption incremental rate multiplied by the unit cost of fuel can be obtained to obtain the marginal cost of fuel at that moment, that is, the marginal cost of energy consumed at this time, which is equivalent to the virtual electricity price of the ship microgrid.
[0052] When the ship is at berth, the calculation method of the virtual electricity price of the ship microgrid is as follows: when the ship is at berth, in order to reduce carbon emissions in the port area, the electricity for the container ship can be supplied by both the onboard generator and the shore power supply; at this time, the lower cost of the marginal cost of fuel derived from the equivalent micro-increase rate of the generator set and the shore power price is used as the marginal cost of energy consumption of the ship microgrid, which is equivalent to the virtual electricity price of the microgrid at this time.
[0053] S3: Based on the mathematical model of refrigerated containers and the virtual electricity price of ship microgrids, a distributed energy optimization model for container ship refrigerated box load groups is established:
[0054] The objective function of the distributed energy optimization model of the container ship cold box load group is to minimize the energy cost of the cold box group, as shown in formula (4):
[0055]
[0056] Where i is the refrigerated container number, C t is the virtual electricity price of the ship at time t, A i,t is a binary variable representing the operating state of cold box i at time t;
[0057] The constraints of the distributed energy optimization model for the cold box load group of container ships are shown in equations (5) to (8):
[0058]
[0059]
[0060]
[0061]
[0062] Formula (5) gives the initial temperature T of cold box i at the start of optimization: i,sta ; Formula (6) constrains the deviation range of the temperature of cold box i at the end of optimization and the start time △T i ; Formula (7) limits the upper and lower fluctuation range of the maximum and minimum temperatures of cold box i; Formula (8) is the calculation formula for the temperature change inside cold box i.
[0063] S4: Solve the distributed energy optimization model of the container ship cold box load group and obtain the energy optimization results of all cold boxes:
[0064] The distributed energy optimization model for the cold box load group of container ships is a mixed integer optimization model, which is quickly solved using the software Cplex.
[0065] S5: Accumulate all cold box optimization results to obtain the cold box group energy consumption curve. The calculation formula is shown in formula (9):
[0066]
[0067] The energy consumption curve of the large-scale cold box group is uploaded to the ship microgrid energy management system, and participates in the conventional day-ahead dispatch of the container ship microgrid as a fixed load. After solving the dispatch result, the new ship virtual electricity price can be calculated, and the distributed energy consumption optimization of the cold box load group is iterated. Repeating several times can obtain the converged day-ahead dispatch result of the ship microgrid and the energy consumption optimization plan of the cold box group. The iterative termination condition depends on the number of cold boxes and the computing power conditions of the ship-borne computing platform, and is set to the deviation of the energy consumption curve of the cold box group in two iterations is less than 0.5-5%.
[0068] The present invention calculates the virtual electricity price of the ship microgrid according to the different operating states of the ship and the equivalent micro-increment principle, and uses this as a basis to guide the distributed energy optimization of the shipboard cold box load group, and incorporates the cold box demand response potential into the ship energy management plan through iterative calculation with the day-ahead scheduling of the ship microgrid. The method of the present invention uses the virtual electricity price as a link between the day-ahead scheduling of the ship microgrid and the distributed optimization of the cold box group, which solves the problem that the optimization model is difficult to solve when the cold box group directly participates in the day-ahead scheduling, and the energy efficiency of the ship microgrid can be effectively improved after the energy consumption of the cold box group is optimized, which is of great significance to improving the operating economy of the ship microgrid.
[0069] In order to verify the above effect, this embodiment takes a 3800 standard container ship containing 1000 cold boxes as an example, and sets the route to depart from Hong Kong Port, stop at Xiamen Port, and arrive at Shanghai Port. The simulation results show that during the full voyage of the ship, after using the full voyage economic dispatch strategy of the ship microgrid taking into account the cold box demand response proposed in the present invention, the total cost of the ship's navigation can be reduced by 1.93% compared with not performing cold box demand response.
[0070] This embodiment also provides a distributed energy optimization system for a container ship reefer load group based on virtual electricity prices, the system comprising a network interface, a memory and a processor; wherein the network interface is used to receive and send signals during the process of sending and receiving information with other external network elements; the memory is used to store computer program instructions that can be run on the processor; the processor is used to execute the steps of the above-mentioned consensus method when running the computer program instructions.
[0071] The present embodiment also provides a computer storage medium, which stores a computer program, and the method described above can be implemented when the processor executes the computer program. The computer readable medium can be considered to be tangible and non-temporary. Non-limiting examples of non-temporary tangible computer-readable media include non-volatile memory circuits (such as flash memory circuits, erasable programmable read-only memory circuits or mask read-only memory circuits), volatile memory circuits (such as static random access memory circuits or dynamic random access memory circuits), magnetic storage media (such as analog or digital tapes or hard drives) and optical storage media (such as CDs, DVDs or Blu-ray discs), etc. The computer program includes processor executable instructions stored on at least one non-temporary tangible computer-readable medium. The computer program may also include or rely on stored data. The computer program may include a basic input / output system (BIOS) that interacts with the hardware of a special-purpose computer, a device driver that interacts with a specific device of a special-purpose computer, one or more operating systems, user applications, background services, background applications, etc.
[0072] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0073] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0074] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0075] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
Claims
1. A distributed energy optimization method for cold box load groups of container ships based on virtual electricity prices, characterized in that: The steps include: S1: Establish mathematical model of refrigerated container; S2: Equivalent the marginal cost of energy consumed by the ship at each time to the virtual electricity price of the microgrid, and calculate the virtual electricity price of the ship microgrid; S3: Based on the mathematical model of refrigerated containers and the virtual electricity price of ship microgrids, a distributed energy optimization model for container ship refrigerated box load groups is established; S4: Solve the distributed energy optimization model of the cold box load group of container ships to obtain the energy optimization results of all cold boxes; S5: According to the energy optimization results of all cold boxes, the distributed energy optimization of the cold box load group is iteratively performed to obtain the converged day-ahead dispatch results of the ship microgrid and the energy optimization plan for the cold box group.
2. According to claim 1, a distributed energy optimization method for container ship cold box load group based on virtual electricity price is characterized in that: The mathematical model of the refrigerated container in step S1 includes formulas (1) and (2): Formula (1) constrains the temperature inside the cold box at time t At the set maximum and minimum temperatures T max and T min In the range, formula (2) takes into account the external temperature of the cold box The specific heat capacity B and mass M of the cargo are used to describe the temperature change inside the cold box according to the principle of thermal balance. t is a binary variable representing the operating status of the cold box at time t, P box is the refrigeration power of the cold box compressor, △t is the cold box scheduling time interval, S is the surface area of the cold box interacting with the outside world, and r is the heat transfer coefficient of the cold box.
3. According to the method of optimizing distributed energy consumption of container ship cold box load group based on virtual electricity price in claim 1, it is characterized in that: The calculation of the virtual electricity price of the ship microgrid in step S2 is divided into two situations according to the state of the ship: sailing at sea and berthing at the port.
4. The distributed energy optimization method for container ship cold box load group based on virtual electricity price according to claim 3 is characterized in that: When the ship is sailing at sea, the calculation method of the virtual electricity price of the ship microgrid is: When sailing at sea, the energy source of the ship is a gas turbine or a fuel generator. The relationship between the power generation P and fuel consumption C of the two types of power generation equipment is shown in formula (3), where x, y and z are the generator coefficients; C=x(P) 2 +yP+z (3) When the ship is sailing at sea, the fuel consumption increase rate can be obtained from the equivalent increase rate of the generator set. The fuel consumption increase rate multiplied by the unit cost of fuel can be used to obtain the marginal cost of fuel at that moment, that is, the marginal cost of energy consumed at this moment, which is equivalent to the virtual electricity price of the ship microgrid.
5. The distributed energy optimization method for container ship cold box load group based on virtual electricity price according to claim 3 is characterized in that: When the ship is at berth, the calculation method of the virtual electricity price of the ship's microgrid is: the lower of the marginal cost of fuel derived from the equivalent micro-increase rate of the generator set and the shore power price is the marginal cost of energy consumption of the ship's microgrid, which is equivalent to the virtual electricity price of the microgrid at this time.
6. The distributed energy optimization method for container ship cold box load group based on virtual electricity price according to claim 2 is characterized in that: The objective function of the distributed energy optimization model of the container ship cold box load group in step S3 is to minimize the energy cost of the cold box group, as shown in formula (4): Where i is the refrigerated container number, C t is the virtual electricity price of the ship at time t, A i,t is a binary variable representing the operating status of cold box i at time t.
7. A distributed energy optimization method for cold box load group of container ship based on virtual electricity price according to claim 6, characterized in that: The constraint conditions of the distributed energy optimization model of the container ship cold box load group in step S3 are shown in equations (5) to (8): Formula (5) gives the initial temperature T of cold box i at the start of optimization: i,sta ; Formula (6) constrains the deviation range of the temperature of cold box i at the end of optimization and the start time △T i ; Formula (7) limits the upper and lower fluctuation range of the maximum and minimum temperatures of cold box i; Formula (8) is the calculation formula for the temperature change inside cold box i.
8. The distributed energy optimization method for container ship cold box load group based on virtual electricity price according to claim 7 is characterized in that: The distributed energy optimization model for the cold box load group of the container ship in step S4 is a mixed integer optimization model, which is quickly solved by using the software Cplex.
9. The distributed energy optimization method for container ship cold box load group based on virtual electricity price according to claim 1 is characterized in that: In step S5, all cold box optimization results are accumulated to obtain the cold box group energy consumption curve, and the calculation formula is shown in formula (9): The energy consumption curve of the large-scale cold box group is uploaded to the ship microgrid energy management system, and participates in the conventional day-ahead scheduling of the container ship microgrid as a fixed load. After solving the scheduling result, the new ship virtual electricity price can be calculated, and the distributed energy consumption optimization of the cold box load group is iteratively performed. Repeating several times can obtain the converged day-ahead scheduling result of the ship microgrid and the energy consumption optimization plan of the cold box group.
