Method, device, storage medium, and electronic equipment for detecting pipe wall dirt
A method, a device, a storage medium, and electronic equipment for detecting pipe wall dirt are provided. In the above, the electronic equipment acquires a first receiving amount of a target pipeline for first light quanta currently; acquires a second receiving amount of the target pipeline for the first light quanta at a reference moment; and obtains an increased dirt thickness of the target pipeline in a target time period according to the first receiving amount and the second receiving amount, wherein the target time period represents a time length from a current moment to the reference moment.
1 . A method for detecting pipe wall dirt, comprising steps of:
acquiring a first receiving amount of a target pipeline for first light quanta currently;
acquiring a second receiving amount of the target pipeline for the first light quanta at a reference moment; and
obtaining an increased dirt thickness of the target pipeline in a target time period according to the first receiving amount and the second receiving amount, wherein the target time period represents a time length from a current moment to the reference moment.
2 . The method for detecting pipe wall dirt according to claim 1 , wherein an equation of the step of obtaining an increased dirt thickness of the target pipeline in a target time period according to the first receiving amount and the second receiving amount is:
d
s
=
ln
(
N
old
356
N
new
356
)
/
u
s
;
in the equation, d s represents the dirt thickness,
N
new
3
5
6
represents the first receiving amount,
N
old
365
represents the second receiving amount, and u s represents absorption coefficient of dirt to the light quanta.
3 . The method for detecting pipe wall dirt according to claim 1 , wherein the method further comprises:
determining a mixing density of a flowing medium in the target pipeline according to the dirt thickness; and
determining a current medium flux of the flowing medium according to the dirt thickness and the mixing density.
4 . The method for detecting pipe wall dirt according to claim 3 , wherein the step of determining a mixing density of a flowing medium in the target pipeline according to the dirt thickness comprises steps of:
determining a medium thickness of each component in the flowing medium according to the dirt thickness;
determining a volume phase fraction of respective component according to the medium thickness of each component; and
determining the mixing density of the flowing medium according to the volume phase fraction of the respective component.
5 . The method for detecting pipe wall dirt according to claim 4 , wherein the flowing medium is a miscible fluid exploited from oil and gas fields, components in the miscible fluid comprise gas, oil, and water, and the step of determining a medium thickness of each component in the flowing medium according to the dirt thickness comprises:
acquiring a third receiving amount of the target pipeline for second light quanta currently and a fourth receiving amount of the target pipeline for the second light quanta when the target pipeline is currently in an empty state;
acquiring a fifth receiving amount of the target pipeline for third light quanta currently and a sixth receiving amount of the target pipeline for the third light quanta when the target pipeline is currently in an empty state; and
determining respective medium thickness of the gas, the oil, and the water according to the third receiving amount, the fourth receiving amount, the fifth receiving amount, the sixth receiving amount, and the dirt thickness, with equations as follows:
d
o
=
A
1
2
a
*
B
b
-
A
1
2
b
*
B
a
A
1
2
a
*
A
1
3
b
-
A
1
2
b
*
A
1
3
a
d
w
=
A
1
3
a
*
B
b
-
A
1
3
b
*
B
b
A
1
2
b
*
A
1
3
a
-
A
1
3
b
*
A
1
2
a
d
g
=
1
-
d
o
+
d
w
A
1
3
a
=
u
g
3
1
-
u
o
31
A
1
3
b
=
u
g
8
1
-
u
o
81
A
1
2
a
=
u
g
3
1
-
u
w
8
1
A
1
2
b
=
u
g
8
1
-
u
w
8
1
B
a
=
d
*
u
g
3
1
-
ln
(
N
3
1
N
new
3
1
)
B
b
=
d
*
u
g
8
1
-
ln
(
N
8
1
N
new
8
1
)
;
in the equations, d represents initial throat diameter of a Venturi throat diameter position in the target pipeline, and d o represents the medium thickness of the oil; d g represents thickness of the gas; d w represents the medium thickness of the water;
N
new
3
1
represents the third receiving amount, N 31 represents the fourth receiving amount;
N
new
8
1
represents the fifth receiving amount; N 81 represents the sixth receiving amount; u o31 represents absorption coefficient of the oil to the second light quanta, and u g31 represents absorption coefficient of the gas to the second light quanta; u w31 represents absorption coefficient of the water to the second light quanta; u o81 represents absorption coefficient of the oil to the third light quanta, and u g81 represents absorption coefficient of the gas to the third light quanta; u w81 represents absorption coefficient of the water to the third light quanta, A 13a represents alternative variable of formula u g31 −u o31 , A 13b represents alternative variable of formula u g81 −u o81 , A 12a represents alternative variable of formula u g31 −u w81 , A 12b represents alternative variable of formula u g81 −u w81 , B a represents alternative variable of formula
d
*
u
g
3
1
-
ln
(
N
3
1
N
new
3
1
)
,
and B b represents alternative variable of formula
d
*
u
g
8
1
-
ln
(
N
8
1
N
new
8
1
)
.
6 . The method for detecting pipe wall dirt according to claim 4 , wherein the flowing medium is a miscible fluid exploited from oil and gas fields, components of the miscible fluid comprise gas, oil, and water, and an equation of the step of determining the mixing density of the flowing medium according to the volume phase fraction of the respective component is as follows:
ρ
mis
=
GVF
*
ρ
g
+
WVF
*
ρ
w
+
OVF
*
ρ
o
;
in the equation, ρ mis represents the mixing density; GVF represents volume phase fraction of the gas, WVF represents volume phase fraction of the water, and OVF represents volume phase fraction of the oil; ρ g represents density of the gas, ρ w represents density of the water, and ρ o represents density of the oil.
7 . The method for detecting pipe wall dirt according to claim 3 , wherein the medium flux is a total volume flux, and equations of the step of determining a current medium flux of the flowing medium according to the dirt thickness and the mixing density are as follows:
Q
v
=
C
1
-
β
4
ε
π
4
(
d
-
d
s
)
2
2
Δ
P
ρ
mis
;
β
=
d
-
d
s
D
-
d
s
in the equations, Q v represents current total volume flux of the flowing medium, C represents discharge coefficient, ε represents expansion coefficient, Δp represents pressure difference value between an upstream pressure tap and a Venturi throat diameter position, ρ mis represents the mixing density, d s represents the dirt thickness, d represents initial throat diameter at Venturi throat diameter in the target pipeline, and D represents throat diameter of a Venturi straight pipeline section in the target pipeline.
8 . A storage medium, storing a computer program, wherein the computer program, when executed by a processor, implements the method for detecting pipe wall dirt according to claim 1 .
9 . The storage medium according to claim 8 , wherein an equation of the step of obtaining an increased dirt thickness of the target pipeline in a target time period according to the first receiving amount and the second receiving amount is:
d
s
=
ln
(
N
old
356
N
new
356
)
/
u
s
;
in the equation, d s represents the dirt thickness,
N
new
3
5
6
represents the first receiving amount,
N
old
3
6
5
represents the second receiving amount, and u s represents absorption coefficient of dirt to the light quanta.
10 . The storage medium according to claim 8 , wherein the method further comprises:
determining a mixing density of a flowing medium in the target pipeline according to the dirt thickness; and
determining a current medium flux of the flowing medium according to the dirt thickness and the mixing density.
11 . The storage medium according to claim 10 , wherein the step of determining a mixing density of a flowing medium in the target pipeline according to the dirt thickness comprises steps of:
determining a medium thickness of each component in the flowing medium according to the dirt thickness;
determining a volume phase fraction of respective component according to the medium thickness of each component; and
determining the mixing density of the flowing medium according to the volume phase fraction of the respective component.
12 . The storage medium according to claim 11 , wherein the flowing medium is a miscible fluid exploited from oil and gas fields, components in the miscible fluid comprise gas, oil, and water, and the step of determining a medium thickness of each component in the flowing medium according to the dirt thickness comprises:
acquiring a third receiving amount of the target pipeline for second light quanta currently and a fourth receiving amount of the target pipeline for the second light quanta when the target pipeline is currently in an empty state;
acquiring a fifth receiving amount of the target pipeline for third light quanta currently and a sixth receiving amount of the target pipeline for the third light quanta when the target pipeline is currently in an empty state; and
determining respective medium thickness of the gas, the oil, and the water according to the third receiving amount, the fourth receiving amount, the fifth receiving amount, the sixth receiving amount, and the dirt thickness, with equations as follows:
d
o
=
A
1
2
a
*
B
b
-
A
1
2
b
*
B
a
A
1
2
a
*
A
1
3
b
-
A
1
2
b
*
A
1
3
a
d
w
=
A
1
3
a
*
B
b
-
A
1
3
b
*
B
b
A
1
2
b
*
A
1
3
a
-
A
1
3
b
*
A
1
2
a
d
g
=
1
-
d
o
+
d
w
A
1
3
a
=
u
g
3
1
-
u
o
31
A
1
3
b
=
u
g
8
1
-
u
o
81
A
1
2
a
=
u
g
3
1
-
u
w
8
1
A
1
2
b
=
u
g
8
1
-
u
w
8
1
B
a
=
d
*
u
g
3
1
-
ln
(
N
3
1
N
new
3
1
)
B
b
=
d
*
u
g
8
1
-
ln
(
N
8
1
N
new
8
1
)
;
in the equations, d represents initial throat diameter of a Venturi throat diameter position in the target pipeline, and d o represents the medium thickness of the oil; d g represents thickness of the gas; d w represents the medium thickness of the water;
N
new
3
1
represents the third receiving amount, N 31 represents the fourth receiving amount;
N
new
8
1
represents the fifth receiving amount; N 81 represents the sixth receiving amount; u o31 represents absorption coefficient of the oil to the second light quanta, and u g31 represents absorption coefficient of the gas to the second light quanta; u w31 represents absorption coefficient of the water to the second light quanta; u o81 represents absorption coefficient of the oil to the third light quanta, and u g81 represents absorption coefficient of the gas to the third light quanta; u w81 represents absorption coefficient of the water to the third light quanta, A 13a represents alternative variable of formula u g31 −u o31 , A 13 , represents alternative variable of formula u g81 −u o81 , A 12a represents alternative variable of formula u g31 −u w81 , A 12b represents alternative variable of formula u g81 −u w81 , B a represents alternative variable of formula
d
*
u
g
3
1
-
ln
(
N
3
1
N
new
3
1
)
,
and B b represents alternative variable of formula
d
*
u
g
8
1
-
ln
(
N
8
1
N
new
8
1
)
.
13 . The storage medium according to claim 11 , wherein the flowing medium is a miscible fluid exploited from oil and gas fields, components of the miscible fluid comprise gas, oil, and water, and an equation of the step of determining the mixing density of the flowing medium according to the volume phase fraction of the respective component is as follows:
ρ
mis
=
GVF
*
ρ
g
+
WVF
*
ρ
w
+
OVF
*
ρ
o
;
in the equation, ρ mis represents the mixing density; GVF represents volume phase fraction of the gas, WVF represents volume phase fraction of the water, and OVF represents volume phase fraction of the oil; ρ g represents density of the gas, ρ w represents density of the water, and ρ o represents density of the oil.
14 . The storage medium according to claim 10 , wherein the medium flux is a total volume flux, and equations of the step of determining a current medium flux of the flowing medium according to the dirt thickness and the mixing density are as follows:
Q
v
=
C
1
-
β
4
ε
π
4
(
d
-
d
s
)
2
2
Δ
P
ρ
mis
;
β
=
d
-
d
s
D
-
d
s
in the equations, Q v represents current total volume flux of the flowing medium, C represents discharge coefficient, ε represents expansion coefficient, Δp represents pressure difference value between an upstream pressure tap and a Venturi throat diameter position, ρ mis represents the mixing density, d s represents the dirt thickness, d represents initial throat diameter at Venturi throat diameter in the target pipeline, and D represents throat diameter of a Venturi straight pipeline section in the target pipeline.
15 . Electronic equipment, comprising a processor and a memory, wherein the memory stores a computer program, and the computer program, when executed by the processor, implements the method for detecting pipe wall dirt according to claim 1 .
16 . The Electronic equipment according to claim 15 , wherein an equation of the step of obtaining an increased dirt thickness of the target pipeline in a target time period according to the first receiving amount and the second receiving amount is:
d
s
=
ln
(
N
old
356
N
new
356
)
/
u
s
;
in the equation, d s represents the dirt thickness,
N
new
3
5
6
represents the first receiving amount,
N
old
3
6
5
represents the second receiving amount, and u s represents absorption coefficient of dirt to the light quanta.
17 . The Electronic equipment according to claim 15 , wherein the method further comprises:
determining a mixing density of a flowing medium in the target pipeline according to the dirt thickness; and
determining a current medium flux of the flowing medium according to the dirt thickness and the mixing density.
18 . The Electronic equipment according to claim 17 , wherein the step of determining a mixing density of a flowing medium in the target pipeline according to the dirt thickness comprises steps of:
determining a medium thickness of each component in the flowing medium according to the dirt thickness;
determining a volume phase fraction of respective component according to the medium thickness of each component; and
determining the mixing density of the flowing medium according to the volume phase fraction of the respective component.
19 . The Electronic equipment according to claim 18 , wherein the flowing medium is a miscible fluid exploited from oil and gas fields, components in the miscible fluid comprise gas, oil, and water, and the step of determining a medium thickness of each component in the flowing medium according to the dirt thickness comprises:
acquiring a third receiving amount of the target pipeline for second light quanta currently and a fourth receiving amount of the target pipeline for the second light quanta when the target pipeline is currently in an empty state;
acquiring a fifth receiving amount of the target pipeline for third light quanta currently and a sixth receiving amount of the target pipeline for the third light quanta when the target pipeline is currently in an empty state; and
determining respective medium thickness of the gas, the oil, and the water according to the third receiving amount, the fourth receiving amount, the fifth receiving amount, the sixth receiving amount, and the dirt thickness, with equations as follows:
d
o
=
A
1
2
a
*
B
b
-
A
1
2
b
*
B
a
A
1
2
a
*
A
1
3
b
-
A
1
2
b
*
A
1
3
a
d
w
=
A
1
3
a
*
B
b
-
A
1
3
b
*
B
b
A
1
2
b
*
A
1
3
a
-
A
1
3
b
*
A
1
2
a
d
g
=
1
-
d
o
+
d
w
A
1
3
a
=
u
g
3
1
-
u
o
31
A
1
3
b
=
u
g
8
1
-
u
o
81
A
1
2
a
=
u
g
3
1
-
u
w
8
1
A
1
2
b
=
u
g
8
1
-
u
w
8
1
B
a
=
d
*
u
g
3
1
-
ln
(
N
3
1
N
new
3
1
)
B
b
=
d
*
u
g
8
1
-
ln
(
N
8
1
N
new
8
1
)
;
in the equations, d represents initial throat diameter of a Venturi throat diameter position in the target pipeline, and d o represents the medium thickness of the oil; d g represents thickness of the gas; d w represents the medium thickness of the water;
N
new
3
1
represents the third receiving amount, N 31 represents the fourth receiving amount;
N
new
8
1
represents the fifth receiving amount; N 81 represents the sixth receiving amount; u o31 represents absorption coefficient of the oil to the second light quanta, and u g31 represents absorption coefficient of the gas to the second light quanta; u w31 represents absorption coefficient of the water to the second light quanta; u o81 represents absorption coefficient of the oil to the third light quanta, and u g81 represents absorption coefficient of the gas to the third light quanta; u w81 represents absorption coefficient of the water to the third light quanta, A 13a represents alternative variable of formula u g3 −u o31 , A 13b represents alternative variable of formula u g81 −u o81 , A 12a represents alternative variable of formula u g31 −u w81 , A 12b represents alternative variable of formula u g81 −u w81 , B a represents alternative variable of formula
d
*
u
g
3
1
-
ln
(
N
3
1
N
new
3
1
)
,
and B b represents alternative variable of formula
d
*
u
g
8
1
-
ln
(
N
8
1
N
new
8
1
)
.
20 . A device for detecting pipe wall dirt, comprising:
a probing module, configured to acquire a first receiving amount of a target pipeline for first light quanta currently, wherein
the probing module is further configured to acquire a second receiving amount of the target pipeline for the first light quanta at a reference moment; and
a processing module, configured to obtain an increased dirt thickness of the target pipeline in a target time period according to the first receiving amount and the second receiving amount, wherein the target time period represents a time length from a current moment to the reference moment.