METHOD OF TRACKING CHARACTERISTIC LINE, AND METHOD AND APPARATUS OF CALCULATING CORE NEUTRON PHYSICS

Information

  • Patent Application
  • 20220336116
  • Publication Number
    20220336116
  • Date Filed
    June 08, 2021
    3 years ago
  • Date Published
    October 20, 2022
    2 years ago
  • CPC
    • G21D3/002
    • G06F30/17
    • G06F2111/10
  • International Classifications
    • G21D3/00
    • G06F30/17
Abstract
There is provided a method of tracking a characteristic line, a method and apparatus of calculating core neutron physics, and a computer-readable storage medium. The method of tracking the characteristic line includes: determining, sequentially from the uppermost level to the lowest level, whether an intersection of the sub-model meeting a first preset condition in each of the plurality of levels and the characteristic line segment meets a second preset condition or not; and obtaining an intersection, that meets the second preset condition, of the sub-model meeting the first preset condition in the lowest level and the characteristic line, so as to obtain a segment correspondence between the characteristic line and the material of the core according to the intersection obtained.
Description
TECHNICAL FIELD

The present disclosure relates to a field of a reactor technology, and in particular to design, for a core model, a method of tracking a characteristic line, a method and apparatus of calculating core neutron physics, and a computer-readable storage medium.


BACKGROUND

In most codes based on methods of characteristics in a related art, a segment-by-segment search method is used to track a characteristic line. Key steps of such a tracking method include: 1. positioning a point; 2. solving a distance from the point to a spatial range boundary in a fixed direction. Both steps require a lot of time for calculation, especially a calculation for positioning the point.


When positioning a point, one method needs to search geometries in a lower level of a core model and make determinations in turn. If the point is found in a geometry, it is needed to further make determinations in turn in the lower geometries of the geometry until the point is positioned in a lowest level. When positioning a next point, the above steps need to be repeated, that is, a large number of repetitive calculations need to be carried out in this method, which has a large amount of calculation and a low efficiency.


In order to improve the method, a neighbor search method is used in the Monte Carlo code. After one point is determined, a determination on the next point does not start from a top-level geometry, but from a geometry where a previous point is located, and it is prior to search neighboring geometries. For repeated neighboring, repetitive calculations are needed and the efficiency is low. In addition, due to an intersection operation in a modeling process of the Monte Carlo method, a spatial range of a lower-level geometry may not be a real spatial range. Therefore, the geometry needs to be pre-processed prior to searching from the lower-level geometry.


SUMMARY

In view of the above problems, the present disclosure is proposed to provide a method of tracking a characteristic line, a method and apparatus of calculating core neutron physics, a core model, an apparatus of simulating a reactor, and a computer-readable storage medium, which overcomes the above problems or at least partially solves the above problems.


According to a first aspect of the present disclosure, there is provided a method of tracking a characteristic line in a core model, wherein the core model is configured to divide a spatial range of a core into a plurality of levels, and each of the plurality of levels includes a plurality of sub-models, wherein at least one of the plurality of sub-models in one level of the plurality of levels belongs to one of the plurality of sub-models in an upper level, each of the plurality of sub-models in a lowest level includes only one material of the core; a union operation on all the sub-modules in each upper level and an intersection operation with a spatial range of the upper level are performed for all the sub-modules in each upper level so as to form the sub-model in the upper level, and an uppermost level is the core model; the method includes: determining, sequentially from the uppermost level to the lowest level, whether an intersection of the sub-model meeting a first preset condition in each of the plurality of levels and the characteristic line segment meets a second preset condition or not; and obtaining an intersection, that meets the second preset condition, of the sub-model meeting the first preset condition in the lowest level and the characteristic line, so as to obtain a segment correspondence between the characteristic line and the material of the core according to the intersection obtained.


According to a second aspect of the present disclosure, there is provided a method of calculating core neutron physics, including: a modeling step, including: constructing a core model, wherein the core model is constructed to divide a spatial range of a core into a plurality of levels, and each of the plurality of levels includes a plurality of sub-models, wherein at least one of the sub-models in one level of the plurality of levels belongs to one of the sub-models in an upper level, each of the plurality of sub-models in a lowest level includes only one material of the core; a union operation on all the sub-modules in each upper level and an intersection operation with a spatial range of the upper level are performed for all the sub-modules in each upper level so as to form the sub-model in the upper level, and an uppermost level is the core model; a tracking step, including: defining a characteristic line and tracking the characteristic line according to the method of tracking the characteristic line described above; and an iterative calculation step, including: performing an iterative calculation based on a result of tracking the characteristic line so as to obtain a solution of a neutron transport equation of the core.


According to a third aspect of the present disclosure, there is provided a reactor model constructed by using the method of calculating the core neutron physics described in the second aspect of the present disclosure.


According to a fourth aspect of the present disclosure, there is provided an apparatus of calculating core neutron physics, including: a modeling module configured to construct a core model, wherein the core model is constructed to divide a spatial range of a core into a plurality of levels, and each of the plurality of levels includes a plurality of sub-models, wherein at least one of the sub-models in one level of the plurality of levels belongs to one of the sub-models in an upper level, each of the plurality of sub-models in a lowest level includes only one material of the core; a union operation on all the sub-modules in each upper level and an intersection operation with a spatial range of the upper level are performed for all the sub-modules in each upper level so as to form the sub-model in the upper level, and an uppermost level is the core model; a characteristic line tracking module configured to define a characteristic line and tracking the characteristic line according to the method of tracking the characteristic line described above; and an iterative calculation module configured to perform an iterative calculation based on a result of tracking the characteristic line so as to obtain a solution of a neutron transport equation of the core.


According to a fifth aspect of the present disclosure, there is provided an apparatus of simulating a reactor, including: the apparatus of calculating the core neutron physics described in the fourth aspect of the present disclosure.


According to a sixth aspect of the present disclosure, there is provided a computer-readable storage medium having instructions stored thereon, wherein the instructions are executable to implement the method of calculating the core neutron physics described above.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 shows a schematic diagram of a core model according to some embodiments of the present disclosure.



FIG. 2 shows a schematic diagram of a tracking method according to some embodiments of the present disclosure.



FIG. 3 shows a schematic diagram of a basic unit calculation tree according to some embodiments of the present disclosure.



FIG. 4 shows an auxiliary function image according to some embodiments of the present disclosure.



FIG. 5 shows a schematic diagram of a sub-solution set intersection or union operation method according to some embodiments of the present disclosure.



FIG. 6 shows a schematic diagram of a Takeda problem in a related art.



FIG. 7 shows a schematic diagram of a C5G7 problem in a related art.





DETAILED DESCRIPTION OF EMBODIMENTS

The embodiments of the present disclosure will be described in detail below with reference to the drawings. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, one or more embodiments may also be implemented without these specific details.


The embodiment firstly provides a method of tracking a characteristic line in a core model. The core model is used to divide a spatial range of a core into a plurality of levels each including a plurality of sub-models. That is, the core model includes a plurality of levels, and each level includes a plurality of sub-models.


In the plurality of levels, at least one sub-model of one level belongs to a sub-model of an upper level. That is, in the one level, a union operation is performed on one sub-model or a plurality of sub-models, and an intersection operation with a spatial range of an upper level is performed, and then a sub-model of the upper level may be obtained. Each sub-model in a lowest level includes only one material of the core. It may be understood that through the above calculations, as the level continuously rises, more and more core materials may be included in each sub-model. Therefore, after the calculation is performed on all the sub-models in an uppermost level, a result may correspond to the spatial range of the core and include all the materials of the core.


A method of constructing the core model is explained in detail below.


In reactor physics, modeling is mainly to describe material information of each position in a three-dimensional space. The spatial range may be expressed as U⊂R3, the material may be written as a set materials={1, 2, . . . , M} in the form of labels. Then a sub-model in the core model may be expressed as a mapping relationship between a spatial point set U and a material set materials, denoted by G=(U, f:U→materials).


Since the sub-model U in the lowest level includes only one material, that is, there is only one object m in materials, the sub-model may be written as (U, f:U→{m}), that is,






f(r)=m,r∈U


The sub-model may also be called a basic element, abbreviated as (U,m), which is a simplest model unit.


In order to use the sub-models to construct a more complex core model, a logical operation needs to be performed on the sub-models.


If a plurality of sub-models G1=(U1, f1), G2=(U2, f2) . . . Gn=(Un, fn) meet





i≠j,Ui∩Ui


that is, if the spatial ranges represented thereby are mutually exclusive, then a combination of f1, f2, . . . , fn may form a new mapping f









f
:




i
=
1

n


U
i




"\[Rule]"

materials

=

{






f
1

(
r
)

,

r


U
1










f
2

(
r
)

,

r


U
2















f
n

(
r
)

,

r


U
n











Therefore,






(





i
=
1

n


U
i


,
f

)




forms a new geometry, that is, a sub-model of the upper level, denoted as:







(





i
=
1

n


U
i


,
f

)

=



G
1



G
2







G
n


=




i
=
1

n


G
i







The operation is called a union operation, and









i
=
1

n


G
i





is called a union or G1, G2, . . . , Gn. The union operation is equivalent to assembling a plurality of sub-models of the lower level together.


The union operation possesses commutative law and associative law.


Assuming that there is a geometry G=(U,f) and a spatial range U′, a mapping f′: U′∩U→materials may be constructed:






f′(r)=f(r),r∈U′∩U


then (U∩U′,f′) may form a geometry, denoted as:






U′∩G=(U′∩U,f′)


The operation is called an intersection operation, and U′∩G is called an intersection of the spatial range U′ and the geometry G. An essence of the intersection operation is to use a spatial range to divide graphics, but actually the spatial range of U′∩U takes effect. In particular, if the spatial range U′⊂U, then:






U′∩G=(U′,f′),U′⊂U


The specific steps for constructing the core model using the above method will be given below.


Same as the Monte Carlo code, two data structures including Cell and Universe are used for specific implementation. The basic element Cell represents a basic element geometry and requires a user to give a spatial range U and a material index m. That is, the user is required to set a lowest level sub-model that includes only one material:





Cellbase=(U,m)


The Universe requires the user to give a list of a plurality of geometries) {Celldown,j} and represents the union of these models, that is, represents the union operation performed on the plurality of sub-models:






Universe
=




i
=
1

N


Cell

down
,
i







Another format of the Cell requires the user to give a Universe and a spatial range U to indicate the intersection of U and the Universe:





Cellup=U∩Universe


In other words, there is necessarily a spatial range U in the Cell, and the other may be filled with a material index to form the basic element Cell, or may be filled with a Universe to form a combination Cell, that is, the sub-model of the upper level may represent a larger spatial range and include more materials.



FIG. 1 shows a simple schematic diagram of the core model. In FIG. 1, a parallelogram box represents the material, a rounded corner box represents the spatial range U, a rectangular box represents the sub-model, and a hexagon box represents the Universe; a solid line represents the union, and a dashed line represents the intersection. Each of the lowest-level sub-models, that is, fuel, cladding and moderator, includes only one material. These lowest-level sub-models may generate a union pin 3, which intersects with the spatial range of the pin 3 to form a sub-model pin 3 of the upper level, that is, to form a sub-model of the pin level. By union operation and intersection operation, a plurality of sub-models of the pin level may form an assembly 2, which is a sub-model in an assembly level, that is, the uppermost-level sub-model in the model. The uppermost sub-models finally form the entire core model. It may be understood that in the actual modeling process, the core includes a plurality of different structures, and each of the structures may be represented by a different number of levels. However, the lowest-level sub-model only includes one core material, and all the uppermost-level sub-models after the operations form the spatial range of the core and include all the materials of the core.


In the method of tracking the characteristic line, it needs to find a length of each line segment generated by cutting the characteristic line by the entire geometry and a basic element Cell index corresponding to the each line segment. The method of tracking the characteristic line according to the present disclosure may include: determining, sequentially from the uppermost level to the lowest level, whether an intersection of the sub-model meeting a first preset condition in each level with the characteristic line meets a second preset condition or not; and obtaining an intersection, that meets the second preset condition, of the sub-model meeting the first preset condition in the lowest level and the characteristic line, so as to obtain a segment correspondence between the characteristic line and the material of the core according to the intersection obtained.


The method of tracking the characteristic line according to the present disclosure is implemented to use a linear nature of the characteristic line, so that a traversal of the core model just need to be performed only once to get all segments. And, in the entire tracking of the characteristic line, a step of returning to an upper level for traversal in a segment-by-segment tracking algorithm in the related art is avoided, so that the number of calculations is saved and the efficiency is improved. Furthermore, the segment-by-segment tracking algorithm in the related art needs to store segment information when performing real-time tracking, but the method of tracking the characteristic line according to the present disclosure only needs to double the calculation time even when performing real-time tracking, so that the storage of segment information is avoided, and a lot of storage space is saved.


Further, the first preset condition for the uppermost level is that the sub-model is located in the uppermost level; and the first preset condition for a non-uppermost level is that the sub-model in the non-uppermost level corresponds to the sub-model whose intersection with the characteristic line segment meets the second preset condition in the upper level of the non-uppermost level. Those skilled in the art may understand that when the uppermost level is determined, all the sub-models of the uppermost level are determined; while when the non-uppermost level is determined, a part of the sub-models in the non-uppermost level is determined. The part of the sub-models corresponds to a part of the spatial range of the upper level of the non-uppermost level, and the part of spatial range refers to the sub-models of the upper level, whose intersection with the characteristic line meets the second preset condition, of the non-uppermost level.


That is, when tracking the characteristic line, as shown in FIG. 2, it is firstly determined whether the intersection of a plurality of sub-models in the uppermost level with the characteristic line meets the second preset condition or not. For the sub-models corresponding to the intersection that meets the second preset condition, it is further determined whether the intersection of the corresponding sub-models of the lower level with the characteristic line meets the second preset condition or not. It may be understood that the corresponding sub-models of the lower level refer to that the sub-model is obtained by performing a union operation on the sub-models of the lower level, equivalent to a relationship between the assembly 2 and the pins 1, 2 and 3 in FIG. 2.


After a plurality of such determinations, all the lowest-level sub-models whose intersection with the characteristic line meets the second preset condition may be obtained. Since each of the lowest-level sub-models only includes one material, a segment correspondence between the characteristic line and the core materials may be obtained.


Further, the second preset condition is that the intersection is not an empty set, that is, in the determination process of each level, the sub-model that does not have an intersection with the characteristic line may be excluded. For example, when calculating the assembly level in FIG. 2, if the intersection of the sub-model assembly 1 and the characteristic line is an empty set, no calculation is performed on the sub-model of the lower level corresponding to the assembly 1.


Specifically, when tracking the core model in FIG. 2, the sub-models in the uppermost level that meet the first preset condition are firstly calculated. For the uppermost level, all the sub-models meet the first preset condition. Then, the intersection of the characteristic line with each of the sub-model assembly 1, the sub-model assembly 2 and the sub-model assembly 3 . . . is determined, and it is determined whether the intersection meets the second preset condition, that is, the sub-models in the level whose intersection with the characteristic line is not an empty set are selected. Further, after the calculation of the assembly level is performed, for example, if a result is that the sub-model assembly 2 meets the second preset condition, then the calculation is performed on the lower level. In this level, the sub-model meeting the first preset condition refers to that the corresponding sub-model of the upper level meets the second preset condition. That is, the sub-model pin 1, the sub-model pin 2, etc. corresponding to the sub-model assembly 2 meet the first preset condition, and in this level, the determination is only performed on these pins. Similarly, if only the intersection of the pin 3 with the characteristic line is not an empty set, then the calculation is performed on the sub-model fuel, reflector and cladding in the lower level of the sub-model pin 3. Since the fuel, the reflector and the cladding are the lowest-level sub-models, the correspondence between the characteristic line and the materials may be obtained after the calculation is performed.


Further, in order to ensure an orderliness of the tracking, after an end of the determination performed on the sub-models in one level, the obtained intersections that are not empty sets and the sub-models in these intersections may be sorted according to a predetermined rule. Specifically, the predetermined rule may be set according to the positions of the elements in these intersections on the characteristic line.


It may be understood that those skilled in the art may use a variety of methods to calculate the intersection of the characteristic line and the sub-model.


In some embodiments, an optional method of calculating the intersection of the characteristic line and the sub-model is used, which may include constructing an auxiliary function used to: calculate a plurality of boundary points of the corresponding sub-model on the characteristic line; calculate a left limit of each of the boundary points on the auxiliary function; and determine, when the left limit meeting a third preset condition, that a line segment between the boundary point and an adjacent boundary point corresponding to the left limit is within the sub-model. A derivation process of the auxiliary function will be explained below.


Firstly, the method of describing the spatial range of the sub-model is explained.


The spatial range of the sub-model is generally complex, and a constructive solid geometry may be used to describe a complex spatial range through the following simple set operations between basic units. The so-called basic unit refers to some basic geometries that may be expressed by mathematical formulas, such as cylinders, spheres, cubes, etc. These geometries may be used to describe related structures in the core, and the basic unit may be expressed as {r|±f(r)>0}. In the core model, an equation of the basic unit used in the sub-model is generally less than or equal to quadratic, and its unified form may be written as:






f(r)=a11x2+a22y2+a33z2+a12xy+a23yz+a13xz+a1x+a2y+a3z+a0


In the constructive solid geometry, a more complex spatial range may be obtained by regular intersection, union and complement operations on a plurality of basic units. In the present disclosure, the intersection and union operations are consistent with a set theory, that is,






A∩B={r|r∈A and r∈B}






A∪B={r|r∈A or r∈B}


For the complement operation, a complement of a spatial range closure is used, denoted as ¬A=ðR3 (cl(A)), where cl is a sign of closure, and the above form is used to ensure that the calculation result is still an open interval, for example ¬(x>0)=ðR3 (x≥0)=x<0, and ðR3 (x>0)=x≤0. Furthermore, the complement operation here meets:






A={r|f(r)>0}⇒¬A={r|−f(r)>0}


This operation is more similar to a negative operation in form. It may be proved that the complement operation meets





¬(A∪B)=(¬A)∩(¬B)





¬(A∩B)=(¬A)∪(¬B)


It should be pointed out that the definition method here is only used for description and cannot directly reflect a nature of the point. In practical use, regularization processing is also required. For example, (x>1)∪(x<1) is regularized to R3, that is, a point of x=1 should also be considered as an interior point.


Since the intersection and union operations are binary operations, and the complement operation is a unary operation, as shown in FIG. 3, the calculation process may be drawn as a tree diagram according to an order of the operations. The tree diagram in FIG. 3 represents the operation ¬(A∩B)∪(C∪D∩E).


It may be understood that each leaf node in FIG. 3 is a basic unit, and the other nodes are operators. The complement operation has a sub-tree, and the intersection and union operations both have two sub-trees, that is, the operation should be performed by two basic units.


Next, the method of constructing the auxiliary function will be explained.


Assuming the characteristic line equation Track={r=Ωt+r0|t∈(−∞,∞)}, and segmenti is used to identify a line segment on the characteristic line, then segmenti={r=Ωt+r0,j|t∈(0,li)}, which may be abbreviated as segment (r0,j,Ω,li), where l represents a length of the segment, r0 represents a starting point of the segment, and Ω represents a direction vector of the segment.


Further, the Rvachev function is introduced to further describe the spatial range, and the spatial range described based on the constructive solid geometry is described as an inequality form of implicit numbers. Specifically, for a single basic unit, it may be expressed as






R(r)=±f(r)


The intersection, union and complement operations are defined as:






{






R

A

B


(
r
)

=

min

(



R
A

(
r
)

,


R
B

(
r
)


)









R

A

B


(
r
)

=

max

(



R
A

(
r
)

,


R
B

(
r
)


)









R

¬
A


(
r
)

=

-


R
A

(
r
)










Therefore, for the spatial range U, R(r)>0 represents being within U, R(r)<0 represents being within ¬U, and R(r)=0 represents being within ðR3 (U∪(¬U)), so all boundary points necessarily meet R(r)=0. However, because the regularization processing is to be performed, the point meeting R(r)=0 is not necessarily a boundary point, but may also be an isolated point or an accumulation point.


Through the Rvachev function, the boundary point needs to meet a condition of






R
U(r0+Ωt)=0,0<t<l


In order to ensure that t is exactly a boundary point, it needs to check








lim


Δ

t



"\[Rule]"

0



sgn

(


R
U

(


r
0

+

Ω

(

t
+

Δ

t


)


)

)


=

-

sgn

(


R
U

(


r
0

+

Ω

(

t
-

Δ

t


)


)

)






where sgn is a sign function, that is, left and right ends of t should have different signs. Then, it is necessary that one end is inside the body and the other end is outside the body, so that a boundary point is formed. Thus, an auxiliary function is defined:











r
U

(
t
)

=


lim


Δ

t



"\[Rule]"

0





sgn
[


R
U

(


r
0

+

Ω

(

t
+

Δ

t


)


)

]

+

sgn
[


R
U

(


r
0

+

Ω

(

t
-

Δ

t


)


)

]


2






(
1
)







Then in the auxiliary function, rij(t)=1 is within the spatial range, rU (t)=0 is at the boundary, and rU(t)=−1 is outside the spatial range. That is, if rU(t)=0, the obtained solution set is an ordered collection of the intersection points of the characteristic line and the spatial range. Because the left and right ends of all the points that make rU(t)=0 have different signs, the auxiliary function image in Equation (1) should be zigzag, as shown in FIG. 4.


The auxiliary function may be uniquely determined by an ordered series of zero points and a first segment value. The zero points are set as the ordered series {t1, . . . , tn}, and t0=0, tn+1=1. Because two ends of the intersection point have different signs, if δ=r(t1) (that is, a left limit value of the boundary point on the auxiliary function is used to indicate whether the line segment (t0, t1) is within the body or not), then the auxiliary function may be written as:








r
U

(
t
)

=

{







(

-
1

)

i


δ

,


t
i

<
t
<

t

i
+
1









0
,

t
=

t
1


,

t
2

,


,

t
n










The intersection segment ∩U of the line segment on the characteristic line with the spatial range may be written as:







segment

U

=

{



r
0

+

Ω

t




t



{






(


t
0

,

t
1


)



(


t
2

,

t
3


)






,

δ
=
1









(


t
1

,

t
2


)



(


t
3

,

t
4


)






,

δ
=

-
1






}








In this equation, the intersection corresponds to an ordered set of line segments located in the spatial range, that is, the auxiliary function value meets a third preset condition δ=1. In some embodiments, it may take only δ=1, that is, a solution set obtained by calculating the intersection of the characteristic line with the corresponding spatial range according to the auxiliary function is written as a set of a plurality of line segments whose characteristic line fall within the corresponding spatial range.


The above equation may also be written in a unified form:







segment

U

=





k
=
1






(


2

n

+
δ
+
3

)

/
4





(



r
0

+

Ω


t


2

k

-


(

δ
+
3

)

/
2





,
Ω
,


t


2

k

-


(

δ
+
1

)

/
2



-

t


2

k

-


(

δ
+
3

)

/
2





)






where └□┘ represents taking an integer downward.


The auxiliary function has a significance of performing a dimensionality reduction from three-dimension to one-dimension. All surfaces of the spatial range are converted to points, and a volume is converted to line segments, and these line segments may be represented by only one quantity due to an alternating relationship. The use of the auxiliary function may greatly simplify a difficulty of the intersection, union and complement operation.


Those skilled in the art may use a variety of methods to solve δ and {t1, . . . , tn} in the auxiliary function. In some embodiments, an optional calculation method is used.


In a case that the spatial range includes only one basic unit, it may be directly equivalent to solving:






{






±

f

(


r
0

+

Ω

t


)


=
0

,

0
<
t
<
l








sgn

(

f

(

t
+

)

)

=

-


sgn

(

f

(

t
-

)

)










According to the above definition of the basic unit, this is a quadratic equation in one variable, which may be easily solved and expressed as δ and {t1, . . . , tn}.


For the spatial range obtained through the intersection and union operation of the basic units, because





segment∩(U1∩U2)=(segment∩U1)∩(segment∩U2)





segment∩(U1∪U2)=(segment∩U1)∪(segment∩U2)


using the Equation (1), it may be obtained:






r
U

1

∩U

2
(t)=min(rU1(rU1(t),rU2(t))






r
U

1

∪U

2
(t)=max(rU1(rU1(t),rU2(t))






r
¬U(t)=−rU(t)


Therefore, for the complement operation, if rU (t) may be expressed as [{ti},δ], then the following may be obtained:






r
¬U(t)=[{ti},−δ]


For the intersection and union operations, it is necessary to make a determination. That is, the above auxiliary function is firstly used to solve the intersection of the characteristic line with a plurality of basic units so as to obtain a plurality of sub-solution sets, and then corresponding intersection or union operation is performed on these sub-solution sets according to the intersection and union operation relationship between these basic units until the final solution set is obtained.


For example, referring to the calculation tree in FIG. 3, following operations are performed to obtain the solution set corresponding to the characteristic line and the entire spatial range. Sub-solution sets of basic units A, B, C, D and E with the characteristic line are respectively calculated first. An intersection operation of the sub-solution set of the basic unit A with the sub-solution set of the basic unit B is performed, and then a complement operation is performed on a result solution set obtained after the intersection operation. A union operation of the sub-solution set of the basic unit C with the sub-solution set of the basic unit D is performed, and then an intersection operation is performed on a result solution set obtained after the union operation with the sub-solution set of the basic unit E. Finally, a union operation of the two result solution sets is performed to obtain the final solution set.


When performing the intersection and union operations on two sub-solution sets, rU1 (t) is expressed as [{t1,i}, δ1], and rU2 (t) is expressed as [{t2,i}, δ2], then:











r


U
1



U
2



(
t
)

=

[


{






t
i




{

t

i
,
1


}



and




r

U
2


(

t
i

)



=
1








t
i




{

t

i
,
2


}



and




r

U
1


(

t
i

)



=
1








t
i




{

t

i
,
1


}





{

t

i
,
2


}



and




r

U
1


(

t
i
-

)



=


r

U
2


(

t
i
-

)





}

,


min

(


δ
1

,

δ
2


)


]





(
2
)







where a third line in a first term in Equation (2) is to ensure rU1∩U2 (ti)≠rU1∩U2 (ti+).


Similarly, a result of rU1∪U2 (t) may be:











r


U
1



U
2



(
t
)

=

[


{






t
i




{

t

i
,
1


}



and




r

U
2


(

t
i

)



=

-
1









t
i




{

t

i
,
2


}



and




r

U
1


(

t
i

)



=

-
1









t
i




{

t

i
,
1


}





{

t

i
,
2


}



and




r

U
1


(

t
i
-

)



=


r

U
2


(

t
i
-

)





}

,

max

(


δ
1

,

δ
2


)


]





(
3
)







Thus, when performing intersection operation and union operation, a function value of an element of one sub-solution set in another sub-solution set should be determined, and a direct determination may only be performed by using a search algorithm, which has a low efficiency. In some embodiments, a method of determining all points at once is provided, including: setting a first pointer and a second pointer to respectively point to elements in the two sub-solution sets located on leftmost side of a number axis; a solution set acquisition step, including: when determining that a left limit on the corresponding auxiliary function of the element pointed to by the first pointer or the second pointer located on a far right side of the number axis meets a fourth preset condition, incorporating the element pointed to by the first pointer or the second pointer located on a far left side of the number axis into a solution set of the intersection or union operation, and moving the first pointer or the second pointer on the far left side to the right so as to point to a next element; when determining that the elements pointed to by the first pointer and the second pointer are equal, determining respective left limits of the elements on the auxiliary function corresponding to the two sub-solution sets, and when determining that the left limit meets a fifth preset condition, incorporating the element into the solution set of the intersection or union operation, and moving the first pointer or the second pointer to the right of the number axis so as to point to a next element; and repeating the solution set acquisition step until the solution set after the intersection or union operation of the two sub-solution sets is obtained.


Specifically, the determination method takes advantage of the orderliness of {t1,i} and {t2,j}. As shown in FIG. 5, a first pointer P1 and a second pointer P2 are set. Initially, the first pointer P1 and the second pointer P2 point to first elements of two ordered series, respectively. If the series are empty, the first pointer P1 and the second pointer P2 may point to infinity. δp1 and δp2 represent the left limits of the elements pointed to by the pointers P1 and P2 on the corresponding auxiliary function, and the initial value is δ1 and δ2.


Since the first pointer P1 and the second pointer P2 initially point to the elements on the leftmost side of the number axis in the two sub-solution sets, and in each movement, only the pointer on the far left side is moved or both pointers are moved simultaneously, it may be ensured that if P1 is on the left side of P2, the element pointed to by P2 is a first number greater than the element pointed to by P1 in {ti,2}, that is, the element pointed to by P1 is located in a segment before P2, that is, rU2 (p1)=δp2. Otherwise, if P2 is before P1, then rU1 (p2)=δp1. In this way, the determination of the first two items in Equation (2) and Equation (3) may be performed directly. That is, it is determined whether the left limit on the corresponding auxiliary function of the element pointed to by the first pointer or the second pointer that is on a far right side meets the fourth preset condition or not. It may be obtained from Equation (2) and Equation (3) that the fourth preset condition is that the left limit is 1 when the intersection operation is performed, and the fourth preset condition is that the left limit is −1 when the union operation is performed. After the determination is performed, the previous pointer is moved by one space to the right, and the determination is further performed.


When the pointer P1 and the pointer P2 coincide, that is, when the elements pointed to by P1 and P2 are equal, it is only required to determine δp1 and δp2. When δp1p2, the elements pointed to by P1 and P2 are included in the solution set, that is, the fifth preset condition is that the left limits are equal. After the determination is performed, P1 and P2 are simultaneously moved by one place to the right, and the determination is further performed.


The above solution set acquisition step may end after P1 and P2 are moved to infinity, that is, after the determination of all elements is performed. With this method, a time complexity of a single intersection or union operation is reduced to O(n). In the entire intersection, union and complement algorithm, the calculation time of the complement operation may be ignored. A total number of the intersection and union operations is related to the calculation tree of the basic units. Assuming that the intersection and union operations are performed for totally b levels, a maximum number of calculations is the number of calculations O((b−1)·2b-1) in a case of a full binary tree without points being deleted.


In the entire calculation process, only the intersection with the basic unit needs to be solved by equation, and the subsequent process is only determination, so that the efficiency is high. The main calculation time is concentrated on the calculation of the intersection with the basic unit. The calculation cost is very low, which may be considered to be equivalent to the calculation time of a single E index, that is, a single calculation time of one segment in a long characteristic line method in the related art.


When the method of calculating the intersection of the characteristic line and the spatial range of the uppermost model described above is used to track the characteristic line, an origin in the characteristic line is firstly moved to a very far value r−∞ in a negative direction, and a very large length l is taken, then the characteristic line may be approximately written as segment (r−∞, Ω, l). According to the process of constructing the core model described above, the following may be obtained:





Track∩Utop=segmenttop


It may be seen that segmenttop⊂Utop. It is next considered to solve for an intersection segment∩Cell between any level Cell with a spatial range of U and a line segment segment⊂U within the spatial range.


The level Cell is the lowest-level Cell (U,m), that is, each sub-model in the level Cell includes only one material, then the following may be obtained:





segment∩Cell=(segment,m)  (4)


That is, the correspondence relationship between the characteristic line and the material is obtained.


If the level Cell is a non-lowest-level Cell (U, Universe), where







Universe
=




I


i
=
1




Cell

down
,
i




,




then the following may be obtained:







segment

Cell

=



(

segment

U

)


Universe

=





I


i
=
1



segment



Cell

down
,
i








Further, in combination with the content described above, by performing an intersection operation on the characteristic line segment and the spatial range Udown,i of a sub-model Celldown,i meeting the first preset condition in the level Cell, the following may be obtained:







segment


U

down
,
i



=





J
i



j
=
1




segment

i
,
j







where Ji represents the number of the line segments formed after the characteristic line segment is cut by the spatial range Udown,i of the sub-model.


Therefore, the following may be obtained:







segment


Cell

down
,
i



=






J
i



j
=
1




segment

i
,
j





Cell

down
,
i







After a substitution, the following may be obtained:










segment

Cell

=





I


i
=
1







J
i



j
=
1




segment

i
,
j






Cell

down
,
i







(
5
)







where Cell is a level, and I is the number of the sub-models meeting the first preset condition in the level Cell.


Due to segmenti,j⊂Udown,i, segmenti,j∩Celldown,i may be further written according to Equation (4) or Equation (5). In this way, the upper-level sub-models may be gradually decomposed downwards until they all become the lowest-level sub-models. According to Equation (5), the following may be finally obtained:





segment∩Cell=∪(segmenti,mi)


In this way, the entire tracking process is performed. In the entire tracking process, the main calculation time is concentrated on the calculation of the line segment of the characteristic line and the sub-model. The number of the calculations is equal to a number of all sub-model lists passed by the characteristic line. If the entire calculation model may be represented by a binary tree, then the number of calculations may be estimated to be twice the number of the segments. If it is considered that each lowest-level sub-model includes four basic units on average, the calculation time is equivalent to multiplying the number of the segments by about 8 times of E-index calculation time.


The embodiments further provide a method of calculating core neutron physics, including a modeling step, a tracking step, and an iterative calculation step.


The modeling step may include constructing a core model. The core model is constructed to divide a spatial range of a core into a plurality of levels, and each of the plurality of levels includes a plurality of sub-models. At least one of the sub-models in one level of the plurality of levels forms one of the sub-models in an upper level, and each of the sub-models in a lowest level includes only one material of the core. All the sub-models of the uppermost level may form the spatial range of the core after a union operation.


The tracking step may include defining a characteristic line and tracking the characteristic line according to the method of tracking the characteristic line described above.


The iterative calculation step may include performing an iterative calculation based on a result of tracking the characteristic line so as to obtain a solution of a neutron transport equation of the core.


The embodiments further provide an apparatus of calculating core neutron physics, including a modeling module, a characteristic line tracking module, and an iterative calculation module.


The modeling module is used to construct a core model. The core model is constructed to divide a spatial range of a core into a plurality of levels, and each of the plurality of levels includes a plurality of sub-models. At least one of the sub-models in one level of the plurality of levels forms one of the sub-models in an upper level, and each of the sub-models in a lowest level includes only one material of the core. All the sub-models of the uppermost level may form the spatial range of the core after a union operation.


The characteristic line tracking module is used to define a characteristic line and tracking the characteristic line according to the method of tracking the characteristic line described above.


The iterative calculation module is used to perform an iterative calculation based on a result of tracking the characteristic line so as to obtain a solution of a neutron transport equation of the core.


The method and apparatus of calculating core neutron physics of the present disclosure may be implemented by using the method of tracking the characteristic line described above, so that calculation steps may be saved, and the calculation efficiency may be improved.


The embodiments further provide a reactor model that may be used to calculate and describe a state of various physical quantities in the reactor. The method of calculating core neutron physics is mainly used to calculate and describe a neutron flux density, reactivity, reaction rate distribution and other physical quantities related to neutronics. The construction of the reactor model generally includes modeling and numerical processing. The modeling is to input the reactor model to a computer in a given way, and the numerical processing is to convert the input model into a form required for calculation. In the reactor model of the embodiment of the present disclosure, the numerical processing step subsequent to the modeling described above is performed by using the method of calculating core neutron physics described above, so that the amount of the calculation in the modeling process may be saved and the calculation efficiency may be improved.


The embodiments further provided an apparatus of simulating a reactor. The apparatus of simulating the reactor may be used to simulate an actual operating condition of the reactor, in which a simulation and a calculation of the neutron physics of the core are important. Therefore, the embodiments provide an apparatus of simulating the reactor including the apparatus of calculating the core neutron physics described above. By using the apparatus of simulating the reactor for reactor simulation, the calculation steps may be saved, and the calculation efficiency may be improved.


The embodiments further provide a computer-readable storage medium having instructions stored thereon. The instructions are used to implement the method of calculating the core neutron physics described above.


The following will further illustrate the technical solutions involved in the embodiments described above in conjunction with several specific examples.


Firstly, a calculation method of solving the intersection of the characteristic line and the basic unit, and a calculation method of the intersection, union and complement operations are given.


Suppose a linear equation is (x0xt, y0yt, z0zt), according to the equation of the above basic unit:






f(r)=a11x2+a22y2+a33z2+a12xy+a23yz+a13xz+a1x+a2y+a3z+a0


The following may be obtained:









At
2

+
Bt
+
C

=
0




{




A
=




a

1

1




Ω
x
2


+


a

2

2




Ω
y
2


+


a

3

3




Ω
z
2


+


a

1

2




Ω
x



Ω
y


+


a

2

3




Ω
y



Ω
z


+


a

1

3




Ω
x



Ω
z









B
=




(


2


a

1

1




x
0


+


a

1

2




y
0


+


a

1

3




x
0


+

a
1


)



Ω
x


+











(



a

1

2




x
0


+

2


a

2

2




y
0


+


a

2

3




x
0


+

a
2


)



Ω
y


+










(



a

1

3




x
0


+


a

2

3




y
0


+

2


a

3

3




x
0


+

a
3


)



Ω
z








C
=


f

(


x

0



,

y
0

,

z
0


)










The following determination should be made when solving the above equations:


if A≠0

    • if B2−4AC≤0, then {ti}=Ø, and δ and A have the same sign, because a single solution is also a removable point;
    • if B2−4AC>0, two solutions t1 and t2 may be obtained.
      • t1<t2≤0<l, {ti}=Ø, δ and A have the same sign;
      • t1≤0<t2<l, {ti}={t2}, δ and A have different signs;
      • t1≤0<l≤t2, {ti}=Ø, δ and A have different signs;
      • 0<t1<t2<l, {ti}={t1,t2}, δ and A have the same sign;
      • 0<t1<l≤t2, {ti}={t1}, δ and A have the same sign;
      • 0<l≤t1<t2, {ti}=Ø, δ and A have the same sign;


if A=0, then B≠0, a single solution t may be obtained

    • if t≤0, then {ti}=Ø, δ and B have the same sign;
    • if 0<t<l, then {ti}={t}, δ and B have the same sign;
    • if l≤t, then {ti}=Ø, δ and B have different signs;


where if {ti}=Ø, then δ represents whether (0,l) is within the body or not, and if {ti} is not empty, then S represents whether (0, t1) is within the body or not.


For the complement operation, {ti|i=0,1, . . . ,n} and δ are input, and {ti|i=0,1, . . . ,n} unchanged and −δ are output.


For the intersection and union algorithm, the following calculation method is given.
















input {ti,1|i = 0, 1, . . . , n1}, {ti,2|i = 0, 1, . . . , n2}, δ1, δ2



p1 = 0, p2 = 0, res = { }












δ
=






:

min



(


δ
1

,

δ
2


)











:

max



(


δ
1

,

δ
2


)


















while (p1 ≤ n1 or p2 ≤ n2)







t1={tp1,1,p1n1,p1>n1,t2={tp2,2,p1n1,p1>n1







 if t1 = t2



  if (−1)p1 δ1 = (−1)p2 δ2



   res = {res, t1}



  end if



 t1 ++, t2 ++



 else



  if t1 < t2






   
if:(-1)p2δ2=1:(-1)p2δ2=-1







    res = {res, t1}



   end



   t1 ++



  else






   
if:(-1)p1δ1=1:(-1)p1δ1=-1







    res = {res, t2}



   end if



   t2 ++



  end if



 end if



end while









The specific example also provides a tracking method.


For the sub-model Cell in each level:

















input s(r0,Ω,l) ⊂ U



if filling material



 res = (s,m)



else



 res = s ∩ Universe=∪(si,m)



end if



return res










For the union set Universe of the sub-model:

















input s(r0,Ω,l) ⊂ U



res = Ø



for all Celldown,j



 ∪sj,k = s ∩ Udown,j



 res = res ∪ ∪(sj,k : Celldown,j)



end



res = sort ( res ) = ∪(si : Celldown,i)



lcurr = 0



for all (si : Celldown,i) in res



 (si : Celldown,i) = si ∩ Celldown,i = ∪(sj,mj)



end



return res










The specific example further provides a test calculation performed on the benchmark problems Takeda and C5G7 according to the tracking method of the present disclosure.


The Takeda problem is a two-group three-dimensional simplified core model, and a geometric arrangement is shown in FIG. 6.


In FIG. 6, planes where x=0, y=0 and z=0 are reflective boundary conditions, and the rest planes are vacuum boundary conditions. There are two energy groups. A filling material in a darkest part of case 1 is empty, and a filling material in a darkest part of case 2 is a control rod. Parameters in the calculation are selected as: a grid size of 0.5 cm, a ray density of 0.05 cm×0.05 cm, a Legendre-Chebyshev quadrature group as a quadrature group, 8 polar angles and 16 azimuth angles.


The calculation results are shown in Table 1









TABLE 1







Calculation results for Takeda problem










case1
case2













error/

error/



keff
pcm
keff
pcm















Reference
0.977 80(±60 pcm)

0.962 40(±60 pcm)



Calculation
0.977 59
−21
0.962 57
17


results









Table 1 shows a correctness of the tracking results, but here is more concerned about tracking efficiency:









TABLE 2







Tracking efficiency for Takeda problem











Number of
Time of single


Number of


energy
internal
Time of tracking
Time
equivalent


groups
iteration/s
characteristic line/s
ratio
groups





2
10.466
6.445
61.58%
1.23









The time ratio refers to the time of tracking the characteristic line divided by the time of the internal iteration. In our test, if the Takeda problem is not accelerated, 370 internal iterations are needed. In this case, the time of tracking the characteristic line only takes 1.66% of the time. If the method of generating the characteristic line in real time is adopted, it only needs to pay 61.58% more calculation time to avoid all segment information storage. In order to better illustrate the tracking effect, the number of equivalent energy groups (that is, the time ratio multiplied by the number of energy groups) is proposed. Because geometric tracking has nothing to do with the number of energy groups, the number of equivalent energy groups may not change even if there are more energy groups. Therefore, if the number of energy groups for the Takeda problem is increased to eight, the number of the equivalent energy groups is still 1.23, and the time ratio may be further reduced to 15.38%.


Similarly, the above test was conducted on the C5G7 problem. In order to improve the difficulty of tracking, one-eighth processing is used here, as shown in FIG. 7. Because the C5G7 problem is symmetrical, it is divided into two on the diagonal. In the calculation, a C5G7-2D calculation example is used. A three-dimensional problem is formed by supplementing the reflective boundary condition in an axial direction. There are four boxes of assemblies, each box of assembly includes 17×17 pins, and each pin is divided into 3 rings and 8 sectors.


The calculation results are shown in Table 3, which indicates that the tracking is correct.









TABLE 3







Calculation results for C5G7 problem










keff
Keff deviation/pcm















Reference
1.18655




Calculation results
1.18519
−136










The tracking efficiency is shown in Table 4.









TABLE 4







Tracking efficiency of C5G7 problem











Number of
Time of single


Number of


energy
internal
Time of tracking
Time
equivalent


groups
iteration/s
characteristic line/s
ratio
groups





7
136.60
156.66
114.69%
8.03









Compared with the Takeda problem, the tracking efficiency decreases, mainly because the structure is much more complicated and a quadratic surface exists. However, in general, it meets the estimation that the original tracking time is equivalent to the calculation time of a single internal iteration, which may achieve a fast tracking of the characteristic line with a high tracking efficiency, and support a real-time calculation of the characteristic line at an acceptable time cost.


In the description of the specification, the description with reference to the terms “an embodiment”, “some embodiment”, “exemplary embodiment”, “example”, “specific example” or “some examples” means that the specific feature, structure, material or characteristic described in conjunction with the embodiment or example is included in at least one embodiment or example of the present disclosure. In the specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.


The terms “first” and “second” are used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as “first” and “second” may explicitly or implicitly include one or more of the features. In the description of the present disclosure, “a plurality of” means at least two, such as two, three, etc., unless otherwise specifically defined.


Although the embodiments of the present disclosure have been shown and described above, it may be understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure. Those ordinary skilled in the art may make changes, modifications, replacements and transformations on the above-described embodiments within the scope of the present disclosure.

Claims
  • 1. A method of tracking a characteristic line in a core model, wherein the core model is configured to divide a spatial range of a core into a plurality of levels, and each of the plurality of levels comprises a plurality of sub-models, wherein at least one of the plurality of sub-models in one level of the plurality of levels belongs to one of the plurality of sub-models in an upper level, each of the plurality of sub-models in a lowest level comprises only one material of the core; a union operation on all the sub-modules in each upper level and an intersection operation with a spatial range of the upper level are performed for all the sub-modules in each upper level so as to form the sub-model in the upper level, and an uppermost level is the core model; the method comprises: determining, sequentially from the uppermost level to the lowest level, whether an intersection of the sub-model meeting a first preset condition in each of the plurality of levels and the characteristic line segment meets a second preset condition or not; andobtaining an intersection, that meets the second preset condition, of the sub-model meeting the first preset condition in the lowest level and the characteristic line, so as to obtain a segment correspondence between the characteristic line and the material of the core according to the intersection obtained.
  • 2. The method of tracking the characteristic line according to claim 1, wherein, the first preset condition for the uppermost level is that the sub-model is located in the uppermost level; andthe first preset condition for a non-uppermost level is that the sub-model in the non-uppermost level corresponds to the sub-model whose intersection with the characteristic line segment meets the second preset condition in the upper level of the non-uppermost level.
  • 3. The method of tracking the characteristic line according to claim 1, wherein the second preset condition is that the intersection is not an empty set.
  • 4. The method of tracking the characteristic line according to claim 1, further comprising: sorting, in response to an end of a determination performed on each of the plurality of levels, the sub-models corresponding to the intersection meeting the second preset condition according to a predetermined rule.
  • 5. The method of tracking the characteristic line according to claim 4, wherein the predetermined rule is set according to a position of the intersection meeting the second predetermined condition on the characteristic line.
  • 6. The method of tracking the characteristic line according to claim 1, further comprising: prior to the determining whether an intersection of the sub-model meeting a first preset condition in each of the plurality of levels and the characteristic line segment meets a second preset condition or not, calculating the intersection of the characteristic line segment and the corresponding sub-model, comprising: constructing an auxiliary function used to: calculate a plurality of boundary points of the corresponding sub-model on the characteristic line segment;calculate a left limit of each of the boundary points on the auxiliary function; anddetermine, in response to the left limit meeting a third preset condition, that a line segment between the boundary point and an adjacent boundary point corresponding to the left limit is within the sub-model.
  • 7. The method of tracking the characteristic line according to claim 6, wherein the auxiliary function is:
  • 8. The method of tracking the characteristic line according to claim 6, wherein a solution set obtained by calculating the intersection of the characteristic line segment and the corresponding sub-model according to the auxiliary function comprises an ordered set of a plurality of line segments of the characteristic line falling within the corresponding sub-model.
  • 9. The method of tracking the characteristic line according to claim 8, wherein the solution set is obtained by: solving, in response to the corresponding sub-model comprising a plurality of basic units performed with a logical operation, an intersection of the characteristic line segment and the plurality of basic units respectively by using the auxiliary function, so as to obtain a plurality of sub-solution sets, wherein the basic unit is a mathematical model of a basic geometry; andperforming an intersection operation, a union operation or a complement operation on the plurality of sub-solution sets according to an intersection operation relationship, a union operation relationship or a complement operation relationship between the plurality of basic units, respectively, until the solution set is obtained.
  • 10. The method of tracking the characteristic line according to claim 9, wherein for each basic unit U, the auxiliary function rU (t) is expressed as [{ti}, δ], where ti represents a boundary point, and δ represents a left limit of the boundary point.
  • 11. The method of tracking the characteristic line according to claim 9, wherein the performing an intersection operation, a union operation or a complement operation on the plurality of sub-solution sets comprises: selecting two sub-solution sets of the plurality of sub-solution sets each time to perform the intersection operation or the union operation, until a final solution set is obtained.
  • 12. The method of tracking the characteristic line according to claim 11, wherein one of the two sub-solution sets rU1 (t) is expressed as [{t1,i}, δ1], and the other one of the two sub-solution sets rU2 (t) is expressed as [{t2,i},δ2], a result of rU1∩U2 (t) in a case of the intersection operation is
  • 13. (canceled)
  • 14. The method of tracking the characteristic line according to claim 9, wherein the performing an intersection operation, a union operation or a complement operation on the plurality of sub-solution sets further comprises: selecting one sub-solution set of the plurality of sub-solution sets each time to perform the complement operation.
  • 15. The method of tracking the characteristic line according to claim 14, wherein the one sub-solution set rU (t) is expressed as [{ti},δ], and a result of r¬U (t) in a case of the complement operation is r¬U(t)=[{ti},−δ].
  • 16. The method of tracking the characteristic line according to claim 15, wherein the performing the intersection operation or the union operation on two sub-solution sets of the sub-solution sets comprises: setting a first pointer and a second pointer to initially point to elements located at a leftmost side of a number axis in the two sub-solution sets, respectively;performing a solution set acquisition step, comprising: in response to determining that a left limit, on the corresponding auxiliary function, of the element pointed to by the first pointer or the second pointer located on a far right side of the number axis meets a fourth preset condition, incorporating the element pointed to by the first pointer or the second pointer located on a far left side of the number axis into a solution set obtained by the intersection operation or the union operation; and moving the first pointer or the second pointer that is located on the far left side of the number axis to the right of the number axis so as to point to a next element;determining, in response to determining that the element pointed to by the first pointer is equal to the element pointed to by the second pointer, left limits of the element on the auxiliary function corresponding to the two sub-solution sets, and in response to determining that the left limit meets a fifth preset condition, incorporating the element into the solution set obtained by the intersection operation or the union operation, and moving the first pointer or the second pointer to the right of the number axis so as to point to a next element; andrepeating the solution set acquisition step until the solution set after the intersection operation or the union operation performed on the two sub-solution sets is obtained.
  • 17. The method of tracking the characteristic line according to claim 1, wherein the intersection of the sub-model and the characteristic line segment is expressed as
  • 18. The method of tracking the characteristic line according to claim 17, wherein the intersection of all the sub-models meeting the first preset condition in each of the levels with the characteristic line segment is expressed as
  • 19. A method of calculating core neutron physics, comprising: a modeling step, comprising: constructing a core model, wherein the core model is constructed to divide a spatial range of a core into a plurality of levels, and each of the plurality of levels comprises a plurality of sub-models, wherein at least one of the sub-models in one level of the plurality of levels belongs to one of the sub-models in an upper level, each of the sub-models in a lowest level comprises only one material of the core; a union operation on all the sub-modules in each upper level and an intersection operation with a spatial range of the upper level are performed for all the sub-modules in each upper level so as to form the sub-model in the upper level, and an uppermost level is the core model;a tracking step, comprising: defining a characteristic line and tracking the characteristic line according to the method of tracking the characteristic line according to claim 1; andan iterative calculation step, comprising: performing an iterative calculation based on a result of tracking the characteristic line so as to obtain a solution of a neutron transport equation of the core.
  • 20. A reactor model constructed by using the method of calculating the core neutron physics according to claim 19.
  • 21. (canceled)
  • 22. (canceled)
  • 23. A computer-readable storage medium having instructions stored thereon, wherein the instructions are executable to implement the method of calculating the core neutron physics according to claim 19.
Priority Claims (1)
Number Date Country Kind
202010519286.X Jun 2020 CN national
CROSS-REFERENCE TO RELATED APPLICATION(S)

This application corresponds to PCT Application PCT/CN2021/098806, which claims priority to the Chinese Patent Application No. 202010519286.X, filed on Jun. 9, 2020, which is incorporated herein by reference in its entirety.

PCT Information
Filing Document Filing Date Country Kind
PCT/CN2021/098806 6/8/2021 WO