Intelligent assessment method and system for urban flood risk based on H-E-V model

By obtaining the hierarchical eligibility status and preset hysteresis conditions through the HEV model, the target available model level is determined, forming a multi-layer available model set and merging it with the risk baseline. This solves the problem of unstable model level switching in urban flood risk assessment and realizes the stability and continuity of the assessment process.

CN123140657APending Publication Date: 2026-11-20GUANGXI UNIV FOR NATITIES +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611377504.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-07
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In urban flood risk assessment, existing technologies struggle to maintain the continuity and stability of assessment results when candidate model levels switch critical intervals, especially when candidate model states change, repeated changes in model levels lead to unstable prediction results.

Method used

The HEV model is adopted. By obtaining the hierarchical eligibility status and current operating level of candidate models, and combining the preset hysteresis conditions, the target available model level is determined, and upgrades or rollbacks are performed. During the upgrade, a multi-level available model set is formed. Finally, the multi-level available model set is fused with the risk baseline of the HEV model to ensure the continuity and stability of the evaluation process.

Benefits of technology

This reduces the need for repeated upgrades and downgrades of model levels due to data changes, maintaining the stability and continuity of urban flood risk assessment. By providing multiple prediction references through a multi-layered model set, the reliability of the assessment results is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123140657A_ABST
    Figure CN123140657A_ABST
Patent Text Reader

Abstract

The application discloses an urban flood risk intelligent evaluation method and system based on an H-E-V model, relates to the technical field of flood risk evaluation, and obtains the hierarchical qualification state and the current operation level of a candidate model. Then, the hierarchical qualification state and a preset hysteresis condition are combined to determine the target available model level. Then, the upgrade or rollback is executed according to the hierarchical relationship of the two, and the multi-layer available model set is formed during the upgrade. Finally, the multi-layer available model set is fused with the risk baseline of the H-E-V model. Since the hierarchical adjustment is simultaneously constrained by the qualification state, the current level and the hysteresis condition, the method can reduce the repeated upgrade and downgrade caused by the change of critical data, and meanwhile, the multiple qualified candidate models are reserved as the prediction reference of different levels, which is beneficial to maintaining the continuity and stability of the urban flood risk evaluation process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of flood risk assessment technology, specifically to an intelligent urban flood risk assessment method and system based on the HEV model. Background Technology

[0002] Urban flood risk assessment typically relies on factors such as hazard, exposure, and vulnerability, combined with rainfall, drainage networks, topography, and socioeconomic data. Risk predictions are generated through hydrodynamic and data-driven models. As monitoring samples accumulate, prediction models of varying complexity can be used in assessments under different data conditions.

[0003] During continuous operation, the available sample size and data quality may change, and the timing at which models at different levels meet the conditions for participating in prediction may vary. When a candidate model is in a critical interval for level switching, the operating level may change repeatedly. If the original model exits after a higher-level model is activated, it will also reduce the prediction sources required for result verification and fusion. Therefore, it is necessary to coordinate the level eligibility status of candidate models with the current operating level. Summary of the Invention

[0004] The purpose of this invention is to provide a method and system for intelligent assessment of urban flood risk based on the HEV model.

[0005] To achieve the above objectives, the present invention provides the following technical solution: an intelligent assessment method for urban flood risk based on a HEV model, the method comprising:

[0006] Obtain the hierarchical eligibility status and current operating level of candidate models for urban flooding, where the hierarchical eligibility status includes eligibility status and non-eligibility status;

[0007] Based on the hierarchical qualification status and preset hysteresis conditions, the target available model level of the candidate model with the hierarchical qualification status is determined. According to the hierarchical relationship between the target available model level and the current running level, the current running level is upgraded or rolled back, and a multi-level available model set is formed when the current running level is upgraded.

[0008] After fusing the multi-layered available model set with the risk baseline of the HEV model, the urban flood risk assessment results are output.

[0009] Further optimization of the determination of hierarchical qualification status includes:

[0010] Obtain the cumulative effective sample size and data quality status. When the cumulative effective sample size reaches the activation condition of the corresponding candidate model and the data quality status meets the admission requirements, the candidate model is determined to be qualified for the level.

[0011] In a further preferred embodiment, the preset hysteresis conditions include upgrade conditions and rollback conditions for the corresponding model level. A hysteresis interval is formed between the upgrade conditions and the rollback conditions. The current operating level is maintained within the hysteresis interval, and the target usable model level is determined after the corresponding conditions are met.

[0012] Further preferred methods for determining the target available model hierarchy include:

[0013] When the upgrade conditions are met and the preset cooling period is completed, the candidate model corresponding to the level that is higher than the current running level and has the level qualification status will be determined as the target available model level.

[0014] When the rollback conditions are met, the candidate model corresponding to the level that is lower than the current running level and has the level qualification status will be determined as the target available model level.

[0015] In a further preferred embodiment, after the current operating level is upgraded, the candidate models corresponding to the target available model level are enabled, and the candidate models that are lower than the target available model level but have the qualification status continue to run, forming a multi-level available model set.

[0016] In a further optimized approach, before obtaining the tier eligibility status, the newly added samples are validated, and the admission samples, rejection samples, and data quality status are determined based on the validation results.

[0017] Further preferred methods include fusing the multi-layered available model set with the risk baseline of the HEV model, including:

[0018] The fusion weights are determined based on the recent prediction error, prediction confidence, and training sample size of each candidate model in the multi-layer available model set. The prediction results of each candidate model are then weighted and fused with the risk baseline of the HEV model.

[0019] The present invention also provides an intelligent urban flood risk assessment system based on the HEV model, including a model state acquisition module, a hierarchical scheduling module, a model set construction module, and a risk fusion module;

[0020] The model status acquisition module is used to acquire the hierarchical eligibility status and current running level of candidate models for urban flooding.

[0021] The hierarchical scheduling module is used to determine the target available model level of candidate models that have the hierarchical qualification status based on the hierarchical qualification status and preset hysteresis conditions, and to perform upgrade or rollback of the current running level according to the hierarchical relationship between the target available model level and the current running level.

[0022] The model set building module is used to create multi-layered usable model sets when upgrading the current running level;

[0023] The risk fusion module is used to fuse the risk baseline of the multi-layer available model set with the HEV model and output the urban flood risk assessment results.

[0024] The present invention also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement an evaluation method.

[0025] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements an evaluation method when executed by a processor.

[0026] The technical effects and advantages provided by the present invention in the above technical solution are as follows:

[0027] This invention first obtains the hierarchical eligibility status and current operating level of candidate models. Then, it determines the target available model level by combining the hierarchical eligibility status with preset hysteresis conditions. Next, it performs upgrades or rollbacks based on the hierarchical relationship between the two, forming a multi-level available model set during the upgrade process. Finally, it merges the multi-level available model set with the risk baseline of the HEV model. Because hierarchical adjustments are simultaneously constrained by eligibility status, current level, and hysteresis conditions, it reduces repeated upgrades and rollbacks caused by changes in critical data. Furthermore, retaining multiple qualified candidate models as prediction references for different levels helps maintain the continuity and stability of the urban flood risk assessment process. Attached Figure Description

[0028] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those skilled in the art, other drawings can be obtained based on these drawings.

[0029] Figure 1 This is a flowchart of the intelligent urban flood risk assessment method in this invention.

[0030] Figure 2 This is a schematic diagram of the hysteresis scheduling relationship in this invention.

[0031] Figure 3 This is a schematic diagram illustrating the fusion relationship between the multi-layer available model set and the HEV risk baseline in this invention. Detailed Implementation

[0032] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on the present invention. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0033] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0034] In the following description, the terms "first, second, third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of the invention described herein can be implemented in an order other than that illustrated or described herein.

[0035] In this embodiment of the invention, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0036] Unless otherwise defined, all technical and scientific terms used in the embodiments of this invention have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in the embodiments of this invention is for descriptive purposes only and is not intended to limit the invention.

[0037] The following sections provide further explanation of the candidate model hierarchical scheduling, HEV risk baseline construction, model fusion, and system implementation methods in urban flood risk assessment, using different embodiments. Each embodiment can be implemented individually or in combination without conflict.

[0038] Example 1

[0039] like Figure 1 As shown, this embodiment provides an intelligent assessment method for urban flood risk based on the HEV model. The method obtains the hierarchical eligibility status and current operational level of candidate models for urban flooding. The hierarchical eligibility status includes those with and without hierarchical eligibility. Based on the hierarchical eligibility status and preset hysteresis conditions, the method determines the target available model level for candidate models with hierarchical eligibility. According to the hierarchical relationship between the target available model level and the current operational level, it performs an upgrade or rollback of the current operational level, forming a multi-layered available model set during the upgrade process. After fusing the multi-layered available model set with the risk baseline of the HEV model, the method outputs the urban flood risk assessment result.

[0040] In this embodiment, the HEV model is the foundational assessment model used to output the risk baseline on the mechanism / rule side, where H, E, and V represent hazard, exposure, and vulnerability, respectively. Candidate models are data-driven predictive models used in parallel with this risk baseline; the candidate models do not include the HEV model, which continuously runs as the risk baseline. By maintaining the risk baseline on the mechanism / rule side separately from the candidate models on the data-driven side, the activation, upgrading, and rollback of the candidate models do not affect the continuous output of the risk baseline.

[0041] To avoid ambiguity in the description of model properties, the HEV mechanism / rule baseline model referred to in this invention is a mechanism / rule risk calculation model that couples the three elements of H (hazard), E (exposure), and V (vulnerability). The hazard sub-item includes hydraulic simulation based on SWMM and index weight calculation based on FAHP, and combines exposure and vulnerability assessments to form the risk baseline output. Therefore, this risk baseline is not a single, purely physical hydrodynamic model.

[0042] The hierarchical eligibility status indicates whether a candidate model, under the current data conditions, meets the requirements to enter the corresponding model hierarchy and participate in risk prediction. The server or model scheduler can record each candidate model's model identifier, model hierarchy, cumulative valid sample size, data quality status, most recent status update time, and hierarchical eligibility status in the state storage area. When performing a risk assessment task, the model status acquisition module reads the current hierarchical eligibility status of each candidate model from the state storage area, and simultaneously reads the currently running hierarchy.

[0043] The current running level represents the highest model level among the data-driven models that were already in operation before this hierarchical scheduling began. The target available model level represents the model level that this scheduling is allowed to reach after considering the level eligibility status and preset hysteresis conditions. The hierarchical relationship between the two includes three cases: the target available model level is higher than the current running level, lower than the current running level, and the same as the current running level, corresponding to upgrade, rollback, and maintaining the current level, respectively.

[0044] It should be noted that, to ensure that cold start, normal operation, and rollback scenarios use the same hierarchical numbering standard, this embodiment further defines the "current operating level" as the highest level currently in operation within the unified hierarchical system: when at least one data-driven candidate model is ready and running, the highest model level is taken; when no runnable data-driven candidate model exists, the current operating level is Tier 0, corresponding to the continuously running HEV mechanism / rule baseline model. Therefore, the current operating level has a unique and readable definite value in any scheduling cycle.

[0045] During the cold start phase, when no data-driven candidate model is running, the HEV mechanism / rule baseline model is set to level 0, and this level is set to the ready state during system initialization. The initial value of the currently running level is 0. Upgrades are only performed according to the hierarchical scheduling rules after a higher-level data-driven candidate model has completed training and been set to the ready state. If any data-driven candidate model becomes unavailable, incompletely trained, or experiences an anomaly in prediction, the evaluation output reverts to the level 0 HEV mechanism / rule baseline model to ensure a clear and obtainable baseline output throughout the cold start and the entire running process.

[0046] Candidate models can be categorized into multiple tiers based on complexity and the required effective sample size. As an implementable configuration, the HEV mechanism / rule baseline model is always enabled as the Tier 0 risk baseline, while the data-driven side sets up three candidate tiers: Tier 1, Tier 2, and Tier 3. Example configurations for each tier are shown in the table below.

[0047] Table 1 Examples of candidate model levels, model types, and activation conditions

[0048]

[0049] The sample size thresholds in Table 1 illustrate one configuration method for candidate models to qualify for a tier. In actual deployment, the thresholds can be adjusted based on city size, monitoring frequency, model training method, and the available historical flood sample size, but the candidate models will still maintain a tier order from low to high. Tier 0 serves only as a HEV risk baseline and does not participate in the competition for tier qualification among candidate models.

[0050] The tier eligibility status can be determined jointly by the cumulative effective sample size and the data quality status. When the cumulative effective sample size reaches the activation condition for the corresponding candidate model, and the data quality status meets the admission requirements for training or inference, the candidate model is recorded as having a tier eligibility status; when the cumulative effective sample size is insufficient, or the data quality status does not meet the admission requirements, the candidate model is recorded as not having a tier eligibility status. Here, the cumulative effective sample size is the number of samples that have been verified for data quality and entered into the trainable dataset, rather than the original number of received samples.

[0051] In one specific implementation, after a candidate model achieves the "hierarchical eligibility state," its training completion status and validation performance are also checked for readiness. Training is performed after the candidate model reaches the corresponding sample size activation threshold, and the coefficient of determination R is calculated using an independent validation set. 2 When the candidate model training is complete and R... 2When the value exceeds the preset baseline by 0.5, the candidate model is set to the ready state. The tier eligibility status is used to determine whether the model is allowed to enter the corresponding tier, and the ready state is used to determine whether the model has the actual ability to participate in scheduling and prediction. The two are recorded separately to avoid directly activating models that have not completed training or have failed validation simply because the sample size has reached the threshold.

[0052] Furthermore, to clarify the method for obtaining the verification performance indicators, the coefficient of determination R... 2 The calculation is performed using a validation set that is independent of the candidate model's training set. Let there be N models in the validation set. v 1 valid sample, y i Let ŷ be the normalized true or posterior feedback label for the i-th sample. i Let be the predicted value corresponding to the candidate model, and ȳ be the mean of the validation set labels. Then, it can be calculated using the following formula:

[0053] R 2 = 1 - [Σ i=1 Nv (y i -ŷ i ) 2 ] / [Σ i=1 Nv (y i -ȳ) 2 ]

[0054] Where, N v It is at least 2, and only if the denominator Σ(y) i -ȳ) 2 When greater than 0, use R 2 As a readiness check metric; if all validation set labels are identical, resulting in a denominator of 0, then R is not calculated. 2 Instead, the method is changed to compare the mean absolute error (MAE) or root mean square error (RMSE) with a preset threshold on the same validation set, and the type of validation metric and threshold used are saved in the model status record. This avoids R... 2 Undefined below the constant label boundary.

[0055] like Figure 2As shown, the preset hysteresis condition is used to avoid repeated switching of operation levels caused by fluctuations in data quality or model performance near level boundaries. The preset hysteresis condition includes an upgrade condition, a fallback condition, a hysteresis interval, and a post-upgrade cooling period corresponding to the model level. It should be noted that the cumulative valid sample size is a unidirectionally accumulated level eligibility input, which is only used to determine whether the candidate model meets the enabled sample size condition, and is not used as a hysteresis indicator that needs to cross the boundary downward to trigger fallback. For the level evaluation indicator Q that can increase or decrease with the operation state, let the upgrade threshold be T, and the hysteresis ratio ρ is 0.2, then the upgrade boundary is T, the fallback boundary is (1-ρ)T=0.8T, and the hysteresis interval is [0.8T, T). Upgrade is allowed when Q≥T and the candidate model has level eligibility and meets the readiness condition; the current operation level is maintained when 0.8T≤Q<T; fallback is executed when Q<0.8T and the corresponding fallback criterion is met. The level evaluation indicator Q may adopt a data quality score or a verification performance indicator, and the same level adopts the same indicator caliber within one operation cycle.

[0056] Further, the level evaluation indicator Q and the upgrade threshold T are pre-configured according to the candidate level and stored in the model scheduler: when Q adopts the data quality score q formed in Embodiment 2, T takes the admission score threshold corresponding to the candidate level; when Q adopts the verification performance indicator R of the candidate model 2 , T takes the verification performance threshold corresponding to the candidate level. For the same candidate level, only one type of Q and its corresponding T are selected within one scheduling cycle, and the fallback boundary (1-ρ)T is calculated with the same hysteresis ratio ρ, and different indicator calibers are not mixed in the same judgment.

[0057] When determining the target available model level, the model scheduler first identifies levels that can participate in the current scheduling from candidate models in a level-eligible state, and then makes a judgment in combination with the current operation level and the preset hysteresis condition. If the upgrade condition is met and the preset cooling period has elapsed since the last upgrade, the level corresponding to the candidate model that is higher than the current operation level and has level eligibility is determined as the target available model level. The post-upgrade cooling period can be measured by the number of newly added valid samples, for example, set to 100 new samples, and no new level upgrade is repeatedly executed before the cooling period ends.

[0058] When multiple candidate levels higher than the current running level and already ready exist simultaneously, the system adopts a step-by-step checking strategy. Starting from the next adjacent level after the current running level, it sequentially checks the eligibility and readiness status of each level. It only extends upwards when all consecutive levels meet the conditions, and the highest level in the continuous ready chain is designated as the default target available model level. After the upgrade is completed, a sample cooling-off period begins, with a default length of 100 newly added valid samples. During the cooling-off period, the same target level is not repeatedly upgraded, but the readiness status of higher-level candidate models continues to be evaluated.

[0059] If data quality continues to decline or the number of high-confidence errors increases to the point of triggering a rollback, the target available model level is determined from candidate models that are lower than the current operating level but still qualify for the level, causing the current operating level to roll back to a more stable lower-level model. If the target available model level is the same as the current operating level, the current operating level is maintained, and no model switch is performed.

[0060] Furthermore, when a hierarchical rollback is triggered, the model scheduler updates the current running hierarchical level to the target available model level and deactivates candidate models at a higher level from the online prediction and fusion set for this evaluation period. The deactivated high-level candidate models retain only their model parameters, training status, and historical performance records for subsequent retraining, revalidation, or upgrade assessment, but do not participate in risk prediction and fusion in the current period. The reverted multi-level available model set consists only of candidate models at or below the current running hierarchical level that are simultaneously in a hierarchical qualification and ready state. Only after the high-level candidate models meet the upgrade conditions again and complete the corresponding cooling-off period can they re-enter online fusion.

[0061] Furthermore, if the rollback condition has been triggered, but there are no data-driven candidate models below the current operating level that are simultaneously in a tier-qualified and ready state, then Tier 0 is designated as the fallback target available model level. All data-driven candidate models in the current cycle are stopped from participating in online fusion, and the HEV mechanism / rule baseline model independently outputs the risk results. Tier 0, as the baseline layer that remains ready from system initialization, does not participate in the tier qualification competition for data-driven candidate models, thus ensuring that the execution path to the lowest level remains unique.

[0062] To make the rollback conditions executable, in a preferred embodiment, "continuous decline in data quality" is defined as a continuous decrease in the rolling statistics of the quality scores of the most recent K batches of samples, for example, K is set to 20; when the average quality score of 10 consecutive batches continues to decline, and the average quality score of the current batch is lower than the admission score threshold of the current level, a rollback to an adjacent ready lower level is triggered. "High confidence error" is defined as a prediction event where the prediction confidence of the candidate model is higher than 0.9, and the prediction error on the labeled sample exceeds three times the model's historical best error; when the cumulative number of such events within 5 consecutive statistical windows exceeds a preset threshold, a level rollback is triggered. The prediction error is calculated by the same candidate model on labeled validation samples or subsequent actual feedback samples using a uniform error metric, and the statistical window length and threshold are both configurable implementation parameters.

[0063] Further, K represents the observation window length used to calculate rolling quality statistics, and L represents the number of consecutively decreasing batches required to determine "continuous decline," satisfying 1 ≤ L ≤ K; for example, when K=20 and L=10, it checks whether the average batch quality score of the most recent 10 batches in the most recent 20 batches has decreased batch by batch. For the high confidence error criterion, the historical best error of the candidate model is denoted as e. best The benchmark is taken as max(e) best , ε e ), where ε e A preset positive error lower limit is used to avoid any non-zero error being judged as exceeding its multiple when the historical best error is 0; the specific measure of prediction error is kept consistent in the training, validation and online statistics of the same candidate model, such as using mean absolute error or root mean square error.

[0064] During the current tier upgrade process, lower-tier models that already qualify for the tier are not deactivated. Instead, candidate models corresponding to the target available model tier are activated, while candidate models below the target available model tier that qualify for the tier continue to run, thus forming a multi-tiered available model set. For example, if Tier 1 is already running and Tier 2 meets the upgrade conditions, both Tier 1 and Tier 2 can remain running after the upgrade; similarly, when Tier 3 subsequently becomes eligible and completes the upgrade, Tier 1, Tier 2, and Tier 3 can all remain running simultaneously.

[0065] like Figure 3As shown, the models in the multi-layered available model set output comparable risk prediction results for the same urban flood assessment object. The HEV model also continuously outputs a risk baseline. The risk fusion module can use the prediction results of the multi-layered available model set and the HEV risk baseline to form a fused result. Because the HEV risk baseline does not exit with the upgrade or downgrade of the data-driven model, even if the hierarchical status of the candidate model changes, there is still a continuous mechanistic output as a fusion reference.

[0066] During evaluation periods without hierarchical upgrades, the system continues to maintain a multi-layered set of available models: trained and ready candidate models at each layer are retained as candidate prediction sources, and experience replay and model maintenance are performed using newly added valid samples; simultaneously, the ready, trained, or failed states, cumulative valid sample size, and model performance metrics of each candidate model are persistently saved. Upon system restart, the persistent state is read and the candidate model set is restored, thereby ensuring that a clearly usable fusion model set exists in both non-upgrade periods and the first evaluation period after restart.

[0067] It should be noted that the aforementioned "retaining candidate models at each level as candidate prediction sources" has the current operating level as the upper bound. When a rollback occurred previously, candidate models at levels higher than the current operating level, even if still saved as trained models, are only retained as offline models to be verified and do not belong to the current multi-level available model set. Therefore, the current operating level is always equal to the highest level among the candidate models participating in online prediction.

[0068] In the above embodiments, the hierarchical eligibility status is used to constrain whether a candidate model can enter the scheduling process, the hysteresis condition is used to constrain whether the operating level is changed immediately after eligibility is obtained, the target available model level is used to provide the hierarchical target for this scheduling, and the multi-layer available model set is used to retain the parallel prediction results of models with different complexities. Thus, a clear state transit relationship is formed between model level switching and data state changes, which can reduce repeated switching within critical intervals and retain multiple prediction sources for subsequent fusion.

[0069] Example 2

[0070] This embodiment, based on Embodiment 1, further explains the admission, experience replay, and hierarchical qualification status update process for new samples. Before obtaining the hierarchical qualification status, the new samples are validated, and the admitted samples, rejected samples, and data quality status are determined based on the validation results. Samples that pass the validation are used to update the cumulative valid sample count and can enter the experience replay buffer.

[0071] New samples can be obtained from rain gauges, pipeline level and flow monitoring equipment, historical flooding event records, HEV risk baseline assessment results, and actual feedback after model operation. The data quality gatekeeper module performs range verification, missing value verification, outlier verification, duplicate sample verification, physical consistency verification, and distribution drift detection on the data entering the machine learning training process.

[0072] The candidate data-driven model uses pipeline nodes as the evaluation granularity. Input features include at least six categories: topological features, hydraulic features, spatial features, rainfall features, land use features, and infrastructure features. Topological features include node degree and betweenness centrality; hydraulic features include pipeline slope and hydraulic gradient; spatial features include elevation, ground slope, and neighborhood elevation standard deviation; rainfall features include rainfall intensity, rainfall duration, and previous rainfall; land use features include impervious cover ratio, building density, and population density; and infrastructure features include pump station capacity ratio. All features are aligned according to the same evaluation time window and, after missing data processing and standardization, are input into the candidate model. The candidate model outputs node-level risk values ​​normalized to the [0, 1] interval.

[0073] Training labels are obtained through a unified training sample input interface, and their validity and rationality are verified. Training labels can be risk indices output by the HEV mechanism / rule baseline model for the same node and the same assessment time window, or they can be weighted and combined with historical measured disaster labels; for example, a label value could be 0.7 × risk. index +0.3×disaster label Among them, risk index The risk index is output and normalized to the [0, 1] interval for the HEV mechanism / rule baseline model, disaster label The disaster labels are generated and normalized to the [0, 1] interval based on historical measured disaster situations of the same assessment object. The above combined weights are implementation parameters and do not require candidate models to use these fixed values.

[0074] Range checks are used to verify whether feature values ​​are within a physically reasonable range. For example, a normalized risk value should be between 0 and 1, rainfall intensity should not be less than 0, and overflow and flooding depth should not be negative. Samples that exceed the physically reasonable range and cannot be corrected by existing rules can be rejected.

[0075] Missing value validation is used to determine the missing value ratio of a single sample or batch of samples. As one implementation, a sample or batch is rejected when the missing value ratio exceeds 30%; if the missing value ratio is less than 30% and interpolation of the missing field is allowed, interpolation is performed on the missing field before acceptance. The interpolation method can be selected based on the data type: linear interpolation, spline interpolation, nearest neighbor smoothing, or spatial interpolation.

[0076] Outlier verification can use the 3σ criterion or the interquartile range (IQR) method to identify observations that deviate significantly from the distribution of similar samples. For samples that can be confirmed as transient sensor disturbances rather than actual flood anomalies, the training weights can be reduced; for outlier samples that cannot meet the physical constraints, they can be directly rejected.

[0077] Duplicate sample verification compares the feature similarity between new samples and existing samples. As one implementation, when the similarity exceeds 0.99, the new sample is marked as a duplicate, thus preventing a large number of similar samples from repeatedly entering the training set. Physical consistency verification checks the logical relationships between different features, such as overflow not being less than 0 and the flooding depth maintaining a reasonable correlation with the direction of risk change. Samples with logical contradictions that cannot be corrected are rejected.

[0078] Distribution drift detection is used to compare the statistical distribution of new sample batches with that of a reference dataset, comparing the mean, standard deviation, or other statistics. When a significant distribution drift is detected, a drift marker is output and the training weights of the corresponding sample batch are reduced. If the drift persists, the data quality status can be adjusted to no longer meet the admission requirements of high-level candidate models, allowing it to participate in subsequent backoff condition judgments.

[0079] After each batch of data completes the above verification, the data quality gatekeeper module can output the number of admitted samples, rejection receipts, quality scores, and dynamic weight adjustment coefficients. The number of admitted samples is used to update the cumulative number of valid samples; rejection receipts record the reasons for rejection; the quality score is used to characterize the overall usability of the current data batch; and the dynamic weight adjustment coefficients can be used to reduce the impact of low-quality samples during model training or fusion.

[0080] In an executable data quality status formation method, the quality score q for each batch is initialized to 1. Triggered soft checks are accumulated using multiplicative coefficients, while the coefficients of untriggered checks are set to 1. If any hard check violates the rules, the corresponding sample is directly judged as non-compliant and rejected from the training set. The quality score can be represented as:

[0081] q = ∏ j=1 M c j

[0082] Where M is the number of quality verification items participating in this evaluation, and c jThis is the multiplicative coefficient corresponding to the j-th quality check item. As an implementation configuration, the coefficient is 0.5 when the risk label goes out of bounds, 0.9 when the feature goes out of bounds, 0.3 when the missing rate exceeds 0.3, 0.8 when there are missing values ​​but not exceeding 0.3, 0.5 when the abnormal features exceed a preset proportion, and 0.9 when there are abnormal features but not exceeding the aforementioned proportion. When using the Z-score method for outlier detection, the threshold is 3.0. For distribution drift detection, the relative drift amount of 0.2 compared to the reference distribution mean is used as the judgment threshold. A minimum q of 0.6 can be used as a unified admission criterion, or admission scoring thresholds of 0.5, 0.6, and 0.7 can be set for Tier 1, Tier 2, and Tier 3 respectively.

[0083] The multiplicative coefficients mentioned above are only used for soft quality deviations that have not yet met the hard rejection criteria. For hard violations such as key labels exceeding physical limits and being uncorrectable, key inputs being missing and unable to be interpolated, or overflow or flooding depth being negative, the sample will be directly rejected and will not be included in the quality score q or the cumulative valid sample size. Only for soft deviations that exceed the recommended range but are still correctable or can be used with reduced weight will the corresponding c be applied. j It participates in the multiplicative calculation of q. This avoids the conflict of the same anomaly being defined simultaneously as "direct rejection" and "admission by low coefficient".

[0084] Furthermore, the aforementioned soft multiplicative coefficient of "taking 0.3 when the missing rate exceeds 0.3" only applies to configurations where a hard rejection threshold set separately during deployment is higher than 0.3, and missing fields exceeding 0.3 can still be compensated by redundant fields or reliable interpolation. In this embodiment, when the default configuration of "rejecting samples with a missing rate exceeding 30%" is used, samples with a missing rate greater than 0.3 are directly rejected, and the corresponding c is no longer calculated. j =0.3, and it is not included in the quality score q. Therefore, the default hard rejection rule and the soft quality score rule do not overlap.

[0085] To ensure that the distribution drift threshold of 0.2 has a clear calculation method, the relative mean drift δ can be calculated separately for each continuous numerical feature. μ =|μ new -μ ref | / max(|μ ref |,ε d ), where μ new μ is the average value of the current batch. ref ε is the mean of the reference dataset. d The lower limit is a preset positive number; when δ μA mean shift is indicated when the mean is not less than 0.2. The batch data quality status of multidimensional features can be determined based on the proportion of drifting features to the total number of monitored features. This proportion threshold is fixed before deployment and written into the data quality gate configuration. The similarity of duplicate samples is determined using a fixed similarity metric, such as cosine similarity, within the same standardized feature space, and the metric remains unchanged within the same training period.

[0086] Samples that pass the admission verification enter the experience replay buffer. The buffer has a capacity limit; when the capacity is exceeded, old samples are discarded according to priority or time order. For samples with large prediction errors, near the risk boundary, or belonging to high-risk events, higher sampling weights can be assigned, making it easier to extract information-rich samples for subsequent training.

[0087] The experience replay buffer can also store samples hierarchically according to risk level, ensuring a reasonable proportion of samples at different risk levels and preventing one type of sample from dominating the capacity for a long time. During incremental updates, a certain proportion of historical representative samples are retained for training together with new samples to reduce the possibility that the model only adapts to recent data and forgets early typical patterns.

[0088] The tier eligibility status update can be performed after each data batch completes quality gatekeeping. The model scheduler reads the updated cumulative valid sample size and data quality status, compares them with the activation conditions of each candidate model, and refreshes the tier eligibility status of the candidate models. If a candidate model was originally not eligible for tier eligibility, it can be changed to be eligible for tier eligibility after the sample size reaches the activation condition and the data quality status meets the admission requirements; if the data quality continues to deteriorate, the original eligibility status can also be used as input for rollback decisions.

[0089] The above embodiments link the original samples, admission samples, cumulative effective sample size, and hierarchical eligibility status sequentially, ensuring that model hierarchical eligibility is not directly determined by the amount of unfiltered data. The data quality status participates in both eligibility and hierarchical rollback assessments, ensuring that the activation conditions of higher-level models are consistent with their actual available data, providing stable state input for the hysteresis scheduling in Embodiment 1.

[0090] Example 3

[0091] This embodiment further illustrates the HEV model, which serves as a continuously operating risk baseline. The HEV model can construct an urban flood risk baseline based on three dimensions: hazard, exposure, and vulnerability, and organize hydraulic simulation data, geospatial data, and socioeconomic data into a unified assessment process. This risk baseline can be used directly for risk assessment during the cold start phase, or it can serve as a fusion reference for the multi-layered available model set in Embodiment 1.

[0092] During the data access phase, the data manager can access seven types of data sources: rainfall data using CSV time-series data containing timestamps and rainfall intensity; pipeline network data using JSON data containing node coordinates, node type, pipeline connection relationships, pipe diameter, pipe length, and roughness; geographic data including DEM elevation raster, impermeable surface ratio raster, and land use classification raster; socioeconomic data including population density distribution, GDP per unit area, building asset value, and distribution of key facilities; hydraulic monitoring data including real-time or historical monitoring values ​​of pipeline network liquid level and flow monitoring points; historical disaster data including the location, depth, and loss records of historical flooding events; and emergency resource data including the location and capacity parameters of drainage pumping stations, rescue teams, and emergency supplies.

[0093] The preprocessing stage can standardize the coordinate system, time format, and units. The coordinate system can be WGS84 or CGCS2000. Outliers in the rainfall sequence can be identified using the 3σ criterion, and anomalies in the pipeline coordinates can be identified using spatial neighborhood checks. Missing rainfall data can be filled using linear or spline interpolation, missing pipeline data can be filled using nearest-neighbor smoothing, and spatial data can be filled using Kriging interpolation. After preprocessing, the pipeline topology connectivity, the correspondence between nodes and pipelines, and the rationality of the coordinate range can also be checked.

[0094] It should be noted that WGS84 or CGCS2000 can be used for storing, exchanging, and standardizing geographic coordinates. However, when subsequent calculations involve Euclidean distance between nodes, buffer radius, Thiessen polygon area, spatial cluster distance, or DEM slope—operations with length or area dimensions—the latitude and longitude data should first be converted to a suitable planar projection coordinate system for the target city's area, such as the CGCS2000 Gauss-Kruger projection or the corresponding UTM projection, and the unit of length should be standardized to meters. Spatial coordinate normalization in SFCM is performed based on the aforementioned planar coordinates and does not directly use latitude and longitude angle values ​​as input for calculating metric distances or areas.

[0095] Hydraulic process simulation can be performed by calling the EPA SWMM 5.2 hydraulic engine through the SWMM adapter. The adapter automatically parses the pipe network topology data and generates an INP input file, using rainfall time series as boundary conditions and employing dynamic wave calculus to obtain the hydraulic response of the drainage system during the evaluation period. The simulation duration can be configured according to the business scenario, such as 24 hours; the time step can be configured to 5 minutes.

[0096] Overflow frequency, overflow volume, maximum inundation depth, inundation duration, and water level rise rate can be extracted from the hydraulic simulation results. Overflow frequency represents the number of times a node overflows within the simulation period; overflow volume represents the total overflow volume; maximum inundation depth represents the maximum water depth at the node; inundation duration represents the duration during which the water level exceeds the critical depth; and water level rise rate represents the maximum water level rise per unit time. Each indicator can be normalized to the range of 0 to 1. NaN values ​​can be padded to 0.0, Inf values ​​can be truncated to 1.0, and negative values ​​can be truncated to 0.0, thus ensuring clear input boundaries for subsequent calculations.

[0097] Furthermore, the one-dimensional drainage network solution in EPA SWMM 5.2 primarily provides hydraulic results such as node head, node water accumulation / overload status, and overflow. In this embodiment, the "maximum flooding depth" is not interpreted as the two-dimensional surface water depth that can be directly read under any SWMM configuration. When surface water ponding is enabled at a node and the node ground elevation and water accumulation area parameters are configured, the node head H during the evaluation period can be used as the reference. node (t) and the ground elevation of the node Z ground Calculate the equivalent surface water depth d at the node flood (t)=max[0,H] node (t)-Z ground ], and take d within that time period flood The maximum value of (t) is taken as the maximum inundation depth of the node; when the system adopts a one-dimensional-two-dimensional coupling method of SWMM and DEM surface runoff model, the maximum value is obtained from the water depth time series of the surface calculation unit associated with the node. If surface water accumulation expression is not enabled and one-dimensional-two-dimensional coupling is not established, the "maximum inundation depth" will not be used as the direct output indicator of SWMM in this risk calculation, but will use indicators such as the node head, overload duration or overflow that have been clearly obtained.

[0098] It should be noted that the NaN filling, Inf truncation, and negative value truncation mentioned above are numerical stabilization processes performed after data validity verification. They are only used to process non-finite intermediate results generated by the algorithm calculation or values ​​that can be corrected according to boundary rules, and do not directly interpret the absence of original key monitoring data as zero risk. For cases where key inputs such as rainfall, liquid level, flow rate, and flooding depth are missing, distorted, or physically inconsistent and cannot be corrected, they will be rejected or marked as invalid according to the data quality gatekeeping rules of Example 2, and will not be included in this HEV risk baseline calculation.

[0099] The weights of the indicators in the HEV model can be determined using the fuzzy hierarchical analysis method (FAHP). The evaluation indicator system includes a target layer, a criterion layer, and an indicator layer. The target layer is the comprehensive risk of urban flooding; the criterion layer includes hazard (H), exposure (E), and vulnerability (V); hazard indicators may include overflow frequency, overflow volume, maximum inundation depth, inundation duration, and water level rise rate; exposure indicators may include population density, land use sensitivity, density of critical infrastructure, and intensity of economic activity; and vulnerability indicators may include topographic slope, proportion of impervious surfaces, drainage capacity coefficient, and degree of pipe network aging.

[0100] When comparing indicators at the same level pairwise, a Saaty 1-9 scale can be used to construct a judgment matrix, and the precise judgment values ​​can be converted into triangular fuzzy numbers. When the judgment value is equal to 1, the triangular fuzzy number is (1, 1, 1); when the judgment value is an integer k greater than 1, it can be (k-1, k, k+1), where the upper bound is 9 when k is 9; for judgment values ​​less than 1, the corresponding reciprocal fuzzy number is used. The fuzzy judgment matrices of multiple experts can be integrated using geometric averaging.

[0101] For the i-th row of the comprehensive fuzzy judgment matrix, the geometric mean r of each triangular fuzzy number in that row can be calculated. i Then, fuzzy normalization is applied to the geometric mean of each row to obtain the fuzzy weights. One way to express this is as follows:

[0102] r i = (ã i1 × i2 × … × ã in ) 1 / n

[0103] Where n is the number of indices in the same layer, and ã represents the triangular fuzzy judgment value. Subsequently, the centroid method is used for defuzzification, and the defuzzification result is normalized again. For the i-th index, the defuzzification weight can be expressed as:

[0104] In the above geometric mean formula, ã ij This represents the triangular fuzzy judgment value of the i-th indicator relative to the j-th indicator within the same level, where i and j both take values ​​from 1 to n; r i This represents the triangular fuzzy geometric mean of the i-th row of the comprehensive fuzzy judgment matrix. For r... i After fuzzy normalization, the triangular fuzzy weight (l) of the i-th index is obtained. i m i u i Then, the corresponding deblurring weight w is obtained through the centroid method. i Therefore, there is a one-to-one correspondence between the judgment matrix input, the row geometric mean, the fuzzy weights, and the final index weights.

[0105] To make ri To (l) i m i u i The fuzzy normalization process of r can be performed directly. i The lower bound, median, and upper bound are r, respectively. i L r i M and r i U Then the triangular fuzzy weight of the i-th indicator can be obtained by the following formula:

[0106] (l i m i u i ) = ( r i L / Σ s=1 n r s U r i M / Σ s=1 n r s M r i U / Σ s=1 n r s L )

[0107] Where, Σ s=1 n r s L Σ s=1 n r s M and Σ s=1 n r s U These are the lower bound, median, and upper bound of the geometric mean of all rows, respectively; each of these components is obtained from the judgment matrix according to the aforementioned geometric mean formula, and all denominators are greater than 0 when the judgment value is positive. This processing is equivalent to... i With all r s The sum of the triangular fuzzy inverses is multiplied, thus making l i m i u i The source of the calculation is clear.

[0108] w i = (l i + m i + u i ) / 3

[0109] Among them, l i m i and u i These represent the lower bound, median, and upper bound of the i-th triangular fuzzy weight, respectively. After calculating the largest eigenvalue of the judgment matrix median, the fuzzy consistency index FCI can be calculated as follows: FCI = (λ... max The formula is -n) / (n-1), and FCR = FCI / FRI is calculated. If FCR is less than 0.1, the current weight result is accepted; otherwise, the judgment matrix is ​​readjusted. FRI can be selected based on the matrix order; for example, it can be 0.5247, 0.8816, and 1.0863 for n=3, 4, and 5 respectively, and 1.5494 for n=10.

[0110] w i * = w i / Σ s=1 n w s

[0111] Among them, w i * represents the normalized weight of the i-th indicator used in subsequent weighted calculations, w s Let w be the deblurring weight obtained by the centroid method for the s-th index, where s = 1, ..., n; and when subsequent formulas still use w i When representing the weight of an indicator, w i The above-mentioned normalized w i * This ensures that the sum of the weights of all indicators in the same layer is 1.

[0112] The hazard dimension H can be achieved by first weighting the overflow frequency, overflow volume, maximum inundation depth, inundation duration, and water level rise rate according to FAHP weights, and then using the Sigmoid function for threshold enhancement. The linear combination of hazards can be expressed as H... linear =w 11 C 11 +w 12 C 12 +w 13 C 13 +w 14 C 14 +w 15 C 15 Then, the enhanced risk index H was calculated.

[0113] H = 1 / [1 + exp(-k × (H linear - x0))]

[0114] Where k is the steepness parameter and x0 is the threshold center. As one configuration, k can be 6.0 and x0 can be 0.5. This treatment results in a higher response slope for the linear combination of hazards near the threshold, while the change is gentler in the range far from the threshold.

[0115] In the linear combination of hazards, C 11 C 12 C 13 C 14 C 15 Let w represent the normalized overflow frequency, overflow volume, maximum inundation depth, inundation duration, and water level rise rate, respectively. 11 w 12 w 13 w 14 w 15 Let w represent the FAHP weights corresponding to the five risk indicators mentioned above, and satisfy w 11 +w 12 +w 13 +w 14 +w 15 =1; H linear This is a weighted linear combination of five risk indicators. Each C... 1j All results were obtained from SWMM simulation or monitoring results within the same assessment period and then normalized.

[0116] The exposure dimension E can be calculated based on the node's influence range, including population exposure, property exposure, infrastructure exposure, and critical facility exposure. The node's influence range can be represented by a Thiessen polygon or a specified buffer radius. Population exposure can be determined by population density and the area of ​​influence; property exposure by asset value per unit area and the area of ​​influence; infrastructure exposure by road and pipeline density; and critical facility exposure by the number and importance of facilities such as schools, hospitals, and government buildings. After normalization, each exposure indicator is weighted according to FAHP (Factors, Advantages, Benefits, and Benefits) to obtain the exposure index E.

[0117] To avoid mismatches between the weights and indicators of exposure indicators under different configurations, this embodiment stipulates that: in the same assessment, the set of exposure indicators used for the FAHP judgment matrix corresponds one-to-one with the set of exposure indicators used to calculate E, and each indicator is first normalized to [0, 1] according to the reference upper and lower bounds of the same city and the same assessment period. For example, when uniformly setting four items—population exposure, property / economic activity exposure, infrastructure / land use exposure, and critical facility exposure—the exposure can be expressed as:

[0118] E = Σ j=1 nE w Ej C Ej , Σ j=1 nEw Ej = 1

[0119] Where, n E For the number of exposure indicators, this example uses 4; C Ej For the j-th normalized exposure indicator, w Ej The corresponding FAHP normalized weights are assigned. Population exposure can be formed by population density and the area affected by nodes; property / economic activity exposure can be formed by the asset value per unit area or the intensity of economic activity and the area affected; infrastructure / land use exposure can be formed by the configuration indicators among road and pipeline density and land use sensitivity; critical facility exposure can be formed by the number of facilities such as schools, hospitals, and government facilities and the weighted average of preset importance coefficients. If other exposure indicator combinations are used during deployment, the same combination is used to establish the FAHP judgment matrix, and different indicator calibers are not mixed in the same E calculation.

[0120] Vulnerability dimension V can comprehensively consider topographic vulnerability, underlying surface vulnerability, drainage capacity vulnerability, and pipeline aging vulnerability. Topographic vulnerability can be calculated based on local slope and water accumulation using the DEM; underlying surface vulnerability can be determined based on the proportion of impermeable surfaces; drainage capacity vulnerability can be determined based on the drainage capacity margin of the pipeline network; and pipeline aging vulnerability can be determined based on pipe age, material, and maintenance records. For the relationship between inundation depth and loss rate, linear, logarithmic, logistic S-shaped, or exponential vulnerability curves can be selected.

[0121] Vulnerability is assessed using the same weighted index as exposure. Let the number of vulnerability indices be n. V Each normalized vulnerability index is C Vj The corresponding FAHP weight is w Vj The vulnerability index can then be expressed as:

[0122] V = Σ j=1 nV w Vj C Vj , Σ j=1 nV w Vj = 1

[0123] In this example, n V A value of 4 can be chosen, corresponding to terrain vulnerability, underlying surface vulnerability, drainage capacity vulnerability, and pipeline aging vulnerability, respectively. Each C... Vj All values ​​are normalized to [0, 1], with larger values ​​indicating higher vulnerability. When topographic indicators are formed from multiple raw quantities such as local slope and water accumulation, a unified topographic vulnerability score is first obtained according to a preset mapping; when the raw drainage indicator adopts "drainage capacity redundancy" S... res Furthermore, if a larger value indicates stronger drainage capacity, then the direction should be unified first, and C can be chosen.V3 =1-norm(S res ), where norm(·) represents normalization to [0, 1] according to the reference upper and lower bounds. This ensures that the more sufficient the drainage capacity, the lower the corresponding vulnerability value, avoiding the indicator direction from being opposite to the risk meaning.

[0124] Furthermore, in this embodiment, the default normalization of norm(·) and the original indices H, E, and V adopts minimum-maximum normalization with fixed reference upper and lower bounds. For the positive index x, C = clip[(xx min ) / (x max -x min [x, 0, 1], where x min and x max The range of historical valid samples or the allowable range of the project in the target city is predetermined and remains unchanged within the same evaluation period; for inverse indicators where a larger value indicates lower risk, C is first obtained as described above, and then 1-C is taken. If x max =x min If the normalization denominator is 0, the indicator will be marked as undiscriminating in this period and a neutral normalization value of 0.5 will be taken. Alternatively, it can be temporarily excluded from the weighting of this period according to the preset configuration, and the weights of the remaining indicators will be renormalized.

[0125] Regarding the selection of vulnerability curves, linear models can be used for rapid estimation; logarithmic models are suitable for representing the relationship that losses increase rapidly in shallow water areas while the increase slows down in deep water areas; logistic S-shaped models are suitable for representing the relationship that losses show a clear turning point near a specific inundation depth; and exponential models are suitable for representing the relationship that losses in deep water areas increase more rapidly with increasing depth. Specific curves can be configured based on historical disaster damage data and the type of urban disaster-bearing body.

[0126] The three dimensions H, E, and V can be weighted using a geometric mean to form a comprehensive risk index R. To avoid the multiplication result becoming completely zero when any dimension is close to 0, we can first take the max(value, 1×10) for each dimension. -10 Then it participates in the exponentiation operation. One way to express the three-dimensional coupling relationship is as follows:

[0127] R = H wH × E wE × V wV

[0128] In numerical calculations, the aforementioned zero-prevention processing is directly incorporated into the calculation formula. Let ε R The lower limit is a positive number, and the default value is 1×10. -10 Therefore, the actual calculated comprehensive risk index can be expressed as:

[0129] R = [max(H, ε)] R )]wH × [max(E,ε R )] wE × [max(V,ε R )] wV

[0130] Where H, E, and V are all normalized dimension exponents, and ε R Only for those less than ε R The values ​​are protected by a positive lower limit: when H, E, and V are not less than ε. R The original value remains unchanged; when a certain dimension is less than ε R When that happens, the dimension will be replaced with ε. R Therefore, this numerical protection should not be interpreted as strictly maintaining the relative magnitudes of the original zero value and values ​​near zero across the entire value range. If specific business rules stipulate that the overall risk must be zero when any dimension is 0, then this business judgment should be performed before applying the above numerical protection; this embodiment defaults to using the aforementioned positive lower limit method, which is only used to ensure the numerical stability of geometric multiplication calculations. H w E and w V The FAHP normalized weights of the criterion layer are still used.

[0131] Among them, w H w E and w V These represent the FAHP weights of hazard, exposure, and vulnerability at the criterion level, respectively, and satisfy w H +w E +w V =1. The risk baseline can be R, or it can be R with the three dimensions H, E, and V and their confidence statements attached, for use in subsequent multi-model fusion and result interpretation.

[0132] When spatially partitioning risk outcomes, the Spatial Fuzzy C-Means (SFCM) algorithm can be used. The feature vector of each node can include spatial coordinates x and y, as well as H, E, V, and R. The spatial coordinates and risk attributes are normalized to the interval 0 to 1. The relative influence of spatial distance and attribute distance is adjusted by a spatial weight coefficient α, which can be, for example, 0.3.

[0133] The objective function of SFCM can be constructed based on the fuzzy membership degree of a node to each cluster, spatial distance, and attribute distance. One way to express it is as follows:

[0134] J m = Σ i Σ k u ik m × [α d ik space + (1-α) dik attr ]

[0135] Among them, u ik Let d be the fuzzy membership degree of node i to cluster k, m be the fuzzy weighting exponent, and d be the fuzzy weighting exponent. ik space Let d be the spatial Euclidean distance. ik attr The attribute Euclidean distance is used. m can be, for example, 2.0. The membership matrix and cluster centers are updated iteratively. Iteration stops when the change in the membership matrix between two iterations is less than a preset threshold ε, where ε can be, for example, 1×10⁻⁶. -5 The number of clusters can be set to 5, and mapped from low to high according to the average comprehensive risk value of each cluster as extremely low risk, low risk, medium risk, high risk, and extremely high risk.

[0136] In the objective function above, i is the node index, i=1,…,N, where N is the total number of nodes participating in spatial partitioning; k is the cluster index, k=1,…,K, where K is the number of clusters; and α is the spatial weight coefficient in the range [0,1]. ik space d is obtained from the Euclidean distance between the normalized spatial coordinates of node i and the center of the k-th cluster space. ik attr The distances are obtained from the normalized H, E, V, and R attribute vectors of node i and the attribute centers of the k-th cluster. The distances, membership degrees, and cluster centers are iteratively updated on the same normalized scale to ensure that the methods for obtaining each parameter are clearly defined.

[0137] To provide a directly executable SFCM iteration method, in one implementation of this embodiment, the spatial distance term and the attribute distance term are specifically taken as the square of the Euclidean distance. Let the normalized spatial vector of node i be z. i space The normalized attribute vector is z i attr The centers of the k-th cluster are respectively v k space and v k attr Then the combined distance D ik It can be represented as:

[0138] D ik = α‖z i space -v k space || 2 + (1-α)‖z i attr -v k attr || 2

[0139] When m>1 and the distance between each combination is positive, the fuzzy membership degree can be updated by the following formula:

[0140] u ik = [Σ h=1 K (D ik / D ih ) 1 / (m-1) ] -1

[0141] Where h is the cluster index. If a certain D ik If u = 0, then the membership degree of node i to its corresponding cluster k is set to 1, and its membership degree to all other clusters is set to 0. Cluster centers are determined according to u. ik m The weights are used to calculate a weighted average of the spatial vector and the attribute vector, and D is recalculated based on the updated center. ik The iteration stops when the maximum absolute change in the membership matrix between two consecutive iterations is less than ε. This implementation ensures that the distance, membership degree, cluster centers, and stopping condition in the objective function all have a clear computational basis.

[0142] Furthermore, if the same node i satisfies D for two or more clusters simultaneously... ik If the membership degree of a node is equal to 0, then the node's membership degree is equally distributed among all zero-distance clusters, and its membership degree to the remaining non-zero-distance clusters is set to 0. For example, if there are z zero-distance clusters, the membership degree of each zero-distance cluster is 1 / z. This avoids uncertain results caused by arbitrarily selecting a single cluster when multiple cluster centers overlap.

[0143] The risk baseline can also perform scenario simulations for various rainfall and pipeline conditions. The system can be configured with the following scenarios: a strong typhoon scenario with a rainfall rate of 120 mm / h, lasting for 6 hours, a bimodal rainfall pattern, and corresponding to a 100-year return period; a typhoon scenario with a rainfall rate of 80 mm / h, lasting for 4 hours, a bimodal rainfall pattern, and corresponding to a 50-year return period; an extremely heavy rainfall scenario with a rainfall rate of 100 mm / h, lasting for 1 hour, a Chicago rainfall pattern, and corresponding to a 50-year return period; a heavy rainfall scenario with a rainfall rate of 60 mm / h, lasting for 1.5 hours, a Chicago rainfall pattern, and corresponding to a 10-year return period; a continuous rainfall scenario with a rainfall rate of 15 mm / h, lasting for 24 hours, a uniform rainfall pattern, and corresponding to a 20-year return period; a combined rain and tide scenario with a rainfall rate of 70 mm / h, lasting for 3 hours, and superimposed with a 2.5 m high tide level; a pipeline aging scenario with a rainfall rate of 50 mm / h, lasting for 2 hours, a pipeline capacity reduction of 30%, and a blockage rate of 15%; and a pump station failure scenario with a rainfall rate of 60 mm / h, lasting for 2 hours, and a pump station efficiency reduction of 70%.

[0144] It should be noted that the correspondence between rainfall intensity, rainfall duration, and return periods such as "10-year return period, 50-year return period, and 100-year return period" mentioned above are only predefined scenario parameters under specific city or example conditions, and are not invariant correspondences applicable to all cities. In practical applications, the rainfall intensity and duration parameters corresponding to the corresponding return periods should be determined based on the current rainstorm intensity formula, IDF curve, and design rainfall pattern of the target city, and then written into the scenario simulation module to avoid using regional rainstorm parameters as universal constants.

[0145] In addition to preset scenarios, users can also customize rainfall intensity, rainfall duration, rainfall pattern distribution, peak location, pipeline capacity coefficient, pump station efficiency coefficient, blockage rate, initial water level, and tide level. After running multiple scenarios in batches, the system can output the comprehensive risk distribution of each scenario, the risk differences between scenarios, the risk-rainfall intensity response relationship of key nodes, and the evolution results of high-risk areas.

[0146] Visualization results can include a risk spatial distribution map, a three-dimensional HEV risk cube, a single-node risk radar chart, a vulnerability curve, node statistics for each risk level, and a multi-scenario risk comparison chart. The web interface provides parameter configuration, scenario selection, analysis initiation, progress monitoring, results display, and JSON / CSV data export. The HEV risk baseline formed through the above process has a clear data source, weight formation process, and spatial risk meaning, and can serve as a continuous mechanism reference during the upgrade and downgrade process of candidate models.

[0147] Example 4

[0148] This embodiment provides an intelligent urban flood risk assessment system based on the HEV model. The system includes a model status acquisition module, a hierarchical scheduling module, a model set construction module, and a risk fusion module. The model status acquisition module is used to acquire the hierarchical eligibility status and current operating level of urban flood candidate models; the hierarchical scheduling module is used to determine the target available model level based on the hierarchical eligibility status and preset hysteresis conditions, and to perform upgrades or rollbacks according to the hierarchical relationship between the target available model level and the current operating level; the model set construction module is used to form a multi-layer available model set when the operating level is upgraded; the risk fusion module is used to fuse the multi-layer available model set with the risk baseline of the HEV model and output the urban flood risk assessment results.

[0149] In a modular implementation, the system may also include a data management module, a hydraulic simulation module, a risk assessment module, a spatial analysis module, a scenario simulation module, a visualization module, a decision support module, a machine learning module, a pipeline controller, and a web service module. These modules can be deployed on the same server or distributed across different computing nodes according to the resource requirements for data acquisition, model training, and online inference.

[0150] The data management module is responsible for loading, validating, preprocessing, and storing multi-source data. It can include a data loader, a data preprocessor, a data integrity checker, and a presentation data generator, and supports formats such as CSV, JSON, Shapefile, and GeoTIFF. The hydraulic simulation module encapsulates the EPA SWMM 5.2 engine, providing INP file generation, simulation execution, and result parsing functions. A simplified hydraulic model can be used when complete pipeline network information is lacking.

[0151] The risk assessment module calculates the HEV risk baseline and includes hazard assessment, exposure assessment, vulnerability assessment, a risk cube analysis component, and a FAHP weight calculator. The risk cube analysis component allows setting up VulnerabilityCurve and RiskCube classes. The VulnerabilityCurve class receives the flooding depth and outputs the loss rate, supporting linear, logarithmic, logistic sigmoid, and exponential curves, and performs NaN cleaning and boundary protection on the input depth. The RiskCube class can organize risk data ranging from 0 to 1 according to three risk dimensions, supporting weighted summation, geometric mean, combined coding after dimensional rating, and generation of risk matrices with fixed-dimensional slices.

[0152] The risk sub-modules in the risk assessment module can also be organized as registrable components. During operation, the corresponding risk assessment sub-modules can be loaded or unloaded according to the configuration, so that the data processing components for hazard, exposure and vulnerability can be maintained separately.

[0153] The risk assessment module also supports runtime weight adjustments, including adjustments to the weights of criterion-level categories and detailed factors. After weight adjustments, normalization is performed, and the module outputs risk change statistics, changes in high-risk areas, and adjustment prompts. It also records the weight adjustment history to facilitate the reproduction of the same assessment results in the future.

[0154] The spatial analysis module implements spatial fuzzy C-means clustering, supporting risk zoning, spatial statistics, and cluster identification, and allows configuration of the number of clusters, fuzzy index, and spatial weights. The scenario simulation module manages preset and custom scenarios, supports batch simulation and result comparison, and provides extreme event simulation and hypothesis analysis functions. The visualization module can generate risk heatmaps, risk cubes, radar charts, bubble charts, and vulnerability curves. The decision support module provides flood control engineering optimization, emergency plan generation, and resource scheduling functions based on risk assessment results; its optimizer can employ genetic algorithms, greedy algorithms, or linear programming.

[0155] The visualization module, in one software implementation, can generate static plots using Matplotlib or Seaborn, and interactive web-based plots using ECharts. The web service can provide pages for parameter configuration, data management, risk assessment, hydraulic simulation, scenario simulation, spatial analysis, and decision support, and can be expanded to 13 functional pages in a full deployment.

[0156] The output of the HEV risk baseline can also be used as one of the sources of training labels for candidate models, and can be used together with historical measured disaster labels for model training or validation. The machine learning module can be kept disabled during the data shortage stage, and the corresponding candidate model can be enabled after the cumulative effective sample size and data quality meet the corresponding level conditions.

[0157] The machine learning module is responsible for risk prediction, feature engineering, model training, and tiered learning of candidate models. It may include a data quality gatekeeper, an experience replay buffer, a tiered scheduler, an adaptive fusion layer, an incremental learner, and a knowledge distiller. Candidate models can employ random forests, gradient boosting, XGBoost, MLP, or other data-driven models capable of outputting urban flood risk predictions.

[0158] When multiple available models exist, the adaptive fusion layer determines the fusion weights based on the recent prediction error, prediction confidence, and training sample size of each candidate model, and performs a weighted fusion of the prediction results of each candidate model with the HEV risk baseline. The recent prediction error can be the prediction error statistics within the most recent evaluation window; the prediction confidence can be output by the model itself, or it can be formed based on the voting divergence degree of the ensemble model or the probability estimation entropy; the training sample size uses the effective sample size used in the most recent training of the corresponding model.

[0159] One approach to fusion is to first determine the error weights based on the reciprocal of the recent prediction errors, giving higher base weights to models with smaller recent errors, and constraining the weights of individual models between 0.05 and 0.95. Then, the base weights are adjusted using prediction confidence and training sample size, and finally, all weights involved in the fusion are normalized. Another approach is to use an exponential moving average (EMA) to track the recent errors of each model and update the fusion weights sequentially with a learning rate of 0.1. When sufficient data is available, the predicted values ​​of each base model can also be input into a ridge regression-like learner to perform stacking fusion.

[0160] Furthermore, to clarify the parameter source of the fusion weights, in a dynamic weighting method corresponding to the actual implementation of this invention, the HEV mechanism / rule baseline model is used as the baseline component, and the data-driven candidate model corresponding to the current operating level is used as the machine learning component. When multiple ready candidate models exist in the multi-layer available model set and participate in the fusion, the following data volume, confidence level and error factor are calculated for each candidate model, and then normalized and allocated according to the relative factors of each candidate model within the weight budget on the machine learning side.

[0161] Data volume factor D r The effective sample size N used in the most recent training of the r-th candidate model r With reference sample size N ref The ratio is determined and can be expressed as D. r =β D ×clip(N r / N ref (0, 1), where N ref The default value is 2000, β D The value is the data volume impact factor and is set to 0.4 by default. clip(·) means to truncate the input to the given interval.

[0162] Where, N r Read from the training metadata of the most recent training task of the r-th candidate model, and only count the valid training samples that pass the data quality gate; N ref This can be configured separately for each candidate level, preferably using the enabled sample size threshold or a pre-determined reference sample size for that level. The aforementioned 2000 is merely an example configuration and does not require different levels to use the same N. ref .

[0163] Confidence factor C r It can be represented as C r =β C ×clip(conf r ,0,1), where,conf r Let β be the confidence level given by the r-th candidate model for the current prediction result. C This is the confidence level influence coefficient, with a default value of 0.3; when the model does not directly provide a confidence level, `conf`... r Take 0.5.

[0164] When a candidate model does not directly output confidence but can obtain results from multiple base learners or multiple random inferences, a confidence level can be formed based on the degree of prediction dispersion. r Suppose that the r-th candidate model contains B comparable predictive components, and its output P for the current evaluation object. rb ∈[0,1], first calculate the mean P̄ r and standard deviation σr :

[0165] P̄ r = (1 / B)Σ b=1 B P rb , σ r = [(1 / B)Σ b=1 B (P rb -P̄ r ) 2 ] 1 / 2

[0166] Then you can retrieve conf r =1-clip(σ r / 0.5, 0, 1). Since each predicted component has been normalized to [0, 1], 0.5 can be used as an example upper bound for the normalization of the degree of dispersion; σ r A smaller value indicates greater consistency among the predicted components, resulting in a higher confidence level. If B < 2 and the model has no available probability, vote, or uncertainty output, then the confidence level will be adjusted according to the aforementioned rules. r We take 0.5 as the neutral value.

[0167] Error factor E r It is formed based on the recent prediction error within a set window. Let e r Let E be the average prediction error of the r-th candidate model within the nearest window, and let e0 be the average prediction error of the HEV mechanism / rule baseline model within the same window. Then, we can take E as... r =β E ×[1-e r / (e r +e0)], where β E The error impact coefficient is set to 0.3 by default, and the error window length is set to 50 by default; when there are fewer than 5 available error history records on either side, E r Take 0.5β E As a neutral value, it avoids over-adjustment due to insufficient error history.

[0168] To ensure a consistent standard for recent prediction errors, assume there are W valid samples within the error window that have acquired labels and are aligned one-to-one with the prediction node and evaluation time window. n P is the normalized measured / feedback label for the nth sample. r,n Let R be the predicted value corresponding to the r-th candidate model. HEV,n For the output corresponding to the HEV baseline, the mean absolute error can be expressed as:

[0169] e r = (1 / W)Σ n=1 W |Pr,n -y n |, e0 = (1 / W)Σ n=1 W |R HEV,n -y n |

[0170] Where W does not exceed the set error window length, the default window length is 50; e is only updated after the label has arrived and passed the validity check. r And e0. Since both the predicted value and the label are normalized to [0, 1], when using the above mean absolute error, e r Both e0 and e0 are located in [0, 1]. If the root mean square error is used instead, the candidate model, the HEV baseline, and the historical best error e0 will be different. best All samples use the same error metric and the same aligned sample window to avoid direct comparisons between different error metrics.

[0171] Furthermore, used to calculate e r and e0 of y n Priority should be given to using measured disaster labels, post-monitoring results, or manually verified feedback labels that are independent of the HEV risk baseline. Pseudo-labels directly generated from the HEV risk baseline at the same time should not be used simultaneously as the true values ​​for evaluating the HEV's own error e0. If a certain evaluation window currently only contains HEV pseudo-labels and has no independent feedback, the samples in that window can be used for candidate model training, but the current e0 value will not be updated. r And e0, continue to use the previous effective error window, or use the aforementioned neutral error factor when the error history is insufficient, so as to avoid the evaluation benchmark and the evaluated baseline having the same data source.

[0172] To avoid e r When +e0=0, division by zero occurs; when the sum of the two is less than the preset positive number ε. f At that time, E r Take 0.5β directly. E As a neutral error factor; otherwise, calculate according to the aforementioned formula. ε f It is only used for numerical stability and does not change the relative relationship that smaller errors have higher weights.

[0173] Data volume influence coefficient β D Confidence influence coefficient β C And error influence coefficient β E All values ​​are non-negative, and preferably satisfy β. D +β C +β E =1; the default values ​​of 0.4, 0.3, and 0.3 satisfy this constraint. If these three are adjusted during deployment, then the calculation of G will be affected. r First, normalize the three coefficients to maintain G. rIts dimensions and scale of value are stable.

[0174] The original adjustment G of the r-th candidate model r =D r +C r +E r For the fusion case consisting only of the HEV baseline component and a currently running candidate model, the initial weights w on the machine learning side are... ML,0 The default value is 0.3, and the target weight can be w. ML,* =clip(w ML,0 +γG r ,0,0.7), where γ defaults to 0.5; then press w ML (t)=(1-η)w ML (t-1)+ηw ML,* Perform smooth updates, where η is the learning rate for weight adjustment and is set to 0.05 by default. The HEV baseline component weights are set to w. HEV =1-w ML (t), and make w HEV Not less than 0.3. When multiple candidate models exist, the total weight of the machine learning side is distributed according to the G of each candidate model. r The relative sizes are normalized so that the sum of the weights of all fused components is 1.

[0175] Furthermore, in the smooth update formula, t represents the cycle number for completing one risk assessment and fusion weight update. When a data-driven candidate model first enters the online fusion process, w is defined as... ML (0)=w ML,0 =0.3; Starting from the next update cycle, press w ML (t)=(1-η)w ML (t-1)+ηw ML,* Perform a recursive approach. If no candidate model currently possesses both the hierarchical eligibility state and the ready state, then set the total weight w on the machine learning side... ML (t)=0, HEV baseline weight ω0=1, direct output R HEV When candidate models re-enter online fusion from scratch, w is used again. ML,0 This serves as the initial value for the recursion. Therefore, w... ML (t-1) has a definite value in both the initial fusion and the recovery scenario after falling back to Tier 0.

[0176] When there are M candidate models participating in the fusion of the multi-layer available model set, the G of each candidate model can be calculated first. r The arithmetic mean Ḡ is obtained by substituting Ḡ into the aforementioned formula for calculating the total weight of the machine learning side objective, thus yielding w. ML,* Then, the total weight w of the machine learning side for the current evaluation period is obtained through exponential smoothing. ML(t). The final fusion weights ω of the r-th candidate model. r It can be represented as:

[0177] ω r = w ML (t) × G r / Σ s=1 M G s

[0178] If Σ s=1 M G s =0, then the average score of the M candidate models is w ML (t). HEV baseline component weights ω0=1-w ML (t), and keep ω0≥0.3. Let R HEV For the HEV model, P represents the risk baseline output for the same assessment object and assessment time window. r Let P be the risk prediction value output by the r-th candidate model, then the final fused risk value is P. f It can be represented as:

[0179] P f = ω0R HEV + Σ r=1 M ω r P r

[0180] All risk values ​​involved in the fusion are normalized to the [0, 1] interval before fusion, and aligned for the same node or the same spatial evaluation unit and the same evaluation time window; thus, the process of "determining the fusion weight based on recent prediction error, prediction confidence and training sample size" corresponds to a clear process of parameter acquisition, normalization allocation and final output calculation.

[0181] In boundary cases, if the prediction result of the HEV baseline component or any candidate model contains invalid values ​​such as NaN or Inf, the invalid component is removed from the current fusion, and the remaining valid components are renormalized; if only one valid component remains, the prediction result of that component is directly output. The fusion weights are updated on a rolling basis after each evaluation based on the new sample size, recent error, and prediction confidence, and are subject to upper and lower bound constraints and normalization to ensure that the weights are bounded and that no all weights degenerate to 0.

[0182] The fusion output can include both fused predicted values ​​and fused confidence scores. The fused predicted values ​​are used to form the final urban flood risk assessment result, while the fused confidence score represents the degree of consistency among the current multi-model results. If a high-level candidate model experiences a decline in data quality or an increase in high-confidence errors, the hierarchical scheduling module can reduce the current operating level according to the fallback conditions described in Example 1, while the HEV risk baseline and eligible low-level models continue to provide prediction results.

[0183] The system supports online incremental learning. New samples first pass through a data quality gate and are written to an experience replay buffer. At preset update intervals, such as every 100 new valid samples, training data is sampled from the buffer according to priority, and incremental training or fine-tuning is performed on the candidate models at the current active level. After training, the performance of the new and old models is compared on the validation set. If the new model meets the replacement criteria, the current model is updated; otherwise, the original model is retained, and the performance changes before and after each update are recorded to form the model evolution trajectory.

[0184] For the trained high-level model, a lightweight student model can be generated through knowledge distillation. The high-level model acts as the teacher model, outputting soft labels containing probability distributions, while the student model simultaneously fits both the teacher's soft labels and the true hard labels. The student model can employ simplified random forests or small neural networks and can be deployed on computationally limited edge devices as a low-computational-cost supplement to candidate models.

[0185] The pipeline controller coordinates data management, hydraulic simulation, risk baseline calculation, candidate model prediction, hierarchical scheduling, fusion, and result output according to the configured sequence of steps. It supports step start / stop, failure retries, continuation of execution after warnings, and progress feedback. The web service module can use a lightweight web server to provide a RESTful interface and interactive pages, including functions such as parameter configuration, data management, risk assessment, hydraulic simulation, scenario simulation, spatial analysis, and decision support.

[0186] The system can also be configured with a full mode, a degraded mode, and a demonstration mode. Full mode runs the complete functional chain when external data is readily available; degraded mode uses pre-configured default parameters or simulated data to supplement missing data, allowing the core evaluation process to continue; demonstration mode uses built-in simulated data to showcase the process when no external data is available. The hierarchical eligibility status of candidate models is determined based on the actual available valid samples and data quality status in different operating modes.

[0187] Furthermore, in the downgraded or demonstration mode, the results obtained from default parameters and simulated data are all marked with a "downgraded" or "simulated" status, and are not confused with the formal risk results obtained in the full mode based on actual measured valid data; simulated data and default samples generated to complete the interface demonstration are not included in the cumulative valid sample size, nor are they used to trigger candidate model level upgrades. Only actual samples with traceable sources and quality gatekeeping in Example 2 are updated to update the cumulative valid sample size and candidate model level eligibility status.

[0188] The system forms a software execution chain corresponding to the methodology through model state acquisition, hierarchical scheduling, model set construction, and risk fusion. It also provides specific data sources and computing carriers through modules such as data management, hydraulic simulation, and machine learning, enabling candidate model hierarchical adjustment, HEV risk baseline, and final risk output to be connected within the same operating framework.

[0189] Example 5

[0190] This embodiment provides an operational example during an urban rainstorm to illustrate the data flow relationships between the aforementioned modules. A certain urban drainage area has completed the integration of basic pipe network data, DEM, impervious surfaces, population, and critical infrastructure data. The HEV model continuously outputs risk baselines based on real-time rainfall and hydraulic simulation results. The data-driven side has completed Tier 1 lightweight model training, and subsequent monitoring samples continue to be fed into the system.

[0191] First, the data management module receives new rainfall, liquid level, flow rate, and water accumulation records, and the data quality gatekeeper module performs range, missing, anomaly, duplication, physical consistency, and distribution drift checks. Samples that pass the checks are added to the cumulative valid sample size and written to the experience replay buffer. The model status acquisition module then reads the hierarchical eligibility status and current running level of each candidate model.

[0192] Secondly, when the cumulative number of valid samples reaches the activation condition for a higher candidate level and the data quality status meets the admission requirements, the corresponding candidate model obtains the qualification for that level. The level scheduling module determines the target available model level by combining the upgrade conditions, rollback conditions, hysteresis interval, and cooling-off period. If the target available model level is higher than the current running level, an upgrade is performed, and the lower-level model that has already qualified continues to run; if the data quality subsequently continues to decline and reaches the rollback condition, it rolls back to the lower-level model that is still qualified.

[0193] Then, the model set construction module combines the multiple candidate models currently participating in the prediction into a multi-layered available model set. Each candidate model outputs a risk prediction value based on the urban flood characteristics at the same time or within the same assessment window. At the same time, the HEV model continuously outputs a risk baseline based on hazard, exposure, and vulnerability. The risk fusion module forms fusion weights based on recent prediction errors, prediction confidence, and training sample size to obtain the final risk assessment result.

[0194] After the assessment results are output, the spatial analysis module can further provide the risk level and spatial clustering areas of each node. The scenario simulation module can compare the risk changes of the current rainstorm process with scenarios such as aging pipelines, decreased pumping station efficiency, or overlapping high tide levels. The visualization module outputs the results in the form of risk spatial distribution, statistical reports, and scenario comparisons. New measured feedback then re-enters the data quality gatekeeping and experience playback process, forming a continuously updated data cycle.

[0195] In terms of hardware implementation, the electronic device may include at least one processor and a memory. The memory is used to store computer programs, model parameters, candidate model hierarchical states, experience replay samples, and data required for HEV risk baseline calculation. When the processor executes the computer program, it performs data verification, hierarchical eligibility status reading or updating, target available model hierarchical determination, running hierarchical upgrade or rollback, construction of multi-layer available model sets, risk baseline calculation, and model fusion. The electronic device may be a standalone server, server cluster, cloud computing node, or edge computing device with corresponding computing capabilities.

[0196] The computer-readable storage medium can be a read-only memory (ROM), random access memory (RAM), a magnetic disk, an optical disk, a USB flash drive, a portable hard drive, or other media capable of storing program code. When the program stored in the medium is executed by a processor, it can implement the intelligent urban flood risk assessment process in any of the above embodiments.

[0197] Through the above application process, the HEV risk baseline remains continuous during the upgrade and downgrade of candidate models. The hierarchical eligibility status of candidate models is based on effective samples and data quality. Hysteresis conditions suppress frequent switching under critical conditions. The multi-layered available model set retains prediction references for models of different complexities during the fusion stage, thereby enabling urban flood risk assessment to maintain a continuously executable model scheduling relationship during the process of data accumulation and data quality changes.

[0198] The above description is merely an embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of the present invention are included within the scope of protection of the present invention.

Claims

1. A smart assessment method for urban flood risk based on the HEV model, characterized in that, The method includes: Obtain the hierarchical eligibility status and current operating level of candidate models for urban flooding, wherein the hierarchical eligibility status includes eligibility status and non-eligibility status; Based on the level qualification status and preset hysteresis conditions, the target available model level of the candidate model with the level qualification status is determined. According to the level relationship between the target available model level and the current running level, the current running level is upgraded or rolled back, and a multi-level available model set is formed when the current running level is upgraded. After fusing the multi-layered available model set with the risk baseline of the HEV model, the urban flood risk assessment results are output.

2. The method according to claim 1, characterized in that, The determination of the hierarchical qualification status includes: Obtain the cumulative effective sample size and data quality status. When the cumulative effective sample size reaches the activation condition of the corresponding candidate model and the data quality status meets the admission requirements, the candidate model is determined to be qualified for the level.

3. The method according to claim 2, characterized in that, The preset hysteresis conditions include upgrade conditions and rollback conditions corresponding to the model level. A hysteresis interval is formed between the upgrade conditions and the rollback conditions. The current running level is maintained within the hysteresis interval, and the target usable model level is determined after the corresponding conditions are met.

4. The method according to claim 3, characterized in that, The determination of the target available model hierarchy includes: When the upgrade conditions are met and the preset cooling period is completed, the candidate model corresponding to the level that is higher than the current running level and has the level qualification status will be determined as the target available model level. When the rollback conditions are met, the candidate model corresponding to the one that is lower than the current operating level and has the qualification status for the level will be determined as the target available model level.

5. The method according to claim 4, characterized in that, After the current running level is upgraded, the candidate models corresponding to the target available model level are enabled, and the candidate models that are lower than the target available model level but have the level qualification status are retained to continue running, thus forming the multi-layer available model set.

6. The method according to any one of claims 1-5, characterized in that, Before obtaining the qualification status of the level, the newly added samples are validated, and the admission samples, rejection samples and data quality status are determined based on the validation results.

7. The method according to claim 6, characterized in that, The fusion of the multi-layer available model set with the risk baseline of the HEV model includes: The fusion weights are determined based on the recent prediction error, prediction confidence, and training sample size of each candidate model in the multi-layer available model set. The prediction results of each candidate model are then weighted and fused with the risk baseline of the HEV model.

8. A smart urban flood risk assessment system based on the HEV model, characterized in that, It includes a model state acquisition module, a hierarchical scheduling module, a model set construction module, and a risk fusion module; The model status acquisition module is used to obtain the hierarchical eligibility status and current running level of candidate models for urban flooding. The hierarchical scheduling module is used to determine the target available model level of the candidate model with the hierarchical qualification status and the preset hysteresis conditions, and to perform the upgrade or rollback of the current running level according to the hierarchical relationship between the target available model level and the current running level. The model set building module is used to create multi-layered usable model sets when upgrading the current running level; The risk fusion module is used to fuse the multi-layer available model set with the risk baseline of the HEV model and output the urban flood risk assessment results.

9. An electronic device, characterized in that, It includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the method as described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-7.