A method and device for optimizing the internal equipment layout of a hydrogen fuel cell container
By modeling and optimizing the internal equipment layout of hydrogen fuel cell containers, combined with the evaluation of space utilization and safety distance satisfaction, the compactness and safety problems of equipment layout in a limited space are solved, and an efficient and safe equipment layout solution is achieved.
Patent Information
- Application Number
- CN202411442343.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-10-16
AI Technical Summary
In the container design of hydrogen fuel cell emergency equipment, how to achieve compactness of equipment layout in a limited space, while ensuring a safe distance between equipment and avoiding dangerous situations such as equipment failure and hydrogen leakage.
By modeling the internal equipment layout of hydrogen fuel cell containers, weight constraints and evaluations are carried out in combination with space utilization and safety distance satisfaction, local optimization is used for use with simulated annealing algorithm to generate an optimized equipment layout plan.
It realizes efficient use of space in a limited space while ensuring a safe distance between equipment, improving the compactness and safety of equipment layout, and reducing the risk of equipment failure and hydrogen leakage.
Smart Images

Figure CN118965471B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of hydrogen fuel cell technology, and in particular to a method and device for optimizing the layout of internal equipment of a hydrogen fuel cell container. Background Art
[0002] The design of a container for hydrogen fuel cell emergency equipment is a complex and sophisticated process, involving a balance between efficient use of space and equipment safety. The container for hydrogen fuel cell emergency equipment includes internal equipment such as a pure electric chassis, a hydrogen carrying system, and a fuel cell stack. During the design process, technicians faced the dual challenge of ensuring the compactness of the equipment layout while ensuring a safe distance between the equipment within the limited container space.
[0003] At present, ensuring the compactness of equipment layout is crucial to improving space utilization. In a limited space, a compact layout can not only maximize the use of space, but also reduce the cost of moving and installing equipment. However, an overly compact layout may bring safety hazards. If there is not enough safety distance between equipment, it may cause equipment failure, hydrogen leakage and other dangerous situations.
[0004] Therefore, while ensuring that space utilization is met, the equipment must also be able to maintain a safe distance. How to balance the distance between equipment and optimize equipment layout has become the focus of current research on hydrogen fuel cell emergency equipment. Summary of the invention
[0005] One or more embodiments of the present disclosure provide a method and device for optimizing the layout of equipment inside a hydrogen fuel cell container, which optimizes the layout of equipment inside a hydrogen fuel cell container by weighting constraints and model construction on space utilization and safety distance satisfaction.
[0006] In order to achieve the above objectives, the main technical solutions adopted in this application include:
[0007] On the one hand, the present disclosure provides a method for optimizing the internal equipment layout of a hydrogen fuel cell container, wherein the parameters of the internal equipment layout include three-dimensional size parameters, safety distance parameters, safety distance satisfaction and space utilization, and the method includes: according to preset three-dimensional size parameters and safety distance parameters, obtaining a layout model of the internal equipment layout, and generating a first layout scheme based on the layout model of the internal equipment layout; locally expanding the first layout scheme to generate a second layout scheme population, the second layout scheme population including multiple candidate second layout schemes, performing adaptability evaluation on the second layout scheme population, and generating a comprehensive fitness score corresponding to the second layout scheme population based on the adaptability evaluation result, wherein the adaptability evaluation result includes the space utilization and safety distance satisfaction of the second layout scheme population; sorting the second layout scheme population according to the comprehensive fitness score, determining a second layout scheme based on the sorting result, and using the determined second layout scheme as the optimized layout scheme for the internal equipment layout.
[0008] On the one hand, the present disclosure provides an optimization device for the internal equipment layout of a hydrogen fuel cell container, the device comprising: an initial layout unit 100, used to construct a layout model for the internal equipment layout, and determine a first layout scheme based on the layout model for the internal equipment layout; an optimization layout unit 200, used to locally expand the first layout scheme, obtain a second layout scheme population, and perform adaptability evaluation on the second layout scheme population; a comprehensive screening unit 300, used to obtain a comprehensive fitness score of the second layout scheme population based on the adaptability evaluation result of the second layout scheme population, determine a second layout scheme based on the comprehensive fitness score, and use the determined second layout scheme as the optimized layout scheme for the internal equipment layout.
[0009] On the other hand, the present disclosure further provides an electronic device, which includes a memory and a processor, wherein the memory is used to store a computer program, and when the computer program is executed by the processor, the above-mentioned method for optimizing the internal equipment layout of a hydrogen fuel cell container is implemented.
[0010] On the other hand, the present disclosure further provides a computer-readable storage medium, which is used to store a computer program. When the computer program is executed by a processor, it implements the above-mentioned method for optimizing the internal equipment layout of a hydrogen fuel cell container.
[0011] The technical solution provided by one or more embodiments of the present disclosure can optimize the internal equipment layout of the hydrogen fuel cell container. Specifically, by constructing a model and designing a scheme for the internal equipment layout of the container, and evaluating the space utilization rate and safety distance satisfaction, the internal equipment layout scheme of the hydrogen fuel cell container is continuously iterated and screened, thereby optimizing the internal equipment layout of the hydrogen fuel cell container. First, based on the three-dimensional size of the equipment and the safety distance requirements, the spatial coordinates are used to represent the position and direction of the equipment, and a three-dimensional layout model of the equipment is generated. Then, the fitness of the scheme is evaluated by the space utilization rate and the safety distance satisfaction, and a set of layout schemes are obtained by iterative optimization. On this basis, the simulated annealing algorithm is applied for local optimization to further improve the layout effect. Finally, the space utilization rate and safety distance satisfaction are comprehensively considered, and the comprehensive fitness is calculated by setting the weight coefficient to select the optimal layout scheme.
[0012] It can be seen that the technical solution provided by the present disclosure evaluates the space utilization and safety distance satisfaction, continuously iterates and screens the layout scheme, and realizes the optimization of the internal equipment layout of the hydrogen fuel cell container. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the specific implementation methods of the present application 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0014] Figure 1 A schematic diagram showing the steps of a method for optimizing the arrangement of internal equipment of a hydrogen fuel cell container in one embodiment of the present disclosure is shown;
[0015] Figure 2 A functional module schematic diagram of a device for optimizing the arrangement of internal equipment of a hydrogen fuel cell container in one embodiment of the present disclosure is shown;
[0016] Figure 3 A schematic structural diagram of an electronic device in one embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0018] The hydrogen fuel cell emergency equipment container is a portable power generation device designed specifically for emergency power needs. Its internal equipment layout needs to take into account factors such as safety, compactness, and ease of maintenance. First of all, the compactness of the equipment needs to be considered. The emergency equipment container needs to integrate all necessary components such as hydrogen fuel cell stacks, power conversion systems, control systems, and cooling systems in a limited space for easy transportation and rapid deployment. Secondly, safety is also a factor that must be considered during design, because hydrogen fuel cells involve the operation of high-pressure gas and electrical systems, so the layout of all equipment must meet strict safety standards.
[0019] In view of this, on the one hand, it is necessary to realize the compact layout of equipment in a fixed-size container space to maximize space utilization; on the other hand, it is necessary to ensure that each device maintains a sufficient safety distance to prevent potential collisions, leakage or other safety risks. In a limited space, how to cleverly balance the distance between devices to ensure the compactness of the layout while meeting strict safety standards has become the focus of current research.
[0020] One or more embodiments of the present invention construct a model for the internal equipment layout of the container, and impose weight constraints on space utilization and safety distance satisfaction, and continuously iterate and screen the internal equipment layout plans of the hydrogen fuel cell container. Based on the above ideas, one or more embodiments of the present invention can optimize the internal equipment layout of the hydrogen fuel cell container.
[0021] Specifically, see Figure 1 In one embodiment of the present disclosure, a method for optimizing the internal equipment layout of a hydrogen fuel cell container is provided, wherein the parameters of the internal equipment layout include three-dimensional size parameters, safety distance parameters, safety distance satisfaction and space utilization, and the method is performed according to the following steps:
[0022] S1: acquiring a layout model of the internal equipment arrangement according to preset three-dimensional size parameters and safety distance parameters, and generating a first arrangement plan based on the layout model of the internal equipment arrangement.
[0023] In this embodiment, according to the three-dimensional size parameters and safety distance requirements of the internal equipment of the hydrogen fuel cell emergency power supply, a three-dimensional geometric model of the internal equipment is constructed, and the safety distance parameters are used as constraints to generate a layout model for the internal equipment layout. According to the three-dimensional size parameters, a three-dimensional geometric model of the internal equipment layout is constructed, the geometric information of the three-dimensional geometric model is obtained, the position and direction of the equipment are represented by spatial coordinates, the layout model of the internal equipment layout is constructed, and based on the layout model of the internal equipment, a first layout plan is generated.
[0024] Specifically, according to the three-dimensional size parameters of the internal equipment layout, a three-dimensional geometric model of the internal equipment layout is constructed, and the geometric information of the three-dimensional geometric model is obtained, including the size parameters, position parameters and direction parameters of the internal equipment, and the above geometric information is converted into spatial coordinate data. According to the above geometric information and safety distance parameters, the position parameters and direction parameters of the internal equipment are used as variables of the layout model, and the safety distance parameters are used as constraints of the layout model. The layout model of the internal equipment layout is constructed, and the objective function and constraint equation of the layout model are obtained. The initial first layout scheme population that meets the constraints is generated, and the initial first layout scheme group includes multiple candidate first layout schemes. The initial first layout scheme population is traversed to determine whether there is geometric interference in the candidate first layout schemes, and the updated first layout scheme population is determined based on the judgment result. The updated first layout scheme population determined based on the judgment result is screened to determine a first layout scheme.
[0025] In one embodiment, a 3D geometric model of the internal equipment layout is constructed using CAD software based on the 3D size parameters of the internal equipment. For example, SolidWorks can be used to construct a 3D geometric model of the internal equipment layout. The geometric information such as the size, position and direction of the equipment in the model is extracted through the API interface and converted into spatial coordinate data. Based on the extracted equipment geometric information, the position coordinates (x, y, z) and the direction angle θ of the equipment are used as continuous variables and discrete variables, and the safety distance requirements between the equipment are used as constraints to construct the objective function of the layout model, such as minimizing the footprint. , establish the constraint equation ,in, is the length of the device, is the width of the device, The minimum safe distance between devices.
[0026] In this embodiment, based on geometric parameters and constraints, an initial population of first layout solutions that meet the constraints is randomly generated. For example, a genetic algorithm, a particle swarm optimization algorithm, or a differential evolution algorithm can be used to randomly generate an initial population of first layout solutions that meet the constraints. The initial population of first layout solutions is subjected to geometric interference judgment and safety evaluation, and an updated population of first layout solutions is output. Fitness evaluation is performed on the updated population of first layout solutions, and the spatial utilization rate and safety distance satisfaction of each candidate first layout solution are calculated, which are used as evaluation indicators of the fitness function. The fitness values of multiple candidate first layout solutions are calculated through the fitness function to obtain a first evaluation result. According to the first evaluation result, the first layout solution population is iterated, and the iterated first layout solution population is traversed to determine whether there is a candidate first layout solution that meets the preset conditions, and a first layout solution is determined based on the judgment result.
[0027] It should be noted that before the fitness evaluation is performed, the initial first layout scheme population needs to be subjected to geometric interference judgment and safety evaluation. Specifically, the initial first layout scheme population is traversed, and the OBB collision detection algorithm is used to determine whether there is geometric interference between devices in the current candidate first layout scheme through the separating axis theorem. Under the condition that it is determined that there is geometric interference, the candidate first layout scheme is removed until it is determined that there is no geometric interference in the first layout scheme population. Under the condition that it is determined that there is no geometric interference, it is determined whether the first layout scheme population meets the safety evaluation requirements. If the safety evaluation requirements are met, the updated first layout scheme population is output. The first layout scheme population is continuously subjected to safety evaluation using simulation software, for example, TecnomatixPlant Simulation (TecnomatixPlant Simulation, a discrete time simulation software tool) simulation software is used to determine whether the candidate first layout scheme meets the safety distance requirements and other safety specifications through event simulation analysis under the conditions of personnel operation, equipment failure, etc., and the candidate first layout scheme that does not meet the safety distance requirements and other safety specifications is removed from the first layout scheme population. After geometric interference judgment and safety evaluation, if the number of candidate first layout solutions is less than 50, safety constraints are added and the first layout solution population is regenerated.
[0028] In this embodiment, a fitness evaluation is performed on the first layout scheme population to obtain a first evaluation result. Specifically, based on the first layout scheme population, the space utilization rate and safety distance satisfaction rate of the first layout scheme population are calculated. Among them, the space utilization rate is the ratio of the volume of the space occupied by the equipment to the volume of the entire layout space, and the safety distance satisfaction rate is the ratio of the number of equipment pairs that meet the safety distance requirements to the total number of equipment pairs. Based on the spatial coordinate information of each candidate first layout scheme, by calculating the Euclidean distance between the devices, it is determined whether the safety distance between the devices meets the threshold requirement to obtain the safety distance satisfaction rate, and the space utilization rate is calculated based on the volume of the space occupied by the equipment in the equipment layout scheme and the volume of the entire layout space to obtain a space utilization rate index. Among them, the space utilization rate ,in, Indicates the volume of space occupied by the device. Represents the total space volume.
[0029] In this embodiment, the space utilization rate and safety distance satisfaction of each layout scheme in the first layout scheme population are used as the input of the fitness function, and the fitness value H of each candidate layout scheme is obtained by weighted summation, that is, the evaluation result of the first layout scheme population is obtained. , represents the weight of space utilization, Indicates the space utilization rate. represents the weight of safety distance satisfaction, Indicates the safety distance satisfaction, and It can be adjusted according to actual needs.
[0030] In this embodiment, the first arrangement scheme population is traversed to determine whether there is a first arrangement scheme, and a first arrangement scheme is determined based on the determination result. Specifically, according to the first evaluation result of fitness, the first arrangement scheme population is sorted and screened to determine a first arrangement scheme. The first arrangement scheme population is sorted from high to low according to the fitness value, and the first arrangement scheme population is iterated. If the first arrangement scheme population meets the preset condition, the preset condition is that the average fitness improvement of 10 consecutive generations of populations is less than 0.1 or the number of iterations reaches 100, then the candidate first arrangement scheme with the highest fitness value is determined as the final first arrangement scheme. If there is no first arrangement scheme that meets the preset condition, several candidate first arrangement schemes with higher fitness are selected as the parent, and new candidate first arrangement schemes are generated through crossover and mutation operations. The optimization is continuously iterated until the preset condition is met, and after screening, an optimized first arrangement scheme is obtained.
[0031] In one embodiment, if none of the first arrangement scheme populations satisfies the preset conditions, the first arrangement scheme population is crossovered and mutated according to the preset crossover probability and mutation probability until the preset conditions are met, and a first arrangement scheme is determined. Specifically, several candidate first arrangement schemes with higher fitness are selected as parents, and new candidate first arrangement schemes are generated through crossover and mutation operations. Specifically, two parent schemes are selected, and the equipment layout positions of the parent schemes are exchanged according to the preset crossover probability to form a new child arrangement scheme, and the equipment layout positions of the child schemes are changed according to the preset mutation probability. After completing the crossover and mutation process, the resulting child arrangement scheme is incorporated into the first arrangement scheme population, replacing the scheme with lower fitness in the first arrangement scheme population, and the scheme with the highest fitness that appears in the above iteration and screening process is used as the final first arrangement scheme.
[0032] For example, the center coordinates of device A are (2, 4, 0), the length, width and height are 5m, 8m and 2m respectively, and the safety distance between devices is not less than 5m when rotated 30° around the z-axis. Specifically, the position coordinates of device A (2, 4, 0) are taken as continuous variables, and the direction angle 30° is taken as discrete variables. The objective function of the layout model is constructed to minimize the footprint. , establish the constraint equation .
[0033] Exemplarily, in one embodiment, the minimum safety distance between devices is 2m, and the minimum safety distance between the device and the layout space boundary is 5m. A genetic algorithm is used to randomly generate 50 first layout scheme populations that meet the constraints. For each layout scheme in the first layout scheme population, calculate its space utilization and safety distance satisfaction. For example: the layout space volume is 1000m³, and the volume occupied by the equipment is 800m³, then the space utilization is 80%. There are 20 pairs of adjacent devices, of which 18 pairs meet the safety distance requirements, then the safety distance satisfaction is 90%. Multiply the space utilization and safety distance satisfaction by weights 6 and 4 respectively, and use a weighted summation method to obtain the fitness evaluation result of each device layout scheme.
[0034] Exemplarily, the 50 first arrangement scheme populations satisfying the constraint conditions obtained in S3 are sorted from high to low according to the fitness value, and the candidate first arrangement scheme with the highest fitness value is determined. If the candidate first arrangement scheme with the highest fitness value satisfies the fitness condition, that is, the average fitness improvement of the population for 10 consecutive generations is less than 1 or the number of iterations reaches 100, the candidate first arrangement scheme with the highest fitness value is determined as the final first arrangement scheme.
[0035] Exemplarily, the 50 first layout scheme populations that meet the constraint conditions obtained in S3 are sorted from high to low according to the fitness value, and the candidate first layout scheme with the highest fitness value is determined. If the candidate first layout scheme with the highest fitness value does not meet the fitness condition, two schemes are selected from the excellent schemes as the parent schemes, the crossover probability is preset to 8, the mutation probability is 1, and the layout position of the parent scheme is exchanged by a single-point crossover method to obtain a child scheme, and one device in the child scheme is randomly selected and its position is changed. The child scheme that finally undergoes crossover and mutation replaces the scheme with the lower fitness in the first layout population, and iterative optimization continues. The candidate first layout scheme with the highest fitness that appears in the iterative process is determined as the final first layout scheme. For example, the space utilization rate of the above-mentioned final first layout scheme can reach 85%, and the adjacent equipment spacing greater than 5m is met.
[0036] In view of this, in the above iteration and screening process, by performing fitness evaluation, selection, crossover and mutation operations on multiple candidate first layout plans of the first layout plan population, the layout plan is gradually optimized and a first layout plan is determined. By properly adjusting parameters such as population size, crossover probability, mutation probability, etc., the generation speed and quality of the first layout plan can be improved, a higher space utilization rate is obtained, and a balance between the safety and efficiency of equipment layout is initially achieved.
[0037] S3: Locally expand the first layout plan to generate a second layout plan population, where the second layout plan population includes multiple candidate second layout plans, perform adaptability evaluation on the second layout plan population, and generate a comprehensive fitness score corresponding to the second layout plan population based on the adaptability evaluation result, wherein the adaptability evaluation result includes the space utilization rate and safety distance satisfaction of the second layout plan population.
[0038] In this embodiment, based on the first arrangement scheme obtained in S1, the local area of the first arrangement scheme is optimized to obtain a local optimal second arrangement scheme population, and the second arrangement scheme population includes multiple candidate second arrangement schemes. The adaptability evaluation is performed on multiple candidate second arrangement schemes in the locally optimized second arrangement scheme population, and the adaptability evaluation includes space utilization evaluation and safety distance evaluation, and the space utilization and safety distance of all candidate second arrangement schemes in the second arrangement scheme population are obtained, and these two indicators are used as the adaptability evaluation results.
[0039] In this embodiment, the first arrangement scheme is locally expanded to determine the second arrangement scheme population, and the second arrangement scheme population includes multiple candidate second arrangement schemes. Optionally, the simulated annealing algorithm or the random search method can be used to expand the neighborhood solution of the first arrangement scheme. Taking the simulated annealing algorithm as an example, the first arrangement scheme is used as the initial solution of the simulated annealing algorithm, and the initial temperature and temperature drop rate of the simulated annealing algorithm are set to control the search range and accuracy of the algorithm. The device position of the first arrangement scheme is locally offset to generate multiple neighborhood arrangement schemes of the first arrangement scheme, and the multiple neighborhood arrangement schemes are determined as the initial second arrangement scheme population. The second arrangement scheme population is traversed, and the value of the objective function of the device of each candidate second arrangement scheme is compared with the value of the objective function of the device of the first arrangement scheme. If the value of the objective function of the device of the current candidate second arrangement scheme is greater than the value of the objective function of the device of the first arrangement scheme, the current candidate second arrangement scheme is retained and the first arrangement scheme is included in the second arrangement scheme population.
[0040] In one embodiment, if the value of the objective function of a candidate second layout solution is lower than the value of the objective function of the second layout solution, the probability of accepting an inferior solution is calculated, and whether to accept the current candidate second layout solution is determined based on the probability of accepting an inferior solution. The position of device i in the first layout solution is slightly adjusted, and a second layout solution population is generated by generating a neighborhood solution. The value of the objective function is the objective function of constructing the layout model described in S1. ,in, is the length of device i, is the width of device i, is the location parameter of device i, the probability of accepting an inferior solution , is the difference in the value of the objective function, is the Boltzmann constant, The current temperature. Generate a random number between 0 and 1 ,like , then accept the inferior solution, that is, keep the current candidate second layout plan, if , then remove the current candidate second arrangement solution from the second arrangement solution population, and include the second arrangement solution into the second arrangement solution population.
[0041] In one embodiment, the space utilization rate of the second arrangement scheme population obtained through local optimization is evaluated, and the space utilization rate of the second arrangement scheme population is compared with the compactness threshold. The second arrangement scheme population is traversed, and if the space utilization rate of the current candidate second arrangement scheme is greater than or equal to the preset compactness threshold, the current candidate second arrangement scheme is retained; if the space utilization rate of the current candidate second arrangement scheme is less than the preset compactness threshold, the current candidate second arrangement scheme is removed from the second arrangement scheme population, and all space utilization rates in the second arrangement scheme population are used as the adaptability evaluation result of the space utilization evaluation.
[0042] In one embodiment, the second arrangement scheme population is subjected to safety distance assessment, and the second arrangement scheme population is traversed, and all safety distance satisfactions in the second arrangement scheme population are used as adaptability assessment results of the safety distance assessment.
[0043] In this embodiment, a fitness evaluation weight coefficient is set, and the space utilization and safety distance in the fitness evaluation result are normalized and weighted summed to obtain a comprehensive fitness score. The fitness evaluation weight coefficient is not particularly limited in this disclosure and can be determined according to actual needs. For example, the weight coefficient of space utilization is set to 6, and the weight coefficient of minimum safety distance is set to 4, indicating that the importance of space utilization is higher than the minimum safety distance.
[0044] Exemplarily, the initial temperature is set to 100, the temperature drop rate is set to 95, and the first layout plan is locally expanded. At the current temperature, the position of the internal equipment in the first layout plan is randomly offset within the range of [-1m, 1m], and 10 second layout plans of neighborhood solutions are generated to form a second layout plan population. The objective function, space utilization, and safety distance satisfaction of each second layout plan in the second layout plan population are calculated. If the objective function, space utilization, and safety distance satisfaction of the current second layout plan meet the preset standard, the current second layout plan is accepted.
[0045] For example, in one embodiment, the space utilization rate of the current layout scheme is 40%, the safety distance is -1m, the corresponding fitness evaluation weight coefficients are set to 6 and 4, the space utilization rate and the safety distance satisfaction are dimensionless and normalized, and the data range is scaled to the interval [0,1]. The maximum value of the space utilization rate obtained after dimensionless processing is 60%, the minimum value is 20%, and the value after normalization is 5. The maximum value of the safety distance satisfaction obtained after dimensionless processing is 3, the minimum value is -2, and the value after normalization is 2. The normalized indicator data and the weight coefficient are weighted and summed to obtain a comprehensive fitness score, that is, 6×5+4×2=38.
[0046] S5: sorting the second arrangement scheme population according to the comprehensive fitness score, determining a second arrangement scheme based on the sorting result, and using the determined second arrangement scheme as the optimized arrangement scheme for the internal equipment arrangement.
[0047] In this embodiment, a comprehensive fitness score is obtained based on the adaptability evaluation results of the space utilization evaluation and the safety distance evaluation in S3, and the second layout plan population is traversed, and the second layout plans are sorted from high to low according to the comprehensive fitness score, and the plan with the highest comprehensive fitness score is determined as a second layout plan, that is, the final equipment layout plan.
[0048] In addition, it should be noted that the placement position and placement direction of the equipment in the second layout plan are adjusted. In the absence of geometric interference, the specific placement position and direction of the equipment in the container are adjusted to provide guidance for actual assembly and commissioning. The improved second layout plan is used as the final layout plan for actual assembly and commissioning to ensure that the layout of the hydrogen fuel cell emergency power supply equipment meets the actual application requirements and has good feasibility and superiority.
[0049] In view of this, the technical solution provided by one or more embodiments of the present disclosure realizes the optimization of the internal equipment layout of the hydrogen fuel cell container by modeling the internal equipment layout of the container, and weighting the space utilization rate and the safety distance satisfaction, and continuously iterating and screening the internal equipment layout scheme of the hydrogen fuel cell container. First, based on the three-dimensional size of the equipment and the safety distance requirements, the spatial coordinates are used to represent the position and direction of the equipment, and a three-dimensional layout model of the equipment is generated. Then, the fitness of the scheme is evaluated by the space utilization rate and the safety distance satisfaction, and a set of layout schemes are obtained by iterative optimization. On this basis, the simulated annealing algorithm is applied for local optimization to further improve the layout effect. Finally, the space utilization rate and the safety distance satisfaction are comprehensively considered, and the comprehensive fitness is calculated by setting the weight coefficient to select the optimal equipment layout scheme. Therefore, this scheme realizes the efficient and compact layout of the internal equipment of the hydrogen fuel cell emergency power supply, while ensuring safety, and provides reliable guidance for actual assembly and debugging.
[0050] According to an embodiment of the present application, a method for optimizing the internal equipment layout of a hydrogen fuel cell container is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0051] See also Figure 2In one embodiment of the present disclosure, there is provided a device for optimizing the arrangement of internal equipment of a hydrogen fuel cell container, the device comprising:
[0052] The initial arrangement unit 100 is used to construct an arrangement model of internal equipment arrangement, and determine a first arrangement scheme based on the arrangement model of internal equipment arrangement;
[0053] The layout optimization unit 200 is used to locally expand the first layout scheme to obtain a second layout scheme population, and perform adaptability evaluation on the second layout scheme population;
[0054] A comprehensive screening unit 300 is used to obtain a comprehensive fitness score of the second arrangement scheme population based on the adaptability evaluation result of the second arrangement scheme population, determine a second arrangement scheme based on the comprehensive fitness score, and use the determined second arrangement scheme as the optimized arrangement scheme for the internal equipment arrangement;
[0055] in,
[0056] The initial layout unit 100 is specifically used to obtain a layout model of the internal equipment layout according to the preset three-dimensional size parameters and safety distance parameters of the internal equipment layout, and generate a first layout scheme population based on the layout model of the internal equipment layout, perform fitness evaluation on the first layout scheme population to obtain a first evaluation result, and sort, iterate and screen the first layout scheme population based on the first evaluation result to determine a first layout scheme;
[0057] The optimization layout unit 200 is specifically used to locally expand the first layout scheme to generate a second layout scheme population, wherein the second layout scheme population includes a plurality of candidate second layout schemes, perform adaptability evaluation on the second layout scheme population, and generate a comprehensive fitness score corresponding to the second layout scheme population based on the adaptability evaluation result, wherein the adaptability evaluation result includes a space utilization rate and a safety distance satisfaction degree of the second layout scheme population;
[0058] The comprehensive screening unit 300 is specifically used to sort the second arrangement scheme population according to the comprehensive fitness score, determine a second arrangement scheme based on the sorting result, and use the determined second arrangement scheme as the optimized arrangement scheme for the internal equipment arrangement.
[0059] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0060] In this embodiment, an optimization device for the internal equipment layout of a hydrogen fuel cell container is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0061] See also Figure 3 , Figure 3 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application, such as Figure 3 As shown, the computer device includes: a processor 10, a memory 20, and an interface for connecting various components, including a high-speed interface and a low-speed interface. Each component utilizes different buses to communicate with each other, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 3 A processor 10 is taken as an example.
[0062] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0063] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0064] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0065] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0066] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0067] The embodiment of the present application also provides a computer-readable storage medium. The above method according to the embodiment of the present application can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0068] The embodiment of the present application provides a computer program product, which includes computer instructions, which are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method of any embodiment of the present application.
[0069] Although the embodiments of the present application are described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations are all within the scope defined by the appended claims.
[0070] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0071] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[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 combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0073] The present application is described with reference to the flowcharts and / or block diagrams of the methods, apparatuses, and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks 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 1A 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.
[0076] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0077] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0078] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
[0079] Although the embodiments of the present application have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for optimizing the internal equipment layout of a hydrogen fuel cell container, characterized in that: The parameters of the internal equipment arrangement include three-dimensional size parameters, safety distance parameters, safety distance satisfaction and space utilization, and the method includes: According to preset three-dimensional size parameters and safety distance parameters, a layout model of the internal equipment arrangement is acquired, and based on the layout model of the internal equipment arrangement, a first layout scheme is generated; The first arrangement scheme is locally expanded to generate a second arrangement scheme population, wherein the second arrangement scheme population includes a plurality of candidate second arrangement schemes, an adaptability evaluation is performed on the second arrangement scheme population, and a comprehensive fitness score corresponding to the second arrangement scheme population is generated based on the adaptability evaluation result, wherein the adaptability evaluation result includes a space utilization rate and a safety distance satisfaction degree of the second arrangement scheme population; Sorting the second arrangement scheme population according to the comprehensive fitness score, determining a second arrangement scheme based on the sorting result, and using the determined second arrangement scheme as the optimized arrangement scheme for the internal equipment arrangement; Partially expanding the first arrangement scheme to generate a second arrangement scheme population includes: Locally offsetting the device positions of the first arrangement scheme to generate multiple neighborhood arrangement schemes of the first arrangement scheme, and determining the multiple neighborhood arrangement schemes as an initial second arrangement scheme population; Traverse each candidate second arrangement scheme in the initial second arrangement scheme population, and obtain the value of the objective function of each candidate second arrangement scheme; wherein the objective function is ,in, is the length of the device, is the width of the device, is the location parameter of the device; The value of the objective function of the first arrangement scheme is compared with the value of the objective function of the current candidate second arrangement scheme, whether to accept the current candidate second arrangement scheme is determined based on the comparison result, and an updated second arrangement scheme population is determined based on the determination result.
2. The method according to claim 1, characterized in that: According to the preset three-dimensional size parameters and safety distance parameters, the step of obtaining the layout model of the internal equipment arrangement specifically includes: According to the three-dimensional size parameters, a three-dimensional geometric model of the internal equipment layout is constructed, and geometric information of the three-dimensional geometric model is obtained; wherein the geometric information includes size parameters, position parameters and direction parameters of the internal equipment; A layout model of internal equipment arrangement is constructed according to the geometric information of the three-dimensional geometric model and the safety distance parameters.
3. The method according to claim 2, characterized in that Based on the layout model of the internal device arrangement, generating a first arrangement scheme specifically includes: Based on the layout model of the internal device layout, obtaining the objective function and constraint equation of the layout model, generating an initial first layout scheme population, wherein the first layout scheme population includes a plurality of candidate first layout schemes; Traversing the initial first arrangement solution population, determining whether there is geometric interference in the candidate first arrangement solutions, and determining an updated first arrangement solution population based on the determination result; The updated first arrangement scheme population determined based on the judgment result is screened to determine a first arrangement scheme.
4. The method according to claim 3, characterized in that Traversing the initial first arrangement solution population, judging whether there is geometric interference in the candidate first arrangement solutions, and determining an updated first arrangement solution population based on the judgment result specifically includes: Under the condition that it is determined that geometric interference exists, removing first arrangement schemes with geometric interference from the first arrangement scheme population until it is determined that there is no geometric interference in the first arrangement scheme population; Under the condition that it is determined that there is no geometric interference, it is determined whether the first layout solution population meets the safety assessment requirement, and if the safety assessment requirement is met, the updated first layout solution population is output.
5. The method according to claim 3, characterized in that: The step of screening the updated first arrangement scheme population determined based on the judgment result to determine a first arrangement scheme includes: Performing fitness evaluation on the first arrangement scheme population to obtain a first evaluation result; Iterating the first arrangement solution population according to the first evaluation result; The iterated first arrangement scheme population is traversed to determine whether the first arrangement scheme population satisfies a preset condition, and a first arrangement scheme is determined based on the determination result.
6. The method according to claim 5, characterized in that The step of performing fitness evaluation on the first arrangement scheme population to obtain a first evaluation result specifically includes: Calculating the space utilization rate and safety distance satisfaction of the first layout scheme population according to the first layout scheme population; According to the space utilization rate and safety distance satisfaction of the first layout scheme population, the fitness value of the first layout scheme population is calculated by a fitness function to obtain a first evaluation result, wherein the fitness value ,in, represents the weight of space utilization, Indicates the space utilization rate. represents the weight of safety distance satisfaction, Indicates safety distance satisfaction.
7. The method according to claim 5, characterized in that Traversing the first arrangement scheme population, determining whether there is a first arrangement scheme that meets a preset condition, and determining a first arrangement scheme based on the determination result specifically includes: If there is a candidate first arrangement scheme that meets the preset condition, determining the candidate first arrangement scheme as the first arrangement scheme; If none of the first arrangement scheme populations meet the preset conditions, then according to the preset crossover probability and mutation probability, the first arrangement scheme populations are crossovered and mutated until the preset conditions are met, and a first arrangement scheme is determined.
8. The method according to claim 1, characterized in that Comparing the objective function of the first arrangement solution with the objective function of the current candidate second arrangement solution, and judging whether to accept the current candidate second arrangement solution based on the comparison result specifically includes: If the value of the weighted objective function of the current candidate second arrangement solution is higher than the value of the objective function of the first arrangement solution, retaining the current candidate second arrangement solution; If the value of the weighted objective function of the current candidate second arrangement solution is lower than the value of the objective function of the first arrangement solution, then calculating the probability of accepting an inferior solution, and judging whether to retain the current candidate second arrangement solution according to the probability of accepting an inferior solution; Among them, the probability of accepting an inferior solution is , is the difference between the objective function values of the current candidate second arrangement solution and the first arrangement solution, is the Boltzmann constant, is the current temperature.
9. The method according to claim 1, characterized in that: Performing an adaptability evaluation on the second layout scheme population, and generating a comprehensive fitness score corresponding to the second layout scheme population based on the adaptability evaluation result, wherein the adaptability evaluation result includes a space utilization rate and a safety distance satisfaction degree of the second layout scheme population, the method specifically comprising: The space utilization rate of the second arrangement scheme population is evaluated, the second arrangement scheme population is traversed, and the space utilization rate of each candidate second arrangement scheme is calculated. ,in, Indicates the volume of space occupied by the device. Represents the total space volume; Performing safety distance satisfaction evaluation on the second arrangement scheme population, traversing the second arrangement scheme population, and calculating the safety distance satisfaction of each candidate second arrangement scheme; According to the preset weight coefficient, the space utilization rate and safety distance satisfaction in the adaptability evaluation result are normalized and weighted summed to obtain a comprehensive fitness score.
10. A device for optimizing the layout of internal equipment of a hydrogen fuel cell container, characterized in that: The parameters of the internal equipment arrangement include three-dimensional size parameters, safety distance parameters, safety distance satisfaction and space utilization, and the device includes: An initial layout unit, configured to construct a layout model for the internal equipment layout according to preset three-dimensional size parameters and safety distance parameters, and determine a first layout scheme based on the layout model for the internal equipment layout; an optimization arrangement unit, configured to locally expand the first arrangement scheme to obtain a second arrangement scheme population, wherein the second arrangement scheme population includes a plurality of candidate second arrangement schemes, and perform adaptability evaluation on the second arrangement scheme population; Partially expanding the first arrangement scheme to obtain a second arrangement scheme population includes: Locally offsetting the device positions of the first arrangement scheme to generate multiple neighborhood arrangement schemes of the first arrangement scheme, and determining the multiple neighborhood arrangement schemes as an initial second arrangement scheme population; Traverse each candidate second arrangement scheme in the initial second arrangement scheme population, and obtain the value of the objective function of each candidate second arrangement scheme; wherein the objective function is ,in, is the length of the device, is the width of the device, is the location parameter of the device; Comparing the value of the objective function of the first arrangement scheme with the value of the objective function of the current candidate second arrangement scheme, judging whether to accept the current candidate second arrangement scheme based on the comparison result, and determining an updated second arrangement scheme population based on the judgment result; A comprehensive screening unit is used to obtain a comprehensive fitness score of the second arrangement scheme population based on the adaptability evaluation result of the second arrangement scheme population, sort the second arrangement scheme population based on the comprehensive fitness score, determine a second arrangement scheme based on the sorting result, and use the determined second arrangement scheme as the optimized arrangement scheme for the internal equipment arrangement, wherein the adaptability evaluation result includes the space utilization rate and safety distance satisfaction of the second arrangement scheme population.
11. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for optimizing the internal equipment layout of a hydrogen fuel cell container according to any one of claims 1 to 9 by executing the computer instructions.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for optimizing the arrangement of internal equipment of a hydrogen fuel cell container according to any one of claims 1 to 9.
Citation Information
Patent Citations
Furniture layout method and device, electronic equipment and storage medium
CN118627385A