Radioactive dynamic gamma external irradiation dose field calculation method based on synchronous and asynchronous parallel computing and computer readable storage medium

By employing synchronous and asynchronous parallel computing methods, the calculation process for dynamic external gamma radiation dose fields was optimized, solving the problem of low computational efficiency in small-scale nuclear accident scenarios and achieving efficient calculation of dynamic external gamma radiation dose fields.

CN123178769APending Publication Date: 2026-11-27NORTHWEST INST OF NUCLEAR TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202611556898.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-09
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing methods for calculating dynamic gamma external radiation dose fields are inefficient in small-scale nuclear accident scenarios, cannot meet the requirements for high temporal and spatial resolution, and have poor compatibility with atmospheric diffusion calculation programs, resulting in excessively long calculation times.

Method used

A method based on synchronous and asynchronous parallel computing is adopted. The original data matrix of nuclide information of nuclear accident source terms is pre-made, and gamma rays with a total contribution of less than 1% are discarded. The gamma external irradiation dose field of the first time period is calculated synchronously in parallel, and the gamma external irradiation dose field of the remaining time periods is calculated asynchronously in parallel. The spatial integration factor is recorded using a structured data structure to improve the computational efficiency.

Benefits of technology

It significantly improves the calculation efficiency of dynamic gamma external radiation dose field in small-scale nuclear accident scenarios, reduces calculation time, and improves compatibility with atmospheric diffusion calculation programs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178769A_ABST
    Figure CN123178769A_ABST
Patent Text Reader

Abstract

The application discloses a radioactive dynamic gamma external exposure dose field calculation method based on synchronous and asynchronous parallel calculation and a computer readable storage medium, and solves the problems of long calculation time and low efficiency of the prior art. First, a nuclear accident source term nuclide information data matrix is prepared in advance, the normalized activity information of corresponding nuclides is determined according to the nuclear accident type and the nuclide release amount ratio, and the number of gamma rays of the arrangement and truncation matrix is arranged; then, the number of grids and the number of grid points of any grid in the calculation domain subjected to gamma ray penetration from other grids are calculated; the synchronous parallel calculation mode is used to calculate the gamma external exposure dose field in the first time period, and the spatial integration factors of the self grid, the surrounding grid and the ground deposition grid are obtained; the asynchronous parallel calculation mode is used to calculate the gamma external exposure dose field in the remaining time period; and finally, the gamma external exposure dose field data of all time periods are arranged. The method can realize automatic and refined calculation of the dynamic external exposure dose field in a nuclear accident, and has high calculation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a method for assessing the consequences of nuclear accidents, and more particularly to a method for calculating the dynamic external gamma radiation dose field based on synchronous and asynchronous parallel computing, and a computer-readable storage medium, which is applicable to dynamic modeling of external radiation dose in small-scale nuclear accident scenarios with fixed types of radionuclides. Background Technology

[0002] Although nuclear energy is generally considered very safe, the risk of a nuclear accident remains. In the event of a nuclear accident, airborne radioactive materials will disperse into the environment through atmospheric movement, ultimately affecting people and the environment through the ionizing radiation effects of high-energy rays. To effectively respond to potential nuclear accidents, many countries have developed nuclear accident consequence assessment and emergency decision support systems. Their external radiation dose models generally employ semi-infinite cloud models or use tabular methods for rapid calculation.

[0003] However, the semi-infinite cloud model does not consider the uneven distribution of the source and the influence of topography. Under unfavorable weather conditions and within a few kilometers of the release point, its calculation results differ by several times from those derived using more accurate calculation methods. More accurate calculation methods mainly include finite cloud models such as the photon "range" method, the discrete point approximation method, and the graphical method. However, the calculation methods of finite cloud models have problems such as poor compatibility with current computer models and a fixed and singular type of nuclide they target.

[0004] Based on this, Chinese invention patent CN119917776A discloses a method for calculating the external radiation dose field of nuclear accidents based on a finite cloud model and a computer-readable storage medium. It proposes a universal calculation method based on the finite cloud model, solving the problem of refined calculation of dose fields formed by multiple nuclides in grids with different distances. However, in practical applications of calculating the consequences of various nuclear accidents, there are nuclear accident scenarios with fixed types of radionuclides, small-scale diffusion spatial scales ranging from several kilometers to tens of kilometers, and high temporal resolution (e.g., time steps of several minutes) for dynamic external radiation dose calculation. Furthermore, the atmospheric diffusion calculation modes and programs used in different consequence calculation processes have different adaptation interfaces. This universal calculation method involves a large amount of spatial integration calculation, thus failing to meet the need for high-efficiency calculation of dynamic external radiation dose. The reasons for this are as follows: First, when the types of radionuclides are fixed, data matrices need to be processed and created each time, making the source data processing flow redundant. Second, atmospheric diffusion calculation programs for small-scale nuclear accident scenarios often have high spatial resolution, such as 100m×100m in the horizontal direction. However, gamma rays have spatial symmetry during penetration, and spatial integration calculations are often time-consuming when performed on each grid. Third, small-scale nuclear accident scenario calculation programs usually also need high temporal resolution, such as 15 minutes. A complete dynamic external radiation dose field calculation requires traversing dozens of time periods sequentially, resulting in long calculation times. Finally, when interfacing with the atmospheric diffusion calculation program for small-scale nuclear accident scenarios (CALPUFF program), existing technologies cannot directly read / output the diffusion and diffusion format data of the CALPUFF program, requiring additional conversion. Therefore, existing methods for calculating dynamic gamma external radiation dose fields still have room for optimization and improvement in terms of calculation process design and computational efficiency. Summary of the Invention

[0005] The purpose of this invention is to solve the technical problem that existing calculation methods cannot meet the requirements for high-efficiency calculation of dynamic external radiation dose, and to provide a method for calculating dynamic gamma external radiation dose field based on synchronous and asynchronous parallel computing, as well as a computer-readable storage medium.

[0006] To achieve the above objectives, the technical solution provided by this invention is as follows:

[0007] A method for calculating the dynamic gamma external radiation dose field based on synchronous and asynchronous parallel computing is characterized by the following steps:

[0008] Step 1: First, prepare the original data matrix of nuclide information of the nuclear accident source term. Then, determine the specific nuclide types and the release ratio of each nuclide according to the type and severity of the nuclear accident. Update the original data matrix accordingly to obtain a new data matrix. Then, obtain the normalized activity information of each nuclide and its corresponding gamma-ray information in the new data matrix.

[0009] Step 2: Based on the normalized activity information of each nuclide and its corresponding gamma-ray information, discard gamma rays in the new data matrix whose total external irradiation dose contribution is less than 1%, and obtain the information of all core gamma rays.

[0010] Step 3: Obtain the normalized cloud mass concentration field and normalized ground sediment mass density field files for the first time period during the nuclear accident propagation calculation process, along with their corresponding grid number and spatial distance dimensions for each grid. Calculate the number of grids and grid points in the cloud mass concentration field and ground sediment mass density field where any grid is penetrated by gamma rays from other grids.

[0011] Step 4: Based on the normalized cloud mass concentration field and normalized ground sediment mass density field files of the first time period, as well as the number of grids and grid points obtained in Step 3, the target grids and their surrounding grids penetrated by each core γ-ray obtained in Step 2 are traversed sequentially in a synchronous parallel computing manner to calculate the dose caused by all core γ-rays, thereby obtaining the γ external irradiation dose field of the first time period. At the same time, the spatial integration factor of each grid's own grid, surrounding grids and ground sediment grids is obtained.

[0012] Step 5: Obtain the normalized cloud mass concentration field and normalized ground sediment mass density field files for the remaining time periods during the nuclear accident propagation calculation. Combine the number of grids and grid points obtained in Step 3 and the spatial integration factor obtained in Step 4, and use asynchronous parallel computing to sequentially traverse the target grids and surrounding grids of each core γ-ray obtained in Step 2 to calculate the γ external irradiation dose field for the remaining time periods.

[0013] Step 6: Organize the gamma external radiation dose field of the first time period obtained in Step 4 and the gamma external radiation dose fields of the remaining time periods obtained in Step 5 to obtain the dynamic gamma external radiation dose field of the nuclear accident.

[0014] Furthermore, the original data matrix of the nuclear accident source term nuclide information includes the nuclide type, the normalized activity of each nuclide, the type of γ-rays produced by the decay of the nuclide, and the energy, branching ratio, linear decay coefficient and air energy mass absorption coefficient of each γ-ray.

[0015] Furthermore, in step 1, the specific nuclide type is one or more fixed types of nuclides determined according to the type and severity of the nuclear accident.

[0016] Further, step 2 specifically involves arranging all gamma rays in the new data matrix from largest to smallest according to the product of their fixed coefficient combinations, based on the normalized activity information of each nuclide and the information of each gamma ray, and discarding gamma rays whose total external irradiation dose contribution is less than 1% by automatically trunculating the error, thereby obtaining the information of all core gamma rays.

[0017] Further, in step 2, the product of the fixed coefficient combination refers to the product of the energy, branching ratio, air energy mass absorption coefficient and normalized activity of the corresponding nuclide for each type of γ-ray;

[0018] The core gamma rays refer to the various gamma rays retained after discarding gamma rays whose total contribution to external irradiation dose is less than 1%.

[0019] Further, in step 4, the gamma external irradiation dose field in the first time period includes the depositional external irradiation dose and the smoke cloud external irradiation dose, wherein the depositional external irradiation dose is calculated by the following formula:

[0020] ;

[0021] In the formula, height of any grid center Dose rate at location; This is the energy unit conversion factor; To produce the first corresponding nuclide decay indivual The air energy mass absorption coefficient of radiation; For the first indivual The energy of rays; For the first indivual Branching ratio of rays; This represents the radioactivity of the corresponding nuclide; To produce the first corresponding nuclide decay The linear attenuation coefficient of each gamma ray; ,in, S represents the space of the ground sedimentary source surface; Let z be the distance between each point on the surface of the sedimentary source and the position at height z0 of the center of any grid, and ;

[0022] The formula for calculating the external radiation dose from the smoke cloud is:

[0023] ;

[0024] In the formula, height of any grid center Dose rate at location; V is the source volume space; The height of each point in the source volume space relative to the center of any grid. The distance at the location, and .

[0025] Further, in step 4, the spatial integration factor is calculated using the following formula:

[0026] ;

[0027] In the formula, F is the spatial integrating factor. For the normalized activity of nuclide i, For source volume space or surface sedimentary source surface space; r is The height of each point in space relative to the center of any grid Distance at location.

[0028] Furthermore, in step 4, the spatial integration factor of each grid corresponding to its own grid, surrounding grid, and ground deposition grid is obtained by using the symmetric substitution method, and the data structure of the spatial integration factor is a structure.

[0029] Furthermore, the present invention also provides a computer-readable storage medium storing a computer program or instructions thereon, wherein the computer program or instructions, when executed by a processor, implement the steps of the above-described method for calculating the dynamic external gamma radiation dose field based on synchronous and asynchronous parallel computing.

[0030] The beneficial effects of this invention are as follows:

[0031] 1. For nuclear accident scenarios with known types of radionuclides and the proportion of radionuclides released, this invention pre-creates a nuclear accident source term radionuclide information data matrix, and uses the decoupling calculation of radionuclide activity data and atmospheric diffusion process. The data processing flow is simple and robust, and it is fully matched to the calculation of dynamic gamma external irradiation dose field.

[0032] 2. This invention addresses the high temporal resolution characteristic of computation programs for small-scale nuclear accident scenarios by designing a computational process that combines synchronous and asynchronous parallel methods. The first time period employs synchronous parallel computation, while simultaneously recording spatial integration factors using a structured data structure. From the second time period onwards, the spatial integration factors recorded during the first time period are used, and asynchronous parallel computation is employed for all time periods. This reduces the necessary computational overhead in the computational process and significantly improves computational efficiency.

[0033] 3. This invention can be applied to computer-readable storage media and has a high compatibility with the existing computer CALPUFF program mode, further improving computational efficiency. Attached Figure Description

[0034] Figure 1This is a flowchart of an embodiment of the method for calculating the dynamic external gamma radiation dose field based on synchronous and asynchronous parallel computing according to the present invention. Detailed Implementation

[0035] To make the objectives, advantages, and features of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Those skilled in the art should understand that these embodiments are merely used to explain the technical principles of the present invention and are not intended to limit the scope of protection of the present invention.

[0036] External gamma radiation dose is a key concern in nuclear accidents. Conventional nuclear accident consequence assessment systems primarily use a semi-infinite cloud model, focusing mainly on the dose field after final diffusion or at large time points. However, for small-scale nuclear accidents with known radionuclide types and release ratios, the computationally expensive spatial numerical integration inherent in the finite cloud method necessitates consideration of the computational timeliness issues arising from the high spatial and temporal resolution of atmospheric diffusion procedures. Therefore, this invention designs an automated dose field calculation process that incorporates pre-defined source term data, symmetric substitution spatial integration, and a combination of synchronous and asynchronous methods. This enables efficient and precise calculation of external gamma radiation dose during nuclear accidents, effectively reducing computation time and improving computational efficiency in dynamic scenarios.

[0037] like Figure 1 As shown, this embodiment provides a method for calculating the dynamic external gamma radiation dose field based on synchronous and asynchronous parallel computing, including the following steps:

[0038] Step 1: First, prepare the original data matrix of nuclide information of the nuclear accident source term. Then, determine the specific nuclide types and the release ratio of each nuclide according to the type and severity of the nuclear accident, and update the original data matrix accordingly to obtain a new data matrix. Next, obtain the normalized activity information of each nuclide and its corresponding gamma-ray information in the new data matrix.

[0039] In this embodiment, the types of nuclides released by a nuclear accident (such as a nuclear power plant accident, a chemical explosion, etc.) are fixed. The activity proportion of each nuclide varies with the severity of the accident, and the normalized activity can be obtained by extracting specific coefficients. The original data matrix of nuclide information from the nuclear accident source term can be pre-defined based on the known properties of the nuclear accident type itself. This matrix includes the nuclide type, the normalized activity of each nuclide, the type of gamma rays produced by the decay of the nuclide, and the energy, branching ratio, linear decay coefficient, and air energy mass absorption coefficient of each gamma ray. Among them, the gamma ray linear decay coefficient and air energy mass absorption coefficient of each nuclide are obtained by fitting a spline function based on the gamma ray energy of the corresponding nuclide. The normalized activity of the nuclide is determined by the type of nuclear accident and the proportion of nuclide released.

[0040] Step 2: Based on the normalized activity information of each nuclide and its corresponding gamma-ray information, discard gamma rays in the new data matrix whose total external irradiation dose contribution is less than 1%, and obtain the information of all core gamma rays.

[0041] This embodiment specifies the energy of each type of gamma ray. Branch ratio Air energy mass absorption coefficient and the normalized activity of nuclides Perform the product operation, that is The product of these fixed coefficient combinations of all rays in the new data matrix is ​​arranged from largest to smallest. All rays with a total contribution of less than 1% are discarded, and the core γ-rays that are retained are the calculation objects of this embodiment.

[0042] Step 3: Obtain the normalized cloud mass concentration field and normalized ground sediment mass density field files for the first time period during the nuclear accident propagation calculation process, along with their corresponding grid numbers and spatial distance dimensions for each grid. Calculate the number of grids and grid points in the cloud mass concentration field and ground sediment mass density field that are penetrated by gamma rays from other grids.

[0043] This embodiment uses the CALPUFF program for atmospheric diffusion in nuclear accidents. The CALPUFF program is set to release 1 kg. The output cloud mass concentration field and ground sediment mass density field for all time periods are processed into normalized cloud mass concentration fields and normalized ground sediment mass density fields. Multiplying these normalized cloud mass concentration fields and normalized ground sediment mass density fields by the normalized activity of each nuclide yields the normalized cloud activity concentration field and normalized ground sediment activity density field. Nuclide activity data and atmospheric diffusion calculations are performed separately and decoupled. In this embodiment, the grid data structure provided in the cloud mass concentration field and ground sediment mass density field files output by the CALPUFF program is as follows: the grid in the xyz direction is 250×250×11, the xy length and width are 400m, and the height node data in the z direction are 20, 40, 80, 100, 150, 200, 300, 400, 800, 1400, and 2000m.

[0044] In this embodiment, the time resolution (i.e., the duration of a single time period) of the CALPUFF program output is 5 minutes, with a total of 20 time periods and a total diffusion time of 100 minutes. When calculating the dose of a certain grid, the contribution of rays from surrounding grids that can reach this grid needs to be considered. When calculating the radiation dose outside the air grid, the contribution of ground-deposited radionuclide rays needs to be considered. Specifically:

[0045] 3.1 Based on the normalized cloud activity concentration field and normalized surface sedimentary activity density field files for the first time period, and their corresponding grid numbers and spatial distance dimensions for each grid, calculate the number of grids in the cloud activity concentration field and surface sedimentary activity density field that are penetrated by γ-rays from other grids; wherein, the number of grids in that grid that are penetrated by γ-rays in the x-axis direction. Calculated using the following formula:

[0046] ;

[0047] In the formula, fix represents the floor function. This represents the distance dimension of any given grid along the x-axis.

[0048] Number of grids penetrated by gamma rays in the y-axis direction Calculated using the following formula:

[0049] ;

[0050] In the formula, This represents the distance dimension of any given grid along the y-axis.

[0051] The number of gamma rays penetrating the grid along the z-axis is related to the uniformity of the grid height, and there are separate penetration numbers in the positive and negative z-axis directions. When the grid height along the z-axis remains uniform, the number of gamma rays penetrating the grid in the positive (upward) z-axis direction... :

[0052] ;

[0053] In the formula, This represents the distance between grid points along the z-axis.

[0054] The number of grid cells penetrated in the negative (downward) z-axis direction. :

[0055] ;

[0056] In the formula, z n This is the layer number in the z-axis direction of the grid point (the layer closest to the ground is the first layer).

[0057] When the grid height along the z-axis varies with atmospheric pressure, the number of grid cells penetrated by gamma rays in the positive (upward) z-axis direction... The expression is related to the layer number z in the z-axis direction of the grid point. n Relevant, namely:

[0058] ;

[0059] In the formula, m satisfies , The layer number in the z-axis direction is z n The height of the grid layer. Simultaneously, negative (downward) gamma rays in the z-axis direction penetrate the number of grid layers. The expression is:

[0060] .

[0061] 3.2 Based on step 3.1, obtain the number of grid points of any given grid, that is, the number of grid points along the x-axis in any given grid. for: ; Number of grid points on the y-axis for: When the grid height along the z-axis is uniform and constant, the number of grid points along the z-axis... : When the grid height along the z-axis varies with atmospheric pressure, the number of grid points along the z-axis... : .

[0062] Step 4: Based on the normalized cloud mass concentration field and normalized ground sediment mass density field files of the first time period, as well as the number of grids and grid points obtained in Step 3, the target grids and their surrounding grids penetrated by each type of core γ-ray obtained in Step 2 are traversed sequentially using a synchronous parallel computing method to calculate the dose caused by all core γ-rays, thereby obtaining the γ external irradiation dose field of the first time period. At the same time, the spatial integration factor of each grid's own grid, surrounding grids, and ground sediment grids is obtained.

[0063] In this embodiment, the dose calculation for each grid requires traversing and calculating the dose contribution of its own grid and the surrounding grids. For the specific calculation of the dose contribution, a synchronous parallel calculation method is used to calculate the dose caused by all core gamma rays, and the irradiated dose of all grids is calculated sequentially to obtain the gamma external irradiation dose field for the first time period. At the same time, the spatial integration factor of each grid's own grid, surrounding grids and ground deposition grid is obtained.

[0064] In this embodiment, the gamma external irradiation dose field in the first time period includes the depositional external irradiation dose and the smoke cloud external irradiation dose, wherein the depositional external irradiation dose is calculated by the following formula:

[0065] ;

[0066] In the formula, height of any grid center (Dose rate at the location, Gy / s, related to the grid's position and its z-axis spatial distance) This is the energy unit conversion factor, specifically 1.6 × 10⁻⁶. -13 J / MeV; To produce the first corresponding nuclide decay indivual The air energy mass absorption coefficient of X-rays, m 2 / kg; For the first indivual The energy of the radiation, MeV; For the first indivual Branching ratio of rays (i.e., output); Bq represents the radioactivity of the corresponding nuclide. To produce the first corresponding nuclide decay The linear attenuation coefficient of a single γ-ray, 1 / m; ,in, S represents the space of the ground sedimentary source surface; Let z be the distance, in meters, between each point on the surface of the sedimentary source and the center of any grid at height z0. .

[0067] The formula for calculating the external radiation dose from the smoke cloud is:

[0068] ;

[0069] In the formula, height of any grid center Dose rate at location; V is the source volume space; The height of each point in the source volume space relative to the center of any grid. The distance at the location, in meters, is... .

[0070] The spatial integration factor is calculated using the following formula:

[0071] ;

[0072] That is, the spatial integration factor of any grid is the product of the integral term and the fixed coefficient in the above calculation formula, where F is the spatial integration factor. For the normalized activity of nuclide i, For source volume space or surface sedimentary source surface space; r is The height of each point in space relative to the center of any grid Distance at location.

[0073] In this embodiment, the calculation results, such as the spatial integral factor, are first multiplied by a specific coefficient for the severity of the nuclear accident, so that the normalized activity has a specific activity value, and the gamma external irradiation dose field for the first time period can be obtained.

[0074] Secondly, according to the aforementioned dose formula, the dose calculation of any grid requires traversing all the core gamma rays determined in step 2. Spatial integration calculation is a computationally intensive process. In this embodiment, a synchronous parallel calculation method is used to calculate the external irradiation dose of all gamma rays at the same time. Only after the external irradiation dose of all gamma rays has been calculated can they be merged and added together.

[0075] Third, this embodiment considers the calculation domain of the airborne mass concentration field in the CALPUFF program. The dose field calculation domain is a three-dimensional space with equidistant grid spacing in the x and y directions, and the grid spacing gradually increases from the ground in the z-axis direction. The grid size of the three-dimensional space x, y, and z is known and fixed in a single example, but may change in other examples. Based on the number of grids obtained in step 3, the normalized smoke cloud mass concentration field and ground sediment mass density field data of the first time period are taken. When calculating the γ dose of the target grid by traversing all core γ-ray penetrations to the target grid and its surrounding grids, the symmetric substitution method is used. For those already calculated, a recording method is used, directly assigning them a spatial integration factor with the same symmetric spatial position.

[0076] Based on this, the traversal calculation method considering symmetric substitution provided in this embodiment is as follows:

[0077] (1) First, traverse the z-axis direction, starting from the first layer on the ground. When the grid layer number in the z-axis direction is less than or equal to the number of grids penetrated by γ rays in the positive (upward) z-axis direction. At that time, the radiation dose calculation for this grid layer takes into account the contribution of external radiation caused by ground sediment activity and the contribution of external radiation caused by smoke and cloud activity at various heights in the surrounding area; when the grid layer number in the z-axis direction is greater than the grid number... In this case, only the contribution of external radiation caused by the activity of smoke clouds at various heights is considered. The total number of grid points affected by γ-rays along the z-axis in both cases is... In each z-axis height layer, starting from the leftmost side of the x-axis and traversing to the right, the number of meshes affected by γ-rays in the x-axis direction in that layer is n. x In each horizontal layer along the x-axis, the traversal begins from the foremost layer along the y-axis and proceeds backwards. The number of grid cells affected by γ-rays along the y-axis is n. y .

[0078] (2) In each z-axis height layer, for the current grid point, the spatial integral calculation of the dose contribution of the grid body to the grid point is regarded as a self-grid integral. It is calculated only once when the current layer first encounters its own grid. The self-contribution of all subsequent target points in the same layer is directly read from the cached value of the record.

[0079] (3) In each z-axis height layer, for the current grid point, the spatial integral calculation of the dose contribution of the surrounding grid cells to the grid point is regarded as another type of surrounding grid integral. When traversing the surrounding grid cells, it is assumed that the relative displacement of the surrounding grid cells is (di, dj, dz). Since the surrounding grid cells have the same size and the grid point is located at the center of the grid, the spatial integral factor depends only on the absolute value of the relative distance and is independent of the direction. Specifically, the contribution of the grid cell with relative displacement of (di, dj, dz) is calculated first. If di≠0, the integral factor of the surrounding grid cell at the right di and the left -di of the target point is equal. After calculating and saving the three-dimensional spatial integral factor of the surrounding grid cell, the same value is immediately assigned to the three-dimensional spatial integral factor of the surrounding grid cell at the left -di. If dj≠0, it is similarly symmetrically saved as the three-dimensional spatial integral factor of the surrounding grid cell at the corresponding -dj. If di≠0 and dj≠0, it is symmetrically saved as the three-dimensional spatial integral factor of the surrounding grid cell at the corresponding (-di, -dj).

[0080] In this embodiment, as shown in Table 1, the top-left corner grid point of the computational domain is set as the target grid (1, 1, 1). Only one spatial integration factor of its own grid and 69 spatial integration factors of the surrounding grids are calculated. For the target grid (1, 2, 1), the spatial integration factors of the symmetrical own grid and surrounding grids are directly used, totaling 95 surrounding grids, which do not need to be calculated again. For the target grid (1, 3, 1), there are 112 surrounding grids, which do not need to be calculated again. For the target grid (4, 2, 1), there are 155 surrounding grids, which do not need to be calculated again. For the target grid (4, 3, 1), there are 180 surrounding grids, which do not need to be calculated again. In this embodiment, the spatial integration factors of the surrounding grids are calculated a total of 557 times. As shown in Table 1, for the target grid (4, 3, 5), there are 181 surrounding grids, where the integration factor of the 181st surrounding grid is taken from the calculation result of (1, 1, 10) for grid point (1, 1, 5), and the others are all derived from the spatial integration factors of the surrounding grids calculated in the first grid calculation (69 times).

[0081] Table 1. Spatial integration factor of the surrounding grid of some target grids.

[0082]

[0083] Continued from Table 1: Spatial Integration Factors of the Surrounding Grid of Partial Target Grid

[0084]

[0085] Continued from Table 1: Spatial Integration Factors of the Surrounding Grid of Partial Target Grid

[0086]

[0087] Continued from Table 1: Spatial Integration Factors of the Surrounding Grid of Partial Target Grid

[0088]

[0089] Continued from Table 1: Spatial Integration Factors of the Surrounding Grid of Partial Target Grid

[0090]

[0091] Continued from Table 1: Spatial Integration Factors of the Surrounding Grid of Partial Target Grid

[0092]

[0093] As shown in the table above, the total number of calculations for the spatial integration factor of the surrounding grid is 557, distributed as follows: 69 calculations for the first layer, 62 calculations for the second layer, 46 calculations for the third layer, 54 calculations for the fourth layer, 55 calculations for the fifth layer, 49 calculations for the sixth layer, 67 calculations for the seventh layer, 68 calculations for the eighth layer, 60 calculations for the ninth layer, 21 calculations for the tenth layer, and 6 calculations for the eleventh layer.

[0094] Fourth, when calculating the gamma dose of the target grid by traversing the grid itself and its surrounding grids that have penetrated the target grid, a data structure of a structure is used to record and obtain three types of spatial integration factors for the grid itself, the surrounding grids, and the ground deposition grids, thus saving the gamma external irradiation dose field for the first time period. The spatial integration factor of the grid itself is used to store the three-dimensional integration factor of the grid itself relative to its center point in each height layer. The data structure of the structure is shown in Table 2.

[0095] Table 2 Data Structure of Structures

[0096]

[0097] All grids within the same height layer have identical self-factors (due to uniform grid size), so each layer only needs to be calculated once, and all target points in the same layer share the same factor.

[0098] The spatial integration factor of the surrounding grid is used to store the three-dimensional integration factor of the surrounding grid, as well as auxiliary index information. The data structure of the structure is shown in Table 3.

[0099] Table 3 Data Structure II

[0100]

[0101] The first two dimensions of the factors index are designed to be centrally symmetric, i.e. (m x × m yThe equation (di=0, dj=0) corresponds to (di=0, dj=0). After calculating a factor of (di, dj, dz), it is simultaneously assigned to four symmetrical positions ((di,dj), (-di,dj), (di,-dj), (-di,-dj)), achieving one calculation and four reuses. Once the spatial integration factors of the surrounding grids of this grid are recorded, the spatial integration factors of the surrounding grids of other similar positions can be directly used.

[0102] The spatial integration factor of the ground sedimentation grid is used to store the two-dimensional integration factor of the ground sedimentation source (located in the first layer) with respect to the target point at any height. The data structure of the structure is shown in Table 4.

[0103] Table 4 Data Structures of Structures (Part 3)

[0104]

[0105] Step 5: Obtain the normalized cloud mass concentration field and normalized ground sediment mass density field files for the remaining time periods during the nuclear accident propagation calculation. Combine the number of grids and grid points obtained in Step 3 and the spatial integration factor obtained in Step 4, and use an asynchronous parallel computing method to sequentially traverse the target grid and its surrounding grids for each type of core γ-ray obtained in Step 2 to calculate the γ external irradiation dose field for the remaining time periods.

[0106] In this embodiment, after the calculation of the first time period is completed, the spatial integration factors of the three-dimensional space of all grids within the computational domain, the other three-dimensional spaces, and the ground two-dimensional space are obtained. Using the same traversal method as the previous step, that is, based on the number of grids obtained in step 3, traversal calculations are performed on all grids within the computational domain for the 19 subsequent dose field computation periods. Since the spatial integration factors of the three-dimensional space of all grids within the computational domain, the other three-dimensional spaces, and the ground two-dimensional space are already available, the dose field calculation tasks for the 19 time periods are submitted to the worker processes in the parallel pool for execution without blocking the main thread. After the calculation tasks are completed, the dose field results for each time period are obtained through polling. In asynchronous parallel computation, if the calculation task for a certain time period fails, it can be adjusted and recalculated without affecting other tasks.

[0107] In this embodiment, the computing resources are 4 cores. For 19 time periods, if the previous sequential calculation method is used, the total time is 8413s. However, if the asynchronous parallel calculation method of this embodiment is used, the time is 2750s. It can be seen that the asynchronous parallel calculation method of this embodiment greatly improves the computing efficiency.

[0108] Step 6: Organize the gamma external radiation dose field of the first time period obtained in Step 4 and the gamma external radiation dose fields of the remaining time periods obtained in Step 5 to obtain the dynamic gamma external radiation dose field of the nuclear accident, thereby completing the calculation of the dynamic gamma external radiation dose field of the nuclear accident based on synchronous and asynchronous parallel computing.

[0109] In this embodiment, the gamma external irradiation dose field data calculated in steps 4 and 5 for the first time period and other time periods are extracted, multiplied by the specific coefficients extracted when determining the normalized activity information in the data matrix in step 1, and organized into a four-dimensional array containing three-dimensional dose field data with a time dimension, to obtain the nuclear accident radioactive dynamic gamma external irradiation dose field, and the data information corresponding to this dose field can be called by different programs for reprocessing.

[0110] In addition, this embodiment also provides a computer-readable storage medium storing a computer program or instructions thereon, which, when executed by a processor, implements the steps of the method for calculating the dynamic external gamma radiation dose field based on synchronous and asynchronous parallel computing described in this embodiment.

[0111] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein, and such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the present invention.

Claims

1. A method for calculating the dynamic gamma external radiation dose field based on synchronous and asynchronous parallel computing, characterized in that, Includes the following steps: Step 1: First, prepare the original data matrix of nuclide information of the nuclear accident source term. Then, determine the specific nuclide types and the release ratio of each nuclide according to the type and severity of the nuclear accident. Update the original data matrix accordingly to obtain a new data matrix. Then, obtain the normalized activity information of each nuclide and its corresponding gamma-ray information in the new data matrix. Step 2: Based on the normalized activity information of each nuclide and its corresponding gamma-ray information, discard gamma rays in the new data matrix whose total external irradiation dose contribution is less than 1%, and obtain the information of all core gamma rays. Step 3: Obtain the normalized cloud mass concentration field and normalized ground sediment mass density field files for the first time period during the nuclear accident propagation calculation process, along with their corresponding grid number and spatial distance dimensions for each grid. Calculate the number of grids and grid points in the cloud mass concentration field and ground sediment mass density field that are penetrated by gamma rays from other grids. Step 4: Based on the normalized cloud mass concentration field and normalized ground sediment mass density field files of the first time period, as well as the number of grids and grid points obtained in Step 3, the target grids and their surrounding grids penetrated by each core γ-ray obtained in Step 2 are traversed sequentially in a synchronous parallel computing manner to calculate the dose caused by all core γ-rays, thereby obtaining the γ external irradiation dose field of the first time period. At the same time, the spatial integration factor of each grid's own grid, surrounding grids and ground sediment grids is obtained. Step 5: Obtain the normalized cloud mass concentration field and normalized ground sediment mass density field files for the remaining time periods during the nuclear accident propagation calculation. Combine the number of grids and grid points obtained in Step 3 and the spatial integration factor obtained in Step 4, and use asynchronous parallel computing to sequentially traverse the target grids and surrounding grids of each core γ-ray obtained in Step 2 to calculate the γ external irradiation dose field for the remaining time periods. Step 6: Organize the gamma external radiation dose field of the first time period obtained in Step 4 and the gamma external radiation dose fields of the remaining time periods obtained in Step 5 to obtain the dynamic gamma external radiation dose field of the nuclear accident.

2. The method for calculating the dynamic external gamma radiation dose field based on synchronous and asynchronous parallel computing according to claim 1, characterized in that: In step 1, the original data matrix of the nuclide information of the nuclear accident source term includes the nuclide type, the normalized activity of each nuclide, the type of γ-rays produced by the decay of the nuclide, and the energy, branching ratio, linear decay coefficient and air energy mass absorption coefficient of each γ-ray.

3. The method for calculating the dynamic external gamma radiation dose field based on synchronous and asynchronous parallel computing according to claim 2, characterized in that: In step 1, the specific nuclide type is one or more fixed types of nuclides determined according to the type and severity of the nuclear accident.

4. The method for calculating the dynamic external gamma radiation dose field based on synchronous and asynchronous parallel computing according to claim 3, characterized in that: Step 2 specifically involves arranging all gamma rays in the new data matrix from largest to smallest according to the product of their fixed coefficient combinations, based on the normalized activity information of each nuclide and the information of each gamma ray, and discarding gamma rays whose total external irradiation dose contribution is less than 1% by automatically trunculating the error, thereby obtaining the information of all core gamma rays.

5. The method for calculating the dynamic external gamma radiation dose field based on synchronous and asynchronous parallel computing according to claim 4, characterized in that: In step 2, the product of the fixed coefficient combination refers to the product of the energy, branching ratio, air energy mass absorption coefficient and normalized activity of the corresponding nuclide for each type of γ-ray; The core gamma rays refer to the various gamma rays retained after discarding gamma rays whose total contribution to external irradiation dose is less than 1%.

6. The method for calculating the dynamic external gamma radiation dose field based on synchronous and asynchronous parallel computing according to claim 1, characterized in that: In step 4, the gamma external irradiation dose field in the first time period includes the depositional external irradiation dose and the smoke cloud external irradiation dose, wherein the depositional external irradiation dose is calculated by the following formula: ; In the formula, height of any grid center Dose rate at location; This is the energy unit conversion factor; To produce the first corresponding nuclide decay indivual The air energy mass absorption coefficient of radiation; For the first indivual The energy of rays; For the first indivual Branching ratio of rays; This represents the radioactivity of the corresponding nuclide; To produce the first corresponding nuclide decay The linear attenuation coefficient of each gamma ray; ,in, S represents the space of the ground sedimentary source surface; Let z be the distance between each point on the surface of the sedimentary source and the position at height z0 of the center of any grid, and ; The formula for calculating the external radiation dose from the smoke cloud is: ; In the formula, height of any grid center Dose rate at location; V is the source volume space; The height of each point in the source volume space relative to the center of any grid. The distance at the location, and .

7. The method for calculating the dynamic external gamma radiation dose field based on synchronous and asynchronous parallel computing according to claim 6, characterized in that: In step 4, the spatial integration factor is calculated using the following formula: ; In the formula, F is the spatial integrating factor. For the normalized activity of nuclide i, For source volume space or surface sedimentary source surface space; r is The height of each point in space relative to the center of any grid Distance at location.

8. The method for calculating the dynamic external gamma radiation dose field based on synchronous and asynchronous parallel computing according to claim 7, characterized in that: In step 4, the spatial integration factor of each grid corresponding to its own grid, surrounding grid, and ground sediment grid is obtained by using the symmetric substitution method, and the data structure of the spatial integration factor is a structure.

9. A computer-readable storage medium having a computer program or instructions stored thereon, characterized in that, When the computer program or instructions are executed by the processor, they implement the steps of the method for calculating the dynamic external gamma radiation dose field based on synchronous and asynchronous parallel computing as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Nuclear accident external irradiation dose field calculation method based on limited smoke cloud model and computer readable storage medium

    CN119917776A