A Port Dangerous Goods Container Yard Site Selection Method and System Based on Improved NSGA-II

By introducing the adaptive scaling coefficient λ into the NSGA-II algorithm and controlling the number of genes in sections, the problem of gene selection affecting convergence in port hazardous cargo container yard location selection was solved, and the solution speed and effect of the algorithm were improved.

CN118396489BActive Publication Date: 2024-09-13天津东方泰瑞科技有限公司 +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410867516.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-09-13
Estimated Expiration
2044-07-01

AI Technical Summary

Technical Problem

The existing NSGA-II algorithm selects a random number of gene bits in the location selection of the port dangerous goods container yard, which leads to the easy loss of excellent genes in the later stages of the iteration, affecting the convergence effect of the algorithm, and the adaptive scaling coefficient control effect is not obvious.

Method used

The adaptive scaling coefficient λ is introduced, which is divided into early stage, middle stage and late stage, with rapid decline in the early stage, slow decline in the middle stage and slow decline in the late stage, which is used to control the number of genes selected by the crossover operator and balance global exploration and local development.

Benefits of technology

It improves the solving speed of the NSGA-II algorithm, ensures appropriate gene position selection at different stages, and promotes the effectiveness and efficiency of site selection for dangerous goods container yards in ports.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118396489B
    Figure CN118396489B
Patent Text Reader

Abstract

The present invention relates to the technical field of computer information processing, and discloses a method and system for selecting a dangerous goods container yard at a port based on an improved NSGA-II. According to model establishment conditions, and taking into account the amount of goods stacked in the yard, the transportation cost of the yard, the processing cost of the yard, and the operating cost of the yard, a dangerous goods container yard selection model at the port is constructed; an objective function of the dangerous goods container yard selection model at the port and constraints of the objective function are set; and an NSGA-II algorithm is improved by introducing an adaptive scaling coefficient in sections to solve the dangerous goods container yard selection model. The local search capability of the NSGA-II algorithm is improved, so that a decision on the selection of a dangerous goods container yard at the port is made quickly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer information processing, and in particular to a method and system for selecting a site for a port dangerous goods container yard based on an improved NSGA-II. Background Art

[0002] The port dangerous goods container yard is a special area for centralized management of dangerous goods containers in outdoor environments. It is part of the port logistics system and a container storage buffer factor. Its effective operation can increase the actual volume of the port, thereby enhancing the operating efficiency of the entire port system. Unlike the traditional container yard site selection, the dangerous goods container yard site selection must not only consider site selection costs, transportation costs, processing costs, and stacking volume, but also compliance. Therefore, the present invention adds compliance constraints and yard processing volume constraints to the yard site selection, and constructs a port dangerous goods container yard site selection model.

[0003] In the prior art, when the NSGA-II algorithm is used for solving, a certain number of gene positions need to be selected for crossover operation. Usually, the number of gene positions selected is random. The process of the algorithm performing crossover operation is the process of making the initial solution approach the optimal solution. In this process, the number of selected gene positions has an important impact on the optimization effect of the crossover operator and the exploration ability of the search space. The larger the number of selected gene positions, the stronger the ability to explore the search space. This helps to quickly approach the optimal solution and accelerate the convergence speed in the early stage of algorithm iteration. However, if the number of selected gene positions is too large, it is easy to cause the loss of the excellent genes that have been found in the later stage of iteration, which is not conducive to the convergence of the algorithm. Therefore, the algorithm is generally improved. One of the directions of improvement is to introduce an adaptive scaling coefficient λ to control the number of gene positions selected by the crossover operator; however, the effect of the above method on controlling the number of gene positions selected by the crossover operator is not particularly obvious. Summary of the invention

[0004] In order to solve the above technical problems, the present invention provides a method and system for selecting a site for a port dangerous goods container yard based on an improved NSGA-II, comprising the following steps:

[0005] S1. According to the model establishment conditions, and taking into account the cargo volume stored in the yard, the yard transportation cost, the yard handling cost and the yard operation cost, a port dangerous goods container yard site selection model is constructed; the objective function of the port dangerous goods container yard site selection model and the constraint conditions of the objective function are set;

[0006] The conditions for establishing the model include: the actual daily stacking volume of dangerous goods containers is dynamic, with the daily average stacking volume as the benchmark data; each dangerous goods container corresponds to only one storage yard; the basis for selecting a storage yard for dangerous goods containers is represented by the coverage function of the storage yard; the scale effect of the storage yard cost is represented by a step function.

[0007] The objective function of the site selection model for the port dangerous goods container yard is specifically:

[0008] The amount of dangerous goods containers stacked is z 1 The maximum value and location cost z 2 The minimum value of is used as the objective function:

[0009] The amount of dangerous goods containers to be stacked is z 1 The maximum value and location cost z 2 The minimum value of is used as the objective function:

[0010] ;

[0011] ;

[0012] In the formula, the terminal set is , , k is the number of terminals, n is the total number of terminals; the set of dangerous goods containers is M M= , i is the number of dangerous goods containers, u is the total number of dangerous goods containers; the yard set is S S ; j is the number of storage yards, w is the total number of storage yards; D i is the average daily stacking volume of dangerous goods container i; is the distance from terminal k to yard j; is the coverage function of the yard; x kji is a 0-1 decision variable, =1 for dangerous goods container i from terminal k to yard j, otherwise, =0; C kji Dangerous goods containers From the Pier To the yard The unit distance transportation cost, Q kji Dangerous goods containers Every day from the pier Transport to the yard The transport volume; F j is the processing cost of yard j; f j For the yard Operating expenses; j is a 0-1 decision variable, yj =1 is the selected yard As a storage yard for dangerous goods containers, otherwise, y j =0.

[0013] The constraints of the objective function of the site selection model for the port dangerous goods container yard are specifically:

[0014] The constraints on the daily stockpile volume of the storage yard are:

[0015] ;

[0016] Where N j is the stockpile volume of yard j;

[0017] The constraints of yard operation cost are:

[0018] ;

[0019] In the formula, To budget expenses;

[0020] The number of yard construction is greater than or equal to 1, which can be expressed as follows:

[0021] ;

[0022] Each hazardous goods container has only one storage yard, which can be expressed as follows:

[0023] ;

[0024] The relevant decision variable constraints are:

[0025] ;

[0026] ;

[0027] ;

[0028] The yard compliance constraints are:

[0029] ;

[0030] The upper limit of A is 3, is a 0-1 decision variable, Indicates that yard j has planning compliance, otherwise ; is a 0-1 decision variable, indicates that yard j meets the development boundary check, otherwise ; is a 0-1 decision variable, Indicates that yard j meets the permanent ecological protection zone verification, otherwise .

[0031] The coverage function The expression is as follows:

[0032] ;

[0033] In the formula, For the yard Maximum distance covered, For the yard Minimum distance to cover.

[0034] The yard cost The expression is as follows:

[0035]

[0036] In the formula, Indicates the yard container handling capacity; is the critical parameter of the yard; is the coefficient; is the yard scale effect coefficient, .

[0037] S2. Solve the location model of dangerous goods container yard according to the improved NSGA-II algorithm, including:

[0038] S21, initialize the population, set the population size, and randomly generate the initial population;

[0039] S22, calculating the objective function value for the individuals in the initial population, and stratifying the initial population using a fast non-dominated sorting method; calculating the crowding distance of each individual in the initial population; selecting the next generation candidate population according to a preset ratio based on the calculation results of the fast non-dominated sorting and the crowding distance;

[0040] Furthermore, a tournament selection strategy is adopted to complete the individual selection operation.

[0041] S23, performing PBX crossover and mutation operations on the next generation candidate population to generate a progeny population; when performing the PBX crossover operation on the next generation candidate population, introducing an adaptive scaling factor λ, the formula of the adaptive scaling factor λ is as follows:

[0042] ;

[0043] In the formula, G max represents the maximum number of iterations, G i represents the number of iterations i;

[0044] Furthermore, exchange mutation is used to perform mutation operation.

[0045] S24, the initial population and the offspring population merge to form a new parent population;

[0046] S25. Repeat steps S22 to S24. If the maximum number of iterations is reached, stop the iteration and output the calculation result.

[0047] The embodiments of the present invention have the following technical effects:

[0048] When the NSGA-II algorithm is used for solving, the effect is not particularly obvious by introducing the adaptive scaling coefficient λ to control the number of gene positions selected by the crossover operator for the crossover operation. The present invention divides the adaptive scaling coefficient λ into the initial stage, the middle stage and the final stage. In the initial stage, the adaptive scaling coefficient decreases at a larger rate, in the middle stage, the adaptive scaling coefficient decreases at a slower rate, and in the final stage, the adaptive scaling coefficient is set to a smaller value and decreases at a slow rate. The effect of segmenting the selection of the number of gene positions for the adaptive scaling coefficient λ is obvious, which improves the solution speed of the NSGA-II algorithm, and uses different scaling coefficients in different stages of the algorithm (initial stage, middle stage and final stage), which helps to balance global exploration and local development.

[0049] Compared with the traditional container yard site selection, the site selection of dangerous goods container yards not only needs to consider site selection cost, transportation cost, handling cost, stacking volume, but also needs to consider compliance. Therefore, the present invention adds compliance constraints and yard handling volume constraints to the site selection of the yard, and constructs a site selection model for the dangerous goods container yard in the port. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0051] Figure 1 The present invention provides a flowchart of a method for selecting a site for a dangerous goods container yard at a port based on an improved NSGA-II. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.

[0053] Figure 1 1 is a flowchart of a method for selecting a site for a port dangerous goods container yard based on an improved NSGA-II provided by an embodiment of the present invention. Figure 1 , specifically including:

[0054] S1. According to the model establishment conditions, and taking into account the cargo volume stored in the yard, the yard transportation cost, the yard handling cost and the yard operation cost, a port dangerous goods container yard site selection model is constructed; the objective function of the port dangerous goods container yard site selection model and the constraint conditions of the objective function are set;

[0055] The conditions for establishing the model include: the actual daily stacking volume of dangerous goods containers is dynamic, with the daily average stacking volume as the benchmark data; each dangerous goods container corresponds to only one storage yard; the basis for selecting a storage yard for dangerous goods containers is represented by the coverage function of the storage yard; the scale effect of the storage yard cost is represented by a step function.

[0056] For example, according to the conditions for setting up a yard at a certain port, the purchase price of a car is about 80,000 yuan, the monthly salary of an employee is about 8,000-10,000 yuan, the yard is expected to cover an area of ​​700-800 square meters, and the daily rental fee is estimated to be 35,000-50,000 yuan per square meter. It is deduced that the fixed expenditure of the yard is roughly 400,000-1 million yuan (including wages, electricity costs, equipment maintenance and other expenses), the yard can accommodate 200 containers per day, the minimum coverage distance of the yard is 4km, and the maximum coverage distance is 10km. The distance information from terminal A to yard Q (Q1~Q7) is shown in Table 1:

[0057] Table 1 Distance from Terminal A to Alternative Storage Yards (km)

[0058]

[0059] The objective function of the site selection model for the port dangerous goods container yard is specifically:

[0060] The amount of dangerous goods containers to be stacked is z 1 The maximum value and location cost z 2 The minimum value of is used as the objective function:

[0061] ;

[0062] ;

[0063] In the formula, the terminal set is , , k is the number of terminals, n is the total number of terminals; the set of dangerous goods containers is M M= , i is the number of dangerous goods containers, u is the total number of dangerous goods containers; the yard set is S S ; j is the number of storage yards, w is the total number of storage yards; D i is the average daily stacking volume of dangerous goods container i; is the distance from terminal k to yard j; is the coverage function of the yard; x kji is a 0-1 decision variable, =1 for dangerous goods container i from terminal k to yard j, otherwise, =0; C kji Dangerous goods containers From the Pier To the yard The unit distance transportation cost, Q kji Dangerous goods containers Every day from the pier Transport to the yard The transport volume; F j is the processing cost of yard j; f j For the yard Operating expenses; j is a 0-1 decision variable, y j =1 is the selected yard As a storage yard for dangerous goods containers, otherwise, y j =0.

[0064] The constraints of the objective function of the site selection model for the port dangerous goods container yard are specifically:

[0065] The constraints on the daily stockpile volume of the storage yard are:

[0066] ;

[0067] Where N j is the stockpile volume of yard j;

[0068] The constraints of yard operation cost are:

[0069] ;

[0070] In the formula, To budget expenses;

[0071] The number of yard construction is greater than or equal to 1, which can be expressed as follows:

[0072] ;

[0073] Each hazardous goods container has only one storage yard, which can be expressed as follows:

[0074] ;

[0075] The relevant decision variable constraints are:

[0076] ;

[0077] ;

[0078] ;

[0079] The yard compliance constraints are:

[0080] ;

[0081] According to relevant regulations, the upper limit of A is 3. is a 0-1 decision variable, Indicates that yard j has planning compliance, otherwise ; is a 0-1 decision variable, indicates that yard j meets the development boundary check, otherwise ; is a 0-1 decision variable, Indicates that yard j meets the permanent ecological protection zone verification, otherwise .

[0082] The coverage function The expression is as follows:

[0083] ;

[0084] In the formula, For the yard Maximum distance covered, For the yard Minimum distance to cover.

[0085] The yard cost The expression is as follows:

[0086] ;

[0087] In the formula, Indicates the yard container handling capacity; is the critical parameter of the yard; is the coefficient; α is the yard scale effect coefficient, α .

[0088] S2. Solve the location model of dangerous goods container yard according to the improved NSGA-II algorithm, including:

[0089] S21, initialize the population, set the population size, and randomly generate the initial population;

[0090] S22, calculating the objective function value for the individuals in the initial population, and stratifying the initial population using a fast non-dominated sorting method; calculating the crowding distance of each individual in the initial population; selecting the next generation candidate population according to a preset ratio based on the calculation results of the fast non-dominated sorting and the crowding distance;

[0091] The individuals in the initial population represent a possible site selection plan for the storage yard;

[0092] Furthermore, a tournament selection strategy is adopted to complete the individual selection operation.

[0093] S23, performing PBX crossover and mutation operations on the next generation candidate population to generate a progeny population; when performing the PBX crossover operation on the next generation candidate population, introducing an adaptive scaling factor λ, the formula of the adaptive scaling factor λ is as follows:

[0094] ;

[0095] In the formula, G max represents the maximum number of iterations, G i represents the number of iterations i;

[0096] Specifically, the adaptive scaling coefficient is divided into the initial stage, the middle stage and the final stage according to the number of iterations. In the initial stage, the population size decreases rapidly, so that more gene positions are selected, the solution space can be quickly explored, and a larger range of variation is allowed to promote population diversity. A larger λ value means that the crossover operation is more aggressive, which helps to jump out of the local optimum and find new solution areas. In the middle stage, the population size decreases slowly, so that the selected gene positions are moderate, which slows down the discarding of excellent genes. A moderate λ value helps to conduct a more detailed search in the explored solution space while maintaining a certain degree of exploratory nature. In the final stage, a smaller scaling coefficient is set to ensure that the number of excellent genes is reduced less, and a more detailed search is conducted on the excellent solutions that have been discovered to optimize the quality of the solution. A smaller λ value means that the crossover operation becomes more conservative, reduces the amplitude of variation, and focuses on local search.

[0097] For example, two numbers are randomly generated between 1 and 100, and the difference between the two numbers is the selected gene

[0098] The number of gene positions; two numbers, 40 and 60, are randomly generated between 1 and 100, so the number of gene positions selected is 20; if the maximum number of iterations is 200 and the current number of iterations is 40, then λ=1.72, and the calculated result is rounded, so the number of gene positions selected this time is 34; if the maximum number of iterations is 200 and the current number of iterations is 120, then λ=1, and the number of gene positions selected at this time is 20; if the maximum number of iterations is 200 and the current number of iterations is 180, then λ=0.3, and the number of gene positions selected at this time is 6;

[0099] Furthermore, exchange mutation is used to perform mutation operation.

[0100] S24, the initial population and the offspring population merge to form a new parent population;

[0101] S25. Repeat steps S22 to S24. If the maximum number of iterations is reached, stop the iteration and output the calculation result.

[0102] For example, a single objective model (only considering the stacking volume of dangerous goods containers and only focusing on the site selection cost of dangerous goods container yards) and a dual objective model that comprehensively considers the two factors of dangerous goods container stacking volume and site selection cost are solved. The results are shown in Table 2:

[0103] Table 2 Comparison of dangerous goods container stacking capacity and site selection cost under different models

[0104]

[0105] Table 2 shows that when the stacking volume of dangerous goods containers and the site selection cost are included in the model, the total cost increases by 50% compared with the case of focusing only on the impact of site selection cost, while the stacking volume of dangerous goods containers decreases by 50% accordingly; in contrast, if only the stacking volume of dangerous goods containers is considered, the stacking volume decreases by 20% and the site selection cost decreases by 15%. Further analysis shows that the use of a comprehensive dual-objective model can maximize the stacking volume while maintaining a reasonable price, while a single-objective model cannot achieve the lowest cost.

[0106] Table 3 Operation status of existing storage yards

[0107]

[0108] The operation of the existing storage yards is shown in Table 3. From Table 3, we can see that the cost of the existing storage yards is the highest at 135.64 million yuan, the lowest at 89.69 million yuan, the average cost is 112.80 million yuan, and the average storage distance is 8.9 kilometers. Through analysis, we can see that the distance covered by the storage yard has a direct impact on the stacking volume of dangerous goods containers, and will also indirectly affect the stacking volume and site selection cost of dangerous goods containers.

[0109] In order to find the best placement strategy, the distribution of front-end individuals was optimized during 200 iterative cycles of optimization. The corresponding site selection scheme is shown in Table 4.

[0110] Table 4 Yard site selection plan

[0111]

[0112] Table 4 shows that under all yard location strategies, the maximum cost is 97.64 million yuan, the lowest is 64.37 million yuan, and the average is 83.02 million yuan, which is 26% lower than the existing storage method. In addition, the average storage distance of the yard has reached 7.8 kilometers, which is lower than before; and the average number of storage items has increased to 453, an increase of 21%. In terms of the distribution of demand points within 4km and outside 10km, there are an average of 4 in the former, accounting for about 57%; the average of the latter is 1, accounting for about 14%; and there are an average of 2 yards with a service distance of 4km~10km, accounting for 29%. It can be seen that the yard service area is mainly within 10km. However, because the radiation radius of the yard service is different, the degree of need for each yard is also different. In actual operation, it is often more inclined to the nearby yard service location, which can not only improve the storage capacity of the site, but also bring additional cost burden. In order to balance these factors, the overall scale of dangerous goods container stacking can be moderately expanded to reduce the cost pressure per unit stacking, thereby achieving overall cost optimization.

[0113] The present invention also provides a port dangerous goods container yard site selection system based on improved NSGA-II, which is used to execute the port dangerous goods container yard site selection method based on improved NSGA-II, and is characterized by comprising the following modules:

[0114] The model building module is used to build a port dangerous goods container yard site selection model based on the model building conditions and taking into account the amount of goods stored in the yard, the yard transportation cost, the yard processing cost and the yard operation cost; set the objective function of the port dangerous goods container yard site selection model and the constraint conditions of the objective function;

[0115] The solving module is connected with the model building module and is used to solve the location selection model of the dangerous goods container yard according to the improved NSGA-II algorithm.

[0116] It should be noted that the terms used in the present invention are only for describing specific embodiments, rather than limiting the scope of the present application. As shown in the present specification, unless the context clearly indicates an exception, the words "one", "a", "a kind of" and / or "the" do not specifically refer to the singular, but may also include the plural. The terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method or device. In the absence of more restrictions, the elements defined by the sentence "include one..." do not exclude the presence of other identical elements in the process, method or device including the elements.

[0117] It should also be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", etc. should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0118] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the technical solutions of the embodiments of the present invention.

Claims

1. The site selection method for port dangerous goods container yard based on improved NSGA-II is characterized by: The steps include: S1. According to the model establishment conditions, and taking into account the cargo volume stored in the yard, the yard transportation cost, the yard handling cost and the yard operation cost, a port dangerous goods container yard site selection model is constructed; the objective function of the port dangerous goods container yard site selection model and the constraint conditions of the objective function are set; The model establishment conditions specifically include: The actual daily stacking volume of dangerous goods containers is dynamic, with the daily average stacking volume as the benchmark data; each dangerous goods container corresponds to only one yard; the basis for selecting a yard for dangerous goods containers is represented by the coverage function of the yard; the scale effect of the yard cost is represented by the step function; The objective function of the site selection model for the port dangerous goods container yard is specifically: The maximum value of dangerous goods container stacking volume z1 and the minimum value of site selection cost z2 are used as the objective function: ; ; In the formula, the terminal set is , , k is the number of terminals, n is the total number of terminals; the set of dangerous goods containers is M, M= , i is the number of dangerous goods containers, u is the total number of dangerous goods containers; the yard set is S, S ; j is the number of storage yards, w is the total number of storage yards; D i is the average daily stacking volume of dangerous goods container i; is the distance from terminal k to yard j; is the coverage function of the yard; x kji is a 0-1 decision variable, =1 for dangerous goods container i from terminal k to yard j, otherwise, =0; C kji Dangerous goods containers From the Pier To the yard The unit distance transportation cost, Q kji Dangerous goods containers Every day from the pier Transport to the yard The transport volume; F j is the processing cost of yard j; f j For the yard Operating expenses; j is a 0-1 decision variable, y j =1 is the selected yard As a storage yard for dangerous goods containers, otherwise, y j =0; The constraints of the objective function of the site selection model for the port dangerous goods container yard are specifically: The constraints on the daily stockpile volume of the storage yard are: ; Where N j is the stockpile volume of yard j; The constraints of yard operation cost are: ; In the formula, To budget expenses; The number of yard construction is greater than or equal to 1, which can be expressed as follows: ; Each hazardous goods container has only one storage yard, which can be expressed as follows: ; The relevant decision variable constraints are: ; ; ; The yard compliance constraints are: ; The upper limit of A is 3, is a 0-1 decision variable, Indicates that yard j has planning compliance, otherwise ; is a 0-1 decision variable, indicates that yard j meets the development boundary check, otherwise ; is a 0-1 decision variable, Indicates that yard j meets the permanent ecological protection zone verification, otherwise ; The basis for selecting the storage yard for dangerous goods containers is represented by the coverage function of the storage yard. The expression is as follows: In the formula, For the yard Maximum distance covered, For the yard Minimum distance covered; The yard cost has a scale effect and is represented by a step function. The expression is as follows: In the formula, Indicates the yard container handling capacity; is the critical parameter of the yard; is the coefficient; α is the yard scale effect coefficient, α ; S2. Solve the location model of dangerous goods container yard according to the improved NSGA-II algorithm, including: S21, initialize the population, set the population size, and randomly generate the initial population; S22, calculating the objective function value for the individuals in the initial population, and stratifying the initial population using a fast non-dominated sorting method; calculating the crowding distance of each individual in the initial population; selecting the next generation candidate population according to a preset ratio based on the calculation results of the fast non-dominated sorting and the crowding distance; S23, performing PBX crossover and mutation operations on the next generation candidate population to generate a progeny population; when performing the PBX crossover operation on the next generation candidate population, introducing an adaptive scaling factor λ, the formula of the adaptive scaling factor λ is as follows: ; In the formula, G max represents the maximum number of iterations, G i represents the number of iterations i; S24, the initial population and the offspring population merge to form a new parent population; S25. Repeat steps S22 to S24 until the maximum number of iterations is reached, then stop iterating and output the calculation result.

2. The method for selecting a site for a container yard for dangerous goods in a port based on improved NSGA-II according to claim 1 is characterized in that: In step S22, the individual selection operation is completed using the tournament selection strategy.

3. The method for selecting a site for a dangerous goods container yard in a port based on an improved NSGA-II according to claim 1, characterized in that: In step S23, a mutation operation is performed using exchange mutation.

4. A port dangerous goods container yard site selection system based on improved NSGA-II, used to execute the port dangerous goods container yard site selection method based on improved NSGA-II as described in any one of claims 1 to 3, characterized in that: Includes the following modules: The model building module is used to build a port dangerous goods container yard site selection model based on the model building conditions and taking into account the amount of goods stored in the yard, the yard transportation cost, the yard processing cost and the yard operation cost; set the objective function of the port dangerous goods container yard site selection model and the constraint conditions of the objective function; The solving module is connected with the model building module and is used to solve the location selection model of the dangerous goods container yard according to the improved NSGA-II algorithm.