A fire station site selection method, device, terminal equipment and storage medium
Through the multi-objective optimization method, a fire station location model is constructed to improve the overall efficiency of fire station location selection, solve the distance problem between fire stations caused by single-objective optimization in the existing technology, and achieve the best effectiveness of emergency services and resource utilization. Reasonable distribution.
Patent Information
- Application Number
- CN202111116925.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-23
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2041-09-23
AI Technical Summary
Existing fire station site selection methods only consider single-objective optimization and cannot effectively maximize the effectiveness of emergency services in complex real-world scenarios. This results in low emergency service efficiency or high economic costs due to distance problems between fire stations.
Using a multi-objective optimization method, the first site selection model is constructed to maximize the number of target demand points covered by the first preset type of fire stations, and based on the second site selection model to minimize the number of second preset type fire stations, minimum Minimize the distance from the target demand point and maximize the distance between adjacent stations to determine the location plan of the fire station.
It improves the overall efficiency of fire station site selection, ensures the best effectiveness of emergency services, avoids waste of resources, and considers different objective functions according to fire station types during the site selection process.
Smart Images

Figure CN113850426B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of urban planning technology, and in particular, relates to a fire station site selection method, device, terminal equipment and storage medium. Background Art
[0002] As an important part of the city's firefighting infrastructure, fire stations are the main force in fire fighting and play an important role in maintaining the safety and stability of the city. The site selection of fire stations has become a top priority in urban planning. In the existing hierarchical site selection of fire stations, only a single goal is often considered for site optimization. However, due to the complexity of the real-life scenario and the multiple standards to be considered in station construction, it is not scientific and reasonable to use only a single goal to optimize the layout, and it is impossible to give full play to the best effect of emergency services. For example, the distance between newly built fire stations. If the distance is too large, the efficiency of emergency services will be reduced, and if the distance is too small, the economic cost will be high. Therefore, how to select the site of fire stations to improve overall efficiency has become a top priority at present. Summary of the invention
[0003] The embodiments of the present application provide a fire station site selection method, apparatus, terminal device and storage medium, which can solve the problem of low overall efficiency when selecting a site for a fire station.
[0004] In a first aspect, an embodiment of the present application provides a method for selecting a site for a fire station, comprising:
[0005] A first site selection model is constructed with the goal of maximizing the number of target demand points covered by the first preset type of fire station; the target demand points are demand points within the target area whose fire risk values are greater than a preset threshold;
[0006] When the first constraint condition corresponding to the first preset type of fire station is met, determining a site selection plan for the first preset type of fire station according to the first site selection model;
[0007] Based on the site selection scheme of the first preset type fire station, a second site selection model is constructed with the objectives of minimizing the number of second preset type fire stations, minimizing the distance between the second preset type fire stations and the target demand point, and maximizing the average distance between adjacent second preset type fire stations;
[0008] When the second constraint condition corresponding to the second preset type of fire station is met, the site selection plan for the second preset type of fire station is determined according to the second site selection model.
[0009] In a second aspect, an embodiment of the present application provides a fire station site selection device, including:
[0010] A first model building module is used to build a first site selection model with the goal of maximizing the number of target demand points covered by the first preset type of fire station; the above-mentioned target demand points are demand points in the target area whose fire risk value is greater than a preset threshold;
[0011] A first scheme determination module, configured to determine a site selection scheme for the fire station of the first preset type according to the first site selection model when a first constraint condition corresponding to the fire station of the first preset type is met;
[0012] A second model building module is used to build a second site selection model based on the site selection scheme of the first preset type fire station, with the goal of minimizing the number of second preset type fire stations, minimizing the distance between the second preset type fire stations and the target demand point, and maximizing the average distance between adjacent second preset type fire stations;
[0013] The second scheme determination module is used to determine the site selection scheme of the second preset type of fire station according to the second site selection model when the second constraint condition corresponding to the second preset type of fire station is met.
[0014] In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any one of the above-mentioned fire station site selection methods when executing the computer program.
[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above-mentioned fire station site selection methods are implemented.
[0016] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device executes any one of the fire station site selection methods in the first aspect above.
[0017] In the embodiment of the present application, a first site selection model is constructed with the goal of maximizing the number of target demand points covered by the first preset type fire station; the above-mentioned target demand points are demand points in the target area whose fire risk values are greater than a preset threshold; when the first constraint condition corresponding to the first preset type fire station is met, the site selection scheme of the above-mentioned first preset type fire station is determined according to the above-mentioned first site selection model; based on the site selection scheme of the above-mentioned first preset type fire station, a second site selection model is constructed with the goals of minimizing the number of second preset type fire stations, minimizing the distance between the above-mentioned second preset type fire stations and the target demand points, and maximizing the average distance between adjacent second preset type fire stations; the workload of the above-mentioned second preset type fire station is less than that of the above-mentioned first preset type fire station; when the second constraint condition corresponding to the above-mentioned second preset type fire station is met, the site selection scheme of the above-mentioned second preset type fire station is determined according to the above-mentioned second site selection model. Through the embodiment of the present application, different types of fire stations are used for site selection, and the site selection plan of the second preset type of fire station is further considered on the basis of the site selection plan of the first preset type of fire station, so as to make the site selection result more reasonable. In the process of determining the site selection plan, different objective functions are considered according to the different types of fire stations to improve the optimal utility of emergency services, thereby improving the overall efficiency of fire station site selection. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0019] Figure 1 This is a first flow chart of the fire station site selection method provided in the embodiment of the present application;
[0020] Figure 2 This is a second flow chart of the fire station site selection method provided in the embodiment of the present application;
[0021] Figure 3 This is a third flow chart of the fire station site selection method provided in the embodiment of the present application;
[0022] Figure 4 is a schematic diagram of a target ring provided in an embodiment of the present application;
[0023] Figure 5 It is a structural schematic diagram of a fire station site selection device provided in an embodiment of the present application;
[0024] Figure 6 It is a schematic diagram of the structure of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0026] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0027] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0028] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0029] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0030] Figure 1 The figure shows a flow chart of a method for selecting a site for a fire station in an embodiment of the present application. The execution subject of the method may be a terminal device, and a fire station is selected and established in a target area. Figure 1 As shown, the above-mentioned fire station site selection method may include the following steps:
[0031] Step S101, constructing a first site selection model with the goal of maximizing the number of target demand points covered by a first preset type of fire station; the above-mentioned target demand points are demand points in a target area whose fire risk value is greater than a preset threshold.
[0032] In this embodiment, there is at least one community in the target area, and the centroid point of the at least one community is used as the demand point to represent the corresponding community. For example, if the service range of a first preset type fire station can cover demand point A, it is considered that the first preset type fire station can be responsible for providing fire rescue services to the community corresponding to demand point A. The terminal device achieves the goal of maximizing the number of target demand points covered by the first preset type fire station based on the fire risk values corresponding to each demand point in the target area and the coverage results of the demand points by the first preset type fire station, thereby constructing a first site selection model to cover as many highly dangerous demand points as possible, so as to achieve key treatment of high-risk fire areas. The objective function of constructing the first site selection model is:
[0033]
[0034] Among them, the above i is a demand point; the above I is the set of demand points in the above target area; the above a i is the fire risk value of demand point i; is a decision variable, if is 1, it means that the demand point i can be covered by the first preset type fire station j1. If it is 0, it means that the demand point i may not be covered by the first preset type fire station j1; the above j1∈J1, the above J1 is the candidate location set of the above first preset type fire station, that is, the location point can be selected from the candidate location set to build the first preset type fire station, and the candidate location set can be obtained from the road network structure data in the target area, mainly by selecting each road network intersection in the road network structure data.
[0035] In one embodiment, Figure 2 As shown, before step S101, the following steps are included:
[0036] Step S201: Obtain the historical number of fire occurrences and population density of the demand point.
[0037] Step S202: Determine a first risk value corresponding to the demand point according to the number of historical fire occurrences.
[0038] In this embodiment, the number of historical fire occurrences of at least one demand point in the target area can be obtained, and then the fire levels of the demand points can be ranked according to the number of historical fire occurrences using the natural breakpoint method, so that the first risk value corresponding to the demand point can be determined according to the number of historical fire occurrences of the demand point, as shown in the following table:
[0039]
[0040]
[0041] Step S203: Determine a second risk value corresponding to the demand point according to the population density.
[0042] In this embodiment, the population density of at least one demand point in the target area can be obtained, and then the fire levels of the demand points can be ranked according to the population density using the natural breakpoint method, so that the second risk value corresponding to the demand point can be determined according to the population density of the demand point, as shown in the following table:
[0043] Population density Number of demand points <![CDATA[Second risk value r ρ > 0<ρ≤0.26 0 0 0.26<ρ≤3.60 53 1 3.60<ρ≤8.02 28 2 8.02<ρ≤13.37 12 3 13.37<ρ≤24.85 2 4 ρ>24.85 0 5
[0044] Step S204: assign preset weights to the first risk value and the second risk value respectively, and calculate the sum of the weighted first risk value and the second risk value to obtain a fire risk value.
[0045] In this embodiment, the first risk value and the second risk value can be weighted respectively, so as to sum up the number of historical fire occurrences and the population density to determine the fire risk value corresponding to the demand point. As shown in the above table, the above preset threshold can be set to 4, that is, the demand point with a fire risk value greater than 4 is set as the target demand point. The formula for calculating the fire risk value is:
[0046] a i =γ·r a +(1-γ)·r p
[0047] Among them, the above γ is the weight, γ∈(0,1).
[0048] Step S102: When the first constraint condition corresponding to the first preset type of fire station is met, a site selection plan for the first preset type of fire station is determined according to the first site selection model.
[0049] In this embodiment, the terminal device can use a genetic algorithm to determine whether the first constraint condition corresponding to the first preset type of fire station is met, and then solve the above-mentioned first site selection model through the genetic algorithm to determine the site selection plan for the first preset type of fire station, which includes the addresses of a certain number of first preset type fire stations.
[0050] In one embodiment, the first constraint condition includes:
[0051] The above demand point is covered by at least one fire station of the first preset type, and the formula is expressed as:
[0052]
[0053] Among them, the above is a set of selectable first preset type fire stations j1 that can serve demand point i; is the distance between the demand point i and the first preset type fire station j1; the above R1 is the coverage radius of the first preset type fire station; the above is a decision variable, if If it is 1, it means that the first preset type fire station is built on j1. If it is 0, it means that the first preset type fire station cannot be built on j1.
[0054] Limiting the number of fire stations of the first preset type, the formula is expressed as:
[0055]
[0056] Among them, the above N is the number of the above-mentioned first preset type fire stations.
[0057] Limit the distance between adjacent fire stations of the first preset type, so as to achieve balanced distribution of fire stations of the first preset type by limiting the distance between adjacent stations. The formula is expressed as:
[0058]
[0059] Among them, the above is the distance between adjacent fire stations of the first preset type; is the minimum distance between adjacent fire stations of the first preset type; It is the maximum distance between adjacent fire stations of the first preset type mentioned above.
[0060] The distance between the adjacent existing first preset type fire station and the above-mentioned first preset type fire station is limited, so that a limited number of first preset type fire stations are built on the basis of retaining the existing first preset type fire stations. By further building first preset type fire stations on the basis of the existing first preset type fire stations, the cost can be reduced, so that the first preset type fire stations can cover more high-risk communities. In this embodiment, the above-mentioned first preset type fire station is set as the first preset type fire station to be built, and the above-mentioned existing first preset type fire station is set as the first preset type fire station already existing in the target area. The formula is expressed as:
[0061]
[0062] Among them, the above is the distance between the adjacent existing first preset type fire station and the above-mentioned first preset type fire station; the above-mentioned Φ is the location set of the existing first preset type fire stations.
[0063] In addition, the above decision variables can also be restricted, and the formula is expressed as:
[0064]
[0065] In one embodiment, before limiting the number of the first preset type fire stations, the terminal device may obtain the operating cost and loss cost of the first preset type fire stations, wherein the operating cost is the sum of the construction cost of the first preset type fire stations and the maintenance cost during operation, and the loss cost is the total loss cost of accidents in the service area covered by the first preset type fire stations, so as to calculate the number of the first preset type fire stations by using the above two factors, and the calculation formula is:
[0066] Minf(N)=N×SC+α×TLC×e -N
[0067] Wherein, the SC is the operating cost; the TLC is the loss cost; the N is the number of fire stations of the first preset type, and the α is a balance parameter.
[0068] By setting the derivative of the above f(N) to 0, we get the formula:
[0069]
[0070] After processing, the formula for calculating the number of fire stations of the first preset type is:
[0071] N = int (log TLC - log SC + β)
[0072] Wherein, the above β=logα; the above log TLC is the logarithm of the operating cost; and the above log SC is the logarithm of the loss cost.
[0073] In one embodiment, if the loss cost is much higher than the operating cost, before limiting the number of the first preset type fire station, the following steps may be included: the terminal device obtains the coverage area of the first preset type fire station, the area of the target area and the number of existing first preset type fire stations; then calculates the product of the existing first preset type fire station and the coverage area; calculates the difference between the area of the target area and the product, and uses the ratio of the difference to the coverage area as the number of the first preset type fire stations. The calculation formula is:
[0074]
[0075] Wherein, the above TAR is the area of the above target area; the above N e is the number of existing first preset type fire stations; the above SAM is the coverage area of the above first preset type fire stations.
[0076] Step S103: Based on the site selection plan of the above-mentioned first preset type fire station, a second site selection model is constructed with the goals of minimizing the number of second preset type fire stations, minimizing the distance between the above-mentioned second preset type fire stations and the target demand points, and maximizing the average distance between adjacent second preset type fire stations.
[0077] In this embodiment, the existing fire station site selection only considers a single goal for site selection optimization, and cannot bring into play the best effect of emergency services. Therefore, in this embodiment, a multi-objective planning is established by considering three aspects: financial budget constraints, rescue capabilities and rescue efficiency, so as to bring into play the best effect of emergency services. Specifically, the site selection of the second preset type fire station is carried out based on the site selection plan of the first preset type fire station determined above, which can enhance the interaction between the first preset type fire station and the second preset type fire station, and consider the auxiliary force of the second preset type fire station in firefighting and disaster relief, so that the second preset type fire station can arrive at the fire accident scene within the response time, control the scope of the accident in advance, and wait for the arrival of the adjacent first preset type fire station at the same time, so as to jointly perform major rescue tasks. It can also further avoid the waste of resources caused by the close construction distance between the first preset type fire station and the second preset type fire station.
[0078] The terminal device realizes the goal of minimizing the number of the second preset type fire stations according to the establishment result of the second preset type fire stations, thereby reducing the financial budget. The objective function is:
[0079]
[0080] Wherein, j2∈J2, J2 is the candidate location set of the second preset type fire station, that is, a location point can be selected from the candidate location set to build the second preset type fire station; is a decision variable, if If is 1, it means that the second preset type fire station is built on j2. If it is 0, it means that the second preset type fire station cannot be built on j2.
[0081] The terminal device achieves the goal of minimizing the distance between the second preset type fire station and the target demand point according to the fire risk value corresponding to each demand point in the target area, the distance between the demand point and the second preset type fire station, and the coverage result of the demand point by the second preset type fire station, so as to enable the overall fire station to cover all high-risk communities in the target area, and provide decision makers with reasonable and efficient fire station site selection strategy support to improve rescue capabilities. The objective function is:
[0082]
[0083] Among them, the above is a set of selectable second preset type fire stations j2 that can serve demand point i; is the distance between the demand point i and the second preset type fire station j2; R2 is the coverage radius of the second preset type fire station; is a decision variable, if is 1, it means that the demand point i can be covered by the second preset type fire station j2. If it is 0, it means that the demand point i cannot be covered by the second preset type fire station j2.
[0084] The terminal device aims to maximize the average distance between adjacent second preset type fire stations according to the distance between adjacent second preset type fire stations in the target area, thereby improving the rescue efficiency. The objective function is:
[0085]
[0086] Among them, the above The distance between adjacent second preset type fire stations.
[0087] Thus, through the three objective functions of the second site selection model, Min[F1, F2, F3] is obtained, where:
[0088] It is understandable that the construction of the second preset type fire station is mainly based on the shortage of urban land; at the same time, in order to deal with the situation of reaching the accident scene within the prescribed time of 5 minutes caused by various factors such as building density and road congestion in the urban core area, it is necessary to establish a second preset type fire station, because the second preset type fire station is based on the community, which can quickly respond and deal with the accident at the beginning, reducing the loss of life and property caused by the accident. Since the second preset type fire station mainly plays an auxiliary role, the workload of the second preset type fire station is less than that of the first preset type fire station, and the corresponding supporting equipment is also less than that of the first preset type fire station, as shown in the following table. The first-level station and the second-level station in the table belong to the first preset type fire station mentioned above. In actual application, the first-level station is the main construction object in the city, and the first-level station and the second-level station have similar fire rescue capabilities and construction standards, so the first-level station and the second-level station are classified as the first preset type fire station.
[0089]
[0090]
[0091] Step S104: when the second constraint condition corresponding to the second preset type of fire station is met, determine the site selection plan of the second preset type of fire station according to the second site selection model.
[0092] In this embodiment, the terminal device may adopt a non dominated sorting genetic algorithm-II (NSGA-II) to solve the problem, and adopt a crowding distance evaluation mechanism to maintain the diversity of Pareto optimal solutions. A binary coding scheme is applied to encode the multi-objective evolutionary algorithm (MOEA), with "1" representing the location of the small fire station to be selected and "0" representing the others. The convergence performance of NSGA-II is analyzed according to the HV indicator, the convergence algebra is found, and the workload value of the model is calculated. Among the multiple non-dominant solutions output by the model, the financial budget constraint (the above formula F1), the rescue capacity (the above formula F2) and the rescue efficiency (the above formula F3) are given equal weights, and the optimal solution is selected. Among them, the above NSGA-II is an efficient MOEA and is widely used to solve multi-objective optimization problems. NSGA-II involves an elite retention method to speed up the performance of the algorithm and help prevent the loss of the elite individuals found. In addition, a fast non-dominant sorting method is used to reduce the computational complexity, and a crowding distance evaluation mechanism is used to keep the diversity of Pareto optimal solutions. The above MOEA is an algorithm framework designed using evolutionary thinking to solve multi-objective optimization problems.
[0093] In one embodiment, the second constraint condition includes:
[0094] The above demand point is covered by at least one fire station of the second preset type, and the formula is expressed as:
[0095]
[0096]
[0097] Limiting the workload value of the second preset type of fire station, the formula is expressed as:
[0098]
[0099] Among them, the above is the set of demand points i covered by the selectable second preset type fire station j2; the above S is the workload upper limit of the second preset type fire station, that is, the total fire risk of the area covered by the second preset type fire station.
[0100] The formula for limiting the distance between adjacent first preset type fire stations and second preset type fire stations is:
[0101]
[0102] Among them, the above is the distance between adjacent first preset type fire stations and second preset type fire stations; the above d s2 is the minimum distance between adjacent first preset type fire stations and second preset type fire stations; the above d l2 The maximum distance between adjacent first preset type fire stations and second preset type fire stations.
[0103] In addition, the above decision variables can also be restricted, and the formula is expressed as:
[0104]
[0105] In one embodiment, Figure 4 As shown, the site selection scheme of the second preset type of fire station is determined according to the second site selection model, including:
[0106] Step S301: Acquire the road network intersections in the target area, that is, the road network intersections in the road network structure data.
[0107] Step S302: determine the maximum distance and the minimum distance between the fire station of the first preset type and the fire station of the second preset type according to the coverage radius of the fire station of the first preset type, the coverage radius of the fire station of the second preset type and a preset tolerance value.
[0108] In this embodiment, the formula for determining the maximum distance between the first preset type fire station and the second preset type fire station is:
[0109]
[0110] The above ε is a preset tolerance value.
[0111] In this embodiment, the formula for determining the minimum distance between the first preset type fire station and the second preset type fire station is:
[0112]
[0113] Step S303: The road network intersection within the target ring centered on the first preset type fire station and the existing first preset type fire station is used as the candidate location point of the second preset type fire station; the width of the target ring is the difference between the maximum distance and the minimum distance, that is, The target ring Figure 4 shown.
[0114] Step S304: input the candidate location points of the second preset type fire station into the second site selection model to determine the site selection plan of the second preset type fire station.
[0115] In this embodiment, the candidate location points of the second preset type of fire station are input into j2 used to construct the second site selection model for solution, thereby determining the site selection plan of the second preset type of fire station.
[0116] In the embodiment of the present application, a first site selection model is constructed with the goal of maximizing the number of target demand points covered by the first preset type fire station; the above-mentioned target demand points are demand points in the target area whose fire risk values are greater than a preset threshold; when the first constraint condition corresponding to the first preset type fire station is met, the site selection scheme of the above-mentioned first preset type fire station is determined according to the above-mentioned first site selection model; based on the site selection scheme of the above-mentioned first preset type fire station, a second site selection model is constructed with the goals of minimizing the number of second preset type fire stations, minimizing the distance between the above-mentioned second preset type fire stations and the target demand points, and maximizing the average distance between adjacent second preset type fire stations; the workload of the above-mentioned second preset type fire station is less than that of the above-mentioned first preset type fire station; when the second constraint condition corresponding to the above-mentioned second preset type fire station is met, the site selection scheme of the above-mentioned second preset type fire station is determined according to the above-mentioned second site selection model. Through the embodiment of the present application, different types of fire stations are used for site selection, and the site selection plan of the second preset type of fire station is further considered on the basis of the site selection plan of the first preset type of fire station, so as to make the site selection result more reasonable. In the process of determining the site selection plan, different objective functions are considered according to the different types of fire stations to improve the optimal utility of emergency services, thereby improving the overall efficiency of fire station site selection.
[0117] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0118] Corresponding to the fire station site selection method described above, Figure 5 FIG. 1 is a schematic diagram of a fire station site selection device according to an embodiment of the present application. Figure 5 As shown, the above-mentioned fire station site selection device may include:
[0119] The first model building module 501 is used to build a first site selection model with the goal of maximizing the number of target demand points covered by the first preset type of fire station; the above-mentioned target demand points are demand points in the target area whose fire risk value is greater than a preset threshold.
[0120] The first solution determination module 502 is used to determine the site selection solution of the first preset type of fire station according to the first site selection model when the first constraint condition corresponding to the first preset type of fire station is met.
[0121] The second model building module 503 is used to build a second site selection model based on the site selection plan of the above-mentioned first preset type fire station, with the goals of minimizing the number of second preset type fire stations, minimizing the distance between the above-mentioned second preset type fire stations and the target demand points, and maximizing the average distance between adjacent second preset type fire stations.
[0122] The second solution determination module 504 is used to determine the site selection solution of the second preset type of fire station according to the second site selection model when the second constraint condition corresponding to the second preset type of fire station is met.
[0123] In one embodiment, the first constraint condition includes: the demand point is covered by at least one fire station of the first preset type; the number of fire stations of the first preset type is limited; the distance between adjacent fire stations of the first preset type is limited; and the distance between adjacent existing fire stations of the first preset type and the first preset type fire station is limited.
[0124] In one embodiment, the fire station site selection device may further include:
[0125] The first acquisition module is used to obtain the coverage area of the above-mentioned first preset type fire station, the area of the above-mentioned target area and the number of existing first preset type fire stations.
[0126] The product calculation module is used to calculate the product of the above-mentioned existing first preset type fire station and the above-mentioned coverage area.
[0127] The first quantity calculation module is used to calculate the difference between the area of the above-mentioned target area and the above-mentioned product, and use the ratio of the above-mentioned difference to the above-mentioned coverage area as the number of the above-mentioned first preset type of fire stations.
[0128] In one embodiment, the fire station site selection device may further include:
[0129] The cost acquisition module is used to acquire the operating cost and loss cost of the above-mentioned first preset type of fire station.
[0130] The second quantity calculation module is used to calculate the difference between the logarithm of the operating cost and the logarithm of the loss cost to obtain the number of the first preset type of fire stations.
[0131] In one embodiment, the second constraint condition includes: the demand point is covered by at least one fire station of the second preset type; the workload value of the fire station of the second preset type is limited; and the distance between adjacent fire stations of the first preset type and the fire station of the second preset type is limited.
[0132] In one embodiment, the second solution determination module 504 may include:
[0133] The acquisition unit is used to acquire the road network intersections in the above target area.
[0134] A distance determination unit is used to determine the maximum distance and the minimum distance between the first preset type fire station and the second preset type fire station according to the coverage radius of the first preset type fire station, the coverage radius of the second preset type fire station and a preset tolerance value.
[0135] The candidate location point unit is used to use the road network intersection within the target ring centered on the above-mentioned first preset type fire station and the existing first preset type fire station as the candidate location point of the above-mentioned second preset type fire station; the width of the above-mentioned target ring is the difference between the above-mentioned maximum distance and the above-mentioned minimum distance.
[0136] The input unit is used to input the candidate location points of the second preset type of fire station into the second site selection model to determine the site selection plan of the second preset type of fire station.
[0137] In one embodiment, the fire station site selection device may further include:
[0138] The second acquisition module is used to obtain the historical number of fire occurrences and population density of the above-mentioned demand points.
[0139] The first risk value determination module is used to determine the first risk value corresponding to the above-mentioned demand point according to the above-mentioned historical fire occurrence times.
[0140] The second risk value determination module is used to determine the second risk value corresponding to the above-mentioned demand point according to the above-mentioned population density.
[0141] The weight assigning module is used to assign preset weights to the first risk value and the second risk value respectively, calculate the sum of the weighted first risk value and the second risk value to obtain the fire risk value.
[0142] In the embodiment of the present application, a first site selection model is constructed with the goal of maximizing the number of target demand points covered by the first preset type fire station; the above-mentioned target demand points are demand points in the target area whose fire risk values are greater than a preset threshold; when the first constraint condition corresponding to the first preset type fire station is met, the site selection scheme of the above-mentioned first preset type fire station is determined according to the above-mentioned first site selection model; based on the site selection scheme of the above-mentioned first preset type fire station, a second site selection model is constructed with the goals of minimizing the number of second preset type fire stations, minimizing the distance between the above-mentioned second preset type fire stations and the target demand points, and maximizing the average distance between adjacent second preset type fire stations; the workload of the above-mentioned second preset type fire station is less than that of the above-mentioned first preset type fire station; when the second constraint condition corresponding to the above-mentioned second preset type fire station is met, the site selection scheme of the above-mentioned second preset type fire station is determined according to the above-mentioned second site selection model. Through the embodiment of the present application, different types of fire stations are used for site selection, and the site selection plan of the second preset type of fire station is further considered on the basis of the site selection plan of the first preset type of fire station, so as to make the site selection result more reasonable. In the process of determining the site selection plan, different objective functions are considered according to the different types of fire stations to improve the optimal utility of emergency services, thereby improving the overall efficiency of fire station site selection.
[0143] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned system embodiments and method embodiments, and will not be repeated here.
[0144] Figure 6 This is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0145] like Figure 6 As shown, the terminal device 6 of this embodiment includes: at least one processor 600 ( Figure 6 Only one is shown in the figure), a memory 601 connected to the processor 600, and a computer program 602 stored in the memory 601 and executable on the at least one processor 600, such as a fire station site selection program. When the processor 600 executes the computer program 602, the steps in the above-mentioned fire station site selection method embodiments are implemented, such as Figure 1 Alternatively, when the processor 600 executes the computer program 602, the functions of the modules in the above-mentioned device embodiments are realized, for example, Figure 5 Functions of modules 501 to 504 are shown.
[0146] Exemplarily, the computer program 602 may be divided into one or more modules, and the one or more modules are stored in the memory 601 and executed by the processor 600 to complete the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 602 in the terminal device 6. For example, the computer program 602 may be divided into a first model building module 501, a first solution determination module 502, a second model building module 503, and a second solution determination module 504, and the specific functions of each module are as follows:
[0147] The first model building module 501 is used to build a first site selection model with the goal of maximizing the number of target demand points covered by the first preset type of fire station; the above-mentioned target demand points are demand points in the target area whose fire risk value is greater than a preset threshold;
[0148] A first solution determination module 502, configured to determine a site selection solution for the first preset type of fire station according to the first site selection model when a first constraint condition corresponding to the first preset type of fire station is met;
[0149] A second model building module 503 is used to build a second site selection model based on the site selection scheme of the first preset type fire station, with the goal of minimizing the number of second preset type fire stations, minimizing the distance between the second preset type fire stations and the target demand point, and maximizing the average distance between adjacent second preset type fire stations;
[0150] The second solution determination module 504 is used to determine the site selection solution of the second preset type of fire station according to the second site selection model when the second constraint condition corresponding to the second preset type of fire station is met.
[0151] The terminal device 6 may include, but is not limited to, a processor 600 and a memory 601. Those skilled in the art will appreciate that Figure 6 It is only an example of the terminal device 6 and does not constitute a limitation on the terminal device 6. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, buses, etc.
[0152] The processor 600 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0153] In some embodiments, the memory 601 may be an internal storage unit of the terminal device 6, such as a hard disk or memory of the terminal device 6. In other embodiments, the memory 601 may also be an external storage device of the terminal device 6, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 6. Further, the memory 601 may also include both an internal storage unit and an external storage device of the terminal device 6. The memory 601 is used to store an operating system, an application program, a boot loader, data, and other programs, such as the program code of the computer program. The memory 601 may also be used to temporarily store data that has been output or is to be output.
[0154] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the above-mentioned device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0155] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0156] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0157] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the above modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0158] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0159] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0160] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The above-mentioned computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the above-mentioned computer program includes computer program code, and the above-mentioned computer program code can be in source code form, object code form, executable file or some intermediate form. The above-mentioned computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0161] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for selecting a fire station site. It is characterized in that include: A first site selection model is constructed with the goal of maximizing the number of target demand points covered by the first preset type of fire station; The target demand point is a demand point in the target area where the fire risk value is greater than a preset threshold; When a first constraint condition corresponding to a fire station of the first preset type is met, determining a site selection plan for the fire station of the first preset type according to the first site selection model; Based on the site selection scheme of the first preset type fire station, a second site selection model is constructed with the objectives of minimizing the number of second preset type fire stations, minimizing the distance between the second preset type fire stations and the target demand point, and maximizing the average distance between adjacent second preset type fire stations, wherein the workload of the second preset type fire station is less than the workload of the first preset type fire station; When the second constraint condition corresponding to the second preset type of fire station is met, determining a site selection plan for the second preset type of fire station according to the second site selection model; Wherein, determining the site selection scheme of the second preset type of fire station according to the second site selection model includes: Obtaining road network intersections within the target area; Determine the maximum distance and the minimum distance between the first preset type fire station and the second preset type fire station according to the coverage radius of the first preset type fire station, the coverage radius of the second preset type fire station and a preset tolerance value; The road network intersection within the target ring centered on the first preset type fire station and the existing first preset type fire station is used as a candidate location point of the second preset type fire station; the width of the target ring is the difference between the maximum distance and the minimum distance; The candidate location points of the second preset type of fire station are input into the second site selection model to determine the site selection plan for the second preset type of fire station.
2. The method for selecting a fire station site according to claim 1, It is characterized in that The first constraint condition includes: The demand point is covered by at least one fire station of the first preset type; Limiting the number of fire stations of the first predetermined type; Limiting the distance between adjacent fire stations of the first predetermined type; Limit the distance between an adjacent existing first preset type fire station and the first preset type fire station.
3. The fire station site selection method according to claim 2, It is characterized in that Before limiting the number of fire stations of the first preset type, it includes: Obtaining the coverage area of the first preset type fire station, the area of the target area, and the number of existing first preset type fire stations; Calculating the product of the existing first preset type fire station and the coverage area; The difference between the area of the target area and the product is calculated, and the ratio of the difference to the coverage area is used as the number of fire stations of the first preset type.
4. The method for selecting a site for a fire station as claimed in claim 2, It is characterized in that Before limiting the number of fire stations of the first preset type, it includes: Obtaining the operating cost and loss cost of the first preset type of fire station; The number of the first preset type fire stations is obtained according to the difference between the logarithm of the operating cost and the logarithm of the loss cost.
5. The method for selecting a site for a fire station as claimed in claim 1, It is characterized in that The second constraint condition includes: The demand point is covered by at least one fire station of the second preset type; Limiting the workload value of the second preset type of fire station; Limit the distance between adjacent first preset type fire stations and second preset type fire stations.
6. The method for selecting a fire station site according to any one of claims 1 to 5, It is characterized in that Before constructing the first site selection model with the goal of maximizing the number of target demand points covered by the first preset type of fire station, it includes: Obtain the historical number of fire occurrences and population density of the demand point; Determining a first risk value corresponding to the demand point according to the number of historical fire occurrences; Determining a second risk value corresponding to the demand point according to the population density; The first risk value and the second risk value are respectively assigned preset weights, and the sum of the weighted first risk value and the second risk value is calculated to obtain the fire risk value.
7. A fire station site selection device, It is characterized in that include: A first model building module, used to build a first site selection model with the goal of maximizing the number of target demand points covered by the first preset type of fire station; The target demand point is a demand point in the target area where the fire risk value is greater than a preset threshold; A first solution determination module, configured to determine a site selection solution for a fire station of the first preset type according to the first site selection model when a first constraint condition corresponding to the fire station of the first preset type is met; A second model building module is used to build a second site selection model based on the site selection scheme of the first preset type fire station, with the goal of minimizing the number of second preset type fire stations, minimizing the distance between the second preset type fire stations and the target demand point, and maximizing the average distance between adjacent second preset type fire stations, wherein the workload of the second preset type fire station is less than the workload of the first preset type fire station; A second solution determination module, configured to determine a site selection solution for the second preset type of fire station according to the second site selection model when a second constraint condition corresponding to the second preset type of fire station is met; Wherein, the second scheme determination module includes: An acquisition unit, used for acquiring road network intersections in the target area; a distance determination unit, configured to determine a maximum distance and a minimum distance between the first preset type fire station and the second preset type fire station according to a coverage radius of the first preset type fire station, a coverage radius of the second preset type fire station and a preset tolerance value; A candidate location point unit, used to use a road network intersection within a target ring centered on the first preset type fire station and an existing first preset type fire station as a candidate location point of the second preset type fire station; the width of the target ring is the difference between the maximum distance and the minimum distance; An input unit is used to input the candidate location points of the second preset type fire station into the second site selection model to determine the site selection plan of the second preset type fire station.
8. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of a fire station site selection method as claimed in any one of claims 1 to 6 are implemented.
9. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of a fire station site selection method as described in any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Fire station and territorial space integrated layout decision support system and method
CN119918759A
Fire station and national space integrated layout decision support system and method
CN119918759B
