Next Article in Journal
A Method for Visualizing Posterior Probit Model Uncertainty in the Early Prediction of Fraud for Sustainability Development
Next Article in Special Issue
Optimal Location of Exit Doors for Efficient Evacuation of Crowds at Gathering Places
Previous Article in Journal
The Axioms in My Understanding from Many Years of Experience
Previous Article in Special Issue
Optimal Control Analysis of Cholera Dynamics in the Presence of Asymptotic Transmission
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Source Identification of a Chemical Incident in an Urban Area

by
Francisco J. Fernández
1,*,† and
Miguel E. Vázquez-Méndez
2,†
1
Instituto de Matemáticas, Universidade de Santiago de Compostela, 15782 Santiago de Compostela, Spain
2
Departamento Matemática Aplicada, Universidade de Santiago de Compostela, EPSE, 27002 Lugo, Spain
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Axioms 2021, 10(3), 177; https://doi.org/10.3390/axioms10030177
Submission received: 29 June 2021 / Revised: 27 July 2021 / Accepted: 30 July 2021 / Published: 3 August 2021
(This article belongs to the Special Issue Mathematical Control and Applications)

Abstract

:
This work deals aims to present a methodology for source identification of chemical incidents in urban areas. We propose an approximation of the problem within the framework of the optimal control theory and we provide an algorithm for its numerical resolution. Finally, we analyze the validity of the algorithm in several academic situations.

1. Introduction

The existence of weapons of mass destruction represents an increase in the potential threat to peace in different areas of the world. Some of these weapons, with capacity for killing and bringing significant harm to numerous humans, may not only be in the hands of great powers, but also of regional powers and even terrorist organizations.
Regarding the use of nuclear, biological, chemical (NBC) weapons, this possibility must be always considered in asymmetric armed conflicts, where their use is more likely than in conflicts between great powers. An adversary with NBC capacity may introduce agents, materials and weapons at any time in a more or less indirect way. The launch and dispersal of NBC agents or materials can be carried out with different means such as missiles, aircrafts of all kinds, field artillery, difficult-to-detect aerosols, etc. Once an NBC incident occurs, it is vitally important to be able to predict the danger area to evacuate the civilian population and alert the mobilized units in that area [1]. The methods used to estimate the hazard area can be classified into:
  • Simplified methods: These are preliminary estimates based on the characteristics of the incident and meteorological data. They are usually carried out by hand by a trained person.
  • Improved methods: These are automatic or manual estimates that are usually made taking into account the type of incident, the place where it occurred, and the weather conditions. They are more accurate than previous ones and update as weather conditions change.
  • Methods based on mathematical simulation: These are fully automatic methods that estimate the hazard area by numerical simulation, from the type of incident, meteorological data, and space-time domain information.
Currently, the most widely used mathematical models to simulate the evolution of a chemical agent are based on the Gaussian models. They are closed-form analytical solutions of the classic advection-diffusion equation
c t + · ( c u ) = · ( K c ) + S , Ω × ] 0 , T [ ,
derived from some suitable hypotheses [2,3]. Specifically, it is assumed that:
Hypothesis 1.
The concentration of the chemical agent c is not dependent on time (the solution is steady state) and, specifically, c / t = 0 .
Hypothesis 2.
The incident occurs at a fixed point b = ( 0 , 0 , H ) , where the chemical agent is emitted at a constant rate Q > 0 , in such a way that the source term is given by S ( x ) = Q δ b ( x ) , where δ b ( x ) is the Dirac delta at point b .
Hypothesis 3.
The wind velocity field u is constant and aligned with the positive x 1 -axis, that is u = ( u , 0 , 0 ) for some constant u 0 .
Hypothesis 4.
The diffusion coefficients are the same in all directions and only depend on the downwind distance x 1 , that is, the diffusion matrix K is given by K = K ( x 1 ) I 3 , where K ( x 1 ) is a real function and I 3 is the identity matrix.
Hypothesis 5.
The effect of diffusion on the x 1 -axis is neglected (dominant convection), that is, K ( x 1 ) 2 c / x 1 2 = 0 .
Hypothesis 6.
Topographic variations and obstacles (trees, buildings, etc.) are neglected, in such a way that the space domain is Ω = [ 0 , ) × ( , ) × [ 0 , ) .
Hypothesis 7.
There is no chemical agent for x 1 < 0 , and the chemical agent does not penetrate the soil. Thus, the following boundary conditions can be considered
c ( 0 , x 2 , x 3 ) = c ( + , x 2 , x 3 ) = 0 , x 2 R , x 3 0 , c ( x 1 , , x 3 ) = c ( x 1 , + , x 3 ) = 0 , x 1 , x 3 0 , K ( x 1 ) c / x 3 ( x 1 , x 2 , 0 ) = 0 , c ( x 1 , x 2 , + ) = 0 , x 1 0 , x 2 R .
Under these hypotheses, the general Equation (1) is rewritten as
u c x 1 = K 2 c x 2 2 + 2 c x 3 2 + Q δ b ( x ) , Ω
and completed with condition (2). The explicit solution of systems (2) and (3) is obtained by using the Laplace transform [3], and it is known as the Gaussian-plume model:
c ( r , x 2 , x 3 ) = Q exp ( x 2 ) 2 4 r exp ( x 3 H ) 2 4 r + exp ( x 3 + H ) 2 4 r 4 π u r ,
where
r = 1 u 0 x 1 K ( ξ ) d ξ .
If the chemical incident is instantaneous and only occurs at the initial time t = 0 , the Gaussian-plume model is not suitable. In this situation, hypotheses (H 3 )–(H 7 ) hold, but (H 1 ) and (H 2 ) must be replaced respectively by:
Hypothesis 8.
There is no chemical agent before the incident, that is,
c ( x 1 , x 2 , x 3 , 0 ) = 0 , x 1 , x 3 0 , x 2 R .
Hypothesis 9.
The incident occurs at the initial time t = 0 , and at a fixed point b = ( 0 , 0 , H ) , in such a way that the source term is given by S ( x ) = Q T δ b ( x ) δ 0 ( t ) , where Q T is the total amount of chemical agent released.
Under these hypotheses, the general Equation (1) is rewritten as
c t + u c x 1 = K 2 c x 2 2 + 2 c x 3 2 + Q T δ b ( x ) δ 0 ( t ) , Ω × ] 0 , T [ ,
and completed with the initial condition (5), and boundary conditions (2) formulated as t > 0 . The system is solved again by using the Laplace transform, and the explicit solution
c ( r , x 2 , x 3 , t ) = Q T exp ( x 1 u t ) 2 + ( x 2 ) 2 4 r exp ( x 3 H ) 2 4 r + exp ( x 3 + H ) 2 4 r 8 ( π r ) 3 / 2
is referred as the Gaussian-puff model.
Previous considerations (hypotheses (H 3 )–(H 7 )) clearly reveal the limitations of Gaussian models (4) and (6) to simulate the evolution of a chemical agent in an urban region, and consequently, to determine the hazard area if the chemical incident occurs in an urban domain. The main objective of this paper is just to develop a novel method to deal with chemical incidents in urban areas. To avoid the limitations of the Gaussian models, we will deal with the general equation, Equation (1), to characterize the source of the chemical agent, from measurements made at atmospheric monitoring stations located at different points of the city. The scientific literature on this subject is very rich, and there are many papers dealing not only with the mathematical study of inverse source problems [4,5,6], but also with interesting environmental applications in surface water [7,8,9,10], in groundwater [11,12] and in the atmosphere [2,8]. In this paper, the problem will be studied within the framework of optimal control problem of partial differential equations (PDEs). Taking advantage of previous works of the authors on the control of the urban heat island [13,14], and thinking about a 3D urban domain, the main novelty of the model proposed in this paper is that the classic advection-diffusion equation, Equation (1), will be completed with a reaction term depending on the air temperature, and combined with a 3D microclimatic model to simulate the wind velocity between buildings and the heat transfer between air, soil and buildings. Additionally, taking into account that the admissible set may be nonconnected, the inverse problems will be formulated and solved within the framework of mixed integer nonlinear programming (MINLP).
This paper is organized as follows. The mathematical model proposed to simulate the chemical agent evolution is presented in Section 2.1, and completed in Appendix A, where the 3D microclimatic model is detailed. From this model, in Section 2.2 MINLP is used to formulate the inverse problems within the framework of optimal control of PDEs. A completed numerical method to solve these problems is detailed in Section 2.3, and numerical results are presented and discussed in Section 3. Finally, some conclusions are summarized in Section 4.

2. Materials and Methods

2.1. Numerical Simulation: The State Model

In this section, we present the 3D mathematical model that we will use in the numerical resolution of the problem. We will consider a three-dimensional bounded domain Ω A 3 D R 3 corresponding to an urban area, where Ω A 3 D is the boundary of said domain, this is walls and ceilings of buildings, floor and, additionally, fictitious borders that delimit our domain (see Figure 1). We will denote by Γ A I N the boundary corresponding to an incoming air flow. We will assume that the air temperature can affect the concentration of the chemical agent and that, eventually, there may be sedimentation effects. Therefore, the evolution of the concentration of the chemical agent c A (gr/m 3 ) will be given by the solution of the following equation:
c A t + u A · c A + w C c A x 3 · ( K C c A ) = F C + G ( θ A , c A ) , Ω A 3 D × ] 0 , T [ , c A = c A I N , Γ A I N × ] 0 , T [ , K C c A n A = 0 , ( Ω A 3 D Γ A I N ) × ] 0 , T [ , c A ( 0 ) = c A 0 , Ω A 3 D .
where w C (m/s) is the sedimentation velocity (constant), u A (m/s) is the air velocity, θ A (K) is the air temperature, F C (gr/m 3 s) is the source term, G (gr/m 3 s) represents the influence of air temperature on the chemical agent (in order to simplify the model we will assume that G ( θ A , c A ) = G ( θ A ) c A , with G ( · ) a negative function), K A (m 2 /s) is the diffusion constant, c A I N (gr/m 3 ) is the concentration of the chemical agent on the inlet boundary Γ A I N , and c A 0 (gr/m 3 ) is the initial concentration of the chemical agent. We must mention that · ( u A c ) = · u A c A + u A · c A = u · c A since we are assuming that · u A = 0 (when we are considering air layers close to the ground, it is usually considered that the air behaves like an incompressible fluid). Regarding the source term, it is frequently considered [15] to be of the form:
F C ( x , t ) = Q C ( t ) δ b C ( x ) ,
where Q C ( t ) (gr/s) is the release rate and b C is the point in which the source term is located. In the case of an instantaneous release, we will consider the following term:
F C ( x , t ) = Q C δ 0 ( t ) δ b C ( x ) ,
where Q C (gr) is the total amount of chemical agent released at time t = 0 . In the case we have an instantaneous release, we will rewrite (9) in terms of an initial condition:
c A ( 0 ) = Q C δ b C ( x ) .
The temperature θ A (K) and air velocity u A (m/s) will be obtained by solving a microclimatic model in which we will take into account the temperature of the soil θ S (K) and buildings θ B [K] (see Appendix A).

2.2. Optimal Control: The Inverse Problem

In this section, we will formulate the inverse problem consisting of the characterization of the source term associated with the chemical incident from a set of measurements taken in the urban area. For this, we will formulate the inverse problem by means of an optimal control problem [16]. Let us start by establishing the following notations:
  • We will assume that the possible release point locations ( b C ) are in a bounded region U a d given by the union of M convex closed and bounded subsets (admissible release zones):
    U a d = k = 1 M Z a d k ,
    where int ( Z a d i ) int ( Z a d j ) = , i j , and
    Z a d k = [ l 1 k , u 1 k ] × [ l 2 k , u 2 k ] × [ l 3 k , u 3 k ] , k = 1 , , M ,
    where l i k and u i k are, respectively, the lower and upper bounds for the x i coordinate of Z a d k , i = 1 , 2 , 3 . Let us empathize that the set U a d can be nonconnected.
  • Q C is the release rate or the total amount of chemical agent released. We will asume that Q C V a d , where V a d = { Q X : 0 Q ( t ) Q m a x , t [ 0 , T ] } if the source term is given by (8) or V a d = { Q X : 0 Q C Q m a x } if the source term is given by (9), where X = L 2 ( 0 , T ) in the first case and X = R in the second one.
  • { c ˜ i n : i = 1 , , N P , n = 1 , , N T } is the set of measurements taken in the urban area at points ( x i , t n ) ( Ω A 3 D ¯ Γ A I N ) × [ 0 , T ] , i = 1 , , N P , n = 1 , , N T .
  • We consider the following objective function:
    J ( b C , Q C ) = i = 1 N P n = 1 N T c A ( x i , t n ) c ˜ i n 2 .
    We must observe that to evaluate the previous function at each element ( b C , Q C ) it is necessary to solve the state equation, Equation (7).
We will study the following optimal control problems [16].
  • Problem 1. Estimation of the release point: We will estimate the release point assuming that the emission rate Q ˜ C of the chemical agent is known:
    min b C U a d J ( b C , Q ˜ C ) .
  • Problem 2. Estimation of the release rate: We will estimate the release rate (or the total amount) Q C assuming that the release point b ˜ C is known:
    min Q C V a d J ( b ˜ C , Q C ) .
  • Problem 3. Estimation of the release point and rate:
    min ( b C , Q C ) U a d × V a d J ( b C , Q C ) .
Let us observe that problems 1 and 3, Equations (10) and (12), respectively, can be formulated as Nonlinear Mixed Integer Programming Problems (MINLPs); if we introduce an integer variable y C { 0 , 1 } M such that y C k = 1 , if the release point is in the zone Z a d k , and y C k = 0 in other cases. Taking into account the previous variable, we can reformulate problem 3, Equation (12), in the following classical framework of MINLPs (problem 1, Equation (10), is analogous):
min ( b C , Q C , y C ) R 3 × V a d × { 0 , 1 } M J ( b C , Q C ) s . t . h ( b C , y C ) 0 A y C = c ,
where:
  • A M m 2 × M with m 2 = 1 is such that A y C = k = 1 M y C k , therefore:
    A = 1 1 1 ,
    and c = 1 R m 2 . Observe that the constraint A y C = c implies that there is only one 1 in the control vector y C with the rest of its components being equal to 0. We will denote by
    Y a d = { y C { 0 , 1 } M : A y C = c }
    the admissible control set for the discrete variable y C .
  • Given b C = ( p C 1 , p C 2 , p C 3 ) R 3 and y C Y a d ,
    h ( b C , y C ) = h 1 ( b C , y C ) h 2 ( b C , y C ) h 3 ( b C , y C ) R 6 ,
    being
    h j ( b C , y C ) = k = 1 M y C k ( l j k p C j ) k = 1 M y C k ( p C j u j k ) R 2 , j = 1 , 2 , 3 .
    Observe that if y C Y a d and b C R 3 satisfies h ( b C , y C ) 0 , then b C U a d .
If we fix the variable y C * Y a d we obtain a classical NLP problem:
min ( b C , Q C ) R 3 × V a d J ( b C , Q C ) s . t . h ( b C , y C * ) 0 .
We denote by ( b C * , Q C * ) a solution of the optimal control problem (14) associated with the discrete variable y C * . Thus, if we consider the following set:
F ( Y a d ) = { ( b C * , Q C * , y C * ) U a d × V a d × Y a d : ( b C * , Q C * ) solution of ( 14 ) associated with y C * } ,
we can solve problem (13) by taking ( b C , Q C , y C ) F ( Y a d ) such that:
J ( b C , Q C ) = min J ( b C * , Q C * ) : ( b C * , Q C * , y C * ) F ( Y a d ) .
For low values of M, the size of the set F ( Y a d ) is small, and the MINLP problem, Equation (15), can be easily solved by an exhaustive search. For large-size problems, more appropriate methods, such as Branch and Bound, Generalized Benders Decomposition or external approximation (see, for instance, [17,18,19]) must be used. In any case, a quick method for solving the NLP problem, Equation (14), is the key for solving the MINLP problem, Equation (15). Consequently, the next section is devoted to present a numerical method for solving the NLP problem, Equation (14).

2.3. Numerical Resolution

To solve the NLP problem, Equation (14), we will use an algorithm of interior points, more specifically, IPOPT [20]. The use of this class of interior point algorithm requires, at least, the evaluation of the cost functional and the constraints, the evaluation of the gradient of the cost functional and the Jacobian matrix associated with the constraints. Since the constraints are linear, the problem lies in calculating the cost function and its gradient. In this section, we will detail how to carry out these computations.
The first step is the numerical resolution of the state equation, Equation (7). In order to achieve this, we will propose a space-time discretization based on the method of the characteristics and the finite element method [21,22]. Spatial and time discretizations have been performed in the scientific software FreeFem ++ [23]. For simplicity in the notations, and without loss of generality, we will assume that that the sedimentation rate is incorporated in the term u A · c A and we will use the notation u instead of u A .
Let us consider N + 1 points { t n } n = 0 N in the interval [ 0 , T ] such that:
  • t 0 = 0 ,
  • t N = T ,
  • t n + 1 t n = Δ t , n = 0 , , N 1 .
We define α = 1 Δ t and we consider the material derivative for a scalar field c:
D c D t ( x , t ) = t c ( X ( x , t ) , t ) = c t ( x , t ) + u ( x , t ) · c ( x , t ) ,
where X t ( x , t ) = u ( x , t ) . We can consider the following approximation for the material derivative in a time t n + 1 :
D c D t ( t n + 1 ) α ( c n + 1 c n X h n ) ,
with X h n ( x ) = X ( x , t n + 1 , t n ) being the solution of the following initial value problem:
d X d τ = u ( X ( x , t , τ ) , τ ) . X ( x , t , t ) = x .
Thus, c n X h n c n ( x u n ( x ) Δ t ) . This approximation, as we will see later, is very important for obtaining the gradient of the objective function.
So, given c A 0 , we compute { c A n + 1 } n = 0 N 1 solving the following equation:
α c A n + 1 · ( K C c A n + 1 ) = F C n + 1 + G ( θ A n + 1 ) c A n + 1 + α ( c A n X h n ) , Ω A 3 D , c A n + 1 = 0 , Γ A I N , K C c A n + 1 n A = 0 , Ω A 3 D Γ A I N .
For spatial discretization, we will assume that the domain Ω A 3 D is polyhedral and we consider { τ h A } h > 0 as a family of regular meshes of the domain Ω A 3 D . We define the following finite element space:
X h A = { z C ( Ω A 3 D ¯ ) : z | T P 1 ( T ) , T τ h A , z | Γ A I N = 0 } .
Thus, the fully discretized problem consists of { c A n + 1 } n = 0 N 1 X h A solving the following variational formulation:
α Ω A 3 D c A n + 1 z d x + Ω A 3 D K C c A n + 1 · z d x Ω A 3 D G ( θ A n + 1 ) c A n + 1 z d x = Ω A 3 D F C n + 1 z d x + α Ω A 3 D ( c A n X h n ) z d x , z W h A .
Remark 1.
Taking into account the definition of the Dirac Delta as a distribution, the first addition in the second term of Equation (17) can be computed using the following formula:
Ω A 3 D F C n + 1 z d x = Ω Q C ( t n + 1 ) δ b C ( x ) z d x = Q C ( t n + 1 ) z ( b C ) .
However, if we want to model a case in which the emission is not strictly punctual, the following approximation of the Dirac Delta can be considered:
ρ ( x ) = C exp 1 x 2 1 x < 1 0 x 1
where C > is such that:
R n ρ ( x ) d x = 1 .
From the previous function, we can define
φ q , ϵ ( x ) = 1 ϵ n ρ x q ϵ .
which converges to δ q ( x ) = δ ( x q ) when ϵ 0 . Taking into account the previous sequence,
F C ( x , t ) Q C ( t ) φ b C , ϵ ( x ) ,
thus
Ω A 3 D F C n + 1 z d x Q C n + 1 Ω A 3 D φ b C , ϵ ( x ) z d x .
If F C is given by (8), let us consider the following discretization for the control variable Q C ( t ) :
Q C ( t ) = Q C 1 χ [ t 0 , t 1 ] ( t ) + n = 2 N Q C n χ ( t n 1 , t n ] ( t ) ,
where Q C = ( Q C 1 , Q C 2 , , Q C n ) R n . Thus,
s C = ( Q C 1 , Q C 2 , , Q C n Q C , p C 1 , p C 2 , p C 3 b C , y C 1 , y C 2 , , y C M y C ) R n × R 3 × { 0 , 1 } M
denotes the discrete global control.
On the contrary, if F C is given by (9), we obtain
s C = ( Q C Q C , p C 1 , p C 2 , p C 3 b C , y C 1 , y C 2 , , y C M y C ) R n × R 3 × { 0 , 1 } M
as the global control variable.
In order to simplify the notations, we will assume that the measurements are made at the times associated with the time discretization. Thus,
J ( b C , Q C ) = i = 1 N P n = 1 N c A n ( x i ) c ˜ i n 2 ,
is the discretized objective function, where { c A n } n = 1 N are the solutions of the fully discretized state equation, Equation (17).
To calculate the gradient of the cost functional, we can use the linearized equations or the adjoint state equations. In the computations that we present below, we will assume that F C is given by (8) and the modifications for treating case (9) are straightforward. We will denote by δ Q J ( Q C , b C ) ( δ Q ) the directional derivative of J with respect to Q C in the direction δ Q and by δ b J ( Q C , b C ) ( δ b ) the directional derivative of J with respect to b in the direction δ b . Next, we present the expressions for the previous directional derivatives considering the linearized equations and the adjoint state equations, considering the two approaches for the computation of Dirac delta.
  • Directional derivative of J with respect to Q using the linearized equations:
    δ Q J ( Q C , b C ) ( δ Q ) = 2 i = 1 N p n = 1 N ( c A n ( x i ) c ˜ i n ) δ Q c A n ( x i ) ,
    where, given δ Q c A 0 = 0 , δ Q c A n W h A , n = 0 , , N 1 , is the solution to:
    α Ω A 3 D δ Q c A n + 1 z d x + Ω A 3 D K C δ Q c A n + 1 · z d x Ω A 3 D G ( θ A n + 1 ) δ Q c A n + 1 z d x = δ Q n + 1 Ω A 3 D φ b C , ϵ z d x + α Ω A 3 D ( δ Q c A n X h n ) z d x , z W h A ,
    in case (19). In case (18) δ Q c A n W h A is the solution to:
    α Ω A 3 D δ Q c A n + 1 z d x + Ω A 3 D K C δ Q c A n + 1 · z d x Ω A 3 D G ( θ A n + 1 ) δ Q c A n + 1 z d x = δ Q n + 1 z ( b C ) + α Ω A 3 D ( δ Q c A n X h n ) z d x , z W h A .
  • Directional derivative of J with respect to b using the linearized equations:
    δ b J ( Q C , b C ) ( δ b ) = 2 i = 1 N p n = 1 N ( c A n ( x i ) c ˜ i n ) δ b c A n ( x i ) ,
    where, given δ b c A 0 = 0 , δ b c A n + 1 W h A , n = 0 , , N 1 , is the solution to
    α Ω A 3 D δ b c A n + 1 z d x + Ω A 3 D K C δ b c A n + 1 · z d x Ω A 3 D G ( θ A n + 1 ) δ b c A n + 1 z d x = Q C n + 1 Ω A 3 D δ b φ b , ϵ ( δ b ) z d x + α Ω A 3 D ( δ b c A n X h n ) z d x , z W h A ,
    in case (19). In case (18) δ b c A n + 1 W h A is the solution to:
    α Ω A 3 D δ b c A n + 1 z d x + Ω A 3 D K C δ b c A n + 1 · z d x Ω A 3 D G ( θ A n + 1 ) δ b c A n + 1 z d x = Q C n + 1 z ( b C ) · δ b + α Ω A 3 D ( δ b c A n X h n ) z d x , z W h A .
Remark 2.
It should be noted that in Equation (25) the term Q C n + 1 z ( b C ) · δ b appears. This term is the result of the approximation of the derivative of the Dirac delta [24,25]. The basic idea is to consider a polynomial approximation δ h ( · , b ) of the Dirac delta δ ( x b ) . Indeed, let us assume that b T τ h A and let ϕ ^ ( x ^ ) P 1 ( T ^ ) such that
T ^ p ^ ( x ^ ) ϕ ^ ( x ^ ) = p ^ ( F T ( b ) ) , p ^ P 1 ( T ^ ) ,
where T ^ is the reference element and F T : T T ^ , with F T ( x ) [ P 1 ( T ) ] 3 . To obtain the above polynomial, let us consider a basis B ^ = { p ^ 1 , p ^ 2 , , p ^ L } of the vector space P 1 ( T ^ ) . We know that (26) is equivalent to:
T ^ p ^ k ( x ^ ) ϕ ^ ( x ^ ) = p ^ k ( F T ( b ) ) , k = 1 , , L .
We denote by ϕ ^ B = ( α ^ 1 , , α ^ L ) t the coordinates of φ ^ on the basis of B ^ ( ϕ ^ = l = 1 L α ^ l p ^ l ). We know that ϕ ^ B is the solution to the following linear system:
G B ^ ϕ ^ B ^ = p ^ B ^ ( F T ( b ) ) ,
where p ^ B ^ = ( p ^ 1 , , p ^ L ) t and G B ^ S y m ( M L × L ( R ) ) is the Gram matrix associated with B ^ :
[ G B ^ ] i , j = T ^ p ^ i ( x ^ ) p ^ j ( x ^ ) d x ^ , i , j = 1 , , L .
Thus,
ϕ ^ ( x ^ ) = < ϕ ^ B , p ^ B ^ ( x ^ ) > = < G B ^ 1 p ^ B ^ ( F T ( b ) ) , p ^ B ^ ( x ^ ) > = < p ^ B ^ ( F T ( b ) ) , G B ^ 1 p ^ B ^ ( x ^ ) > .
Now, we define
δ h ( x , b ) = | J x F T ( x ) | ϕ ^ ( F T ( x ) ) i f x T , 0 i f x T ,
where J x F T ( x ) is the Jacobian matrix of F T . If we use expression (27):
δ h ( x , b ) = | J x F T ( x ) | < p ^ B ^ ( F T ( b ) ) , G B ^ 1 p ^ B ^ ( F T ( x ) ) > i f x T , 0 i f x T
Taking into account the above definition, given an element z h W h A :
Ω A 3 D δ h ( x , b ) z h ( x ) d x = T | J x F T ( x ) | < p ^ B ^ ( F T ( b ) ) , G B ^ 1 p ^ B ^ ( F T ( x ) ) > z h ( x ) d x = < p ^ B ^ ( F T ( b ) ) , G B ^ 1 T | J x F T ( x ) | p ^ B ^ ( F T ( x ) ) z h ( x ) d x > = < p ^ B ^ ( F T ( b ) ) , G B ^ 1 T ^ p ^ B ^ ( x ^ ) z ^ h ( x ^ ) d x ^ > ,
where z ^ h ( x ^ ) = z h ( F T 1 ( x ^ ) ) . Now, z ^ h = z ^ h B t p ^ B ^ ; therefore:
< p ^ B ^ ( F T ( b ) ) , G B ^ 1 T ^ p ^ B ^ ( x ^ ) z ^ h ( x ^ ) d x ^ > = < p ^ B ^ ( F T ( b ) ) , G B ^ 1 T ^ p ^ B ^ ( x ^ ) z ^ h B t p ^ B ^ ( x ^ ) d x ^ > = < p ^ B ^ ( F T ( b ) ) , G B ^ 1 G B ^ z ^ h B > = z ^ h B t p ^ B ^ ( F T ( b ) ) = z ^ h ( F T ( b ) ) = z h ( b ) .
Thus:
Ω A 3 D δ h ( x , b ) z h ( x ) d x = z h ( b ) .
Finally:
Ω A 3 D b δ h ( x , b ) z h ( x ) d x = b < p ^ B ^ ( F T ( b ) ) , G B ^ 1 G B ^ z ^ h B > = z ^ h , B t J x ^ p ^ B ^ ( F T ( b ) ) J x F T ( b ) = z h ( b ) .
In view of the expressions (20) and (23), we observe that to calculate the gradient of the objective function using the linearized equations, we have to solve N times (21) or (22) and 3 times (24) or (25). Indeed,
J Q 1 ( Q C , b C ) = δ Q J ( Q C , b C ) ( 1 , 0 , , 0 ) , J Q 2 ( Q C , b C ) = δ Q J ( Q C , b C ) ( 0 , 1 , , 0 ) , J Q N ( Q C , b C ) = δ Q J ( Q C , b C ) ( 0 , 0 , , 1 ) ,
and
J b 1 ( Q C , b C ) = δ b J ( Q C , b C ) ( 1 , 0 , 0 ) , J b 2 ( Q C , b C ) = δ b J ( Q C , b C ) ( 0 , 1 , 0 ) , J b 3 ( Q C , b C ) = δ b J ( Q C , b C ) ( 0 , 0 , 1 ) .
Therefore, to calculate, for example, J Q 1 ( Q C , b C ) , we have to solve (21) or (22) taking δ Q = ( 1 , 0 , , 0 ) , for computing J Q 2 ( Q C , b C ) and we have to solve (21) or (22) taking δ Q = ( 0 , 1 , , 0 ) , and so on.
Next, we will see that if we use the adjoint state equations it will only be necessary to solve one equation to calculate the gradient of the cost functional.
  • Directional derivative of J with respect to Q and b using the adjoint state equation. On the one hand,
    δ Q , b J ( Q C , b C ) ( δ Q , δ b C ) = 2 i = 1 N p n = 1 N ( c A n ( x i ) c ˜ i n ) δ Q , b c A n ( x i ) ,
    where, given δ c A 0 = δ Q , b c A 0 = 0 , δ c A n + 1 = δ Q , b c A n + 1 W h A , n = 0 , , N 1 is the solution to:
    α Ω A 3 D δ c A n + 1 z d x + Ω A 3 D K C δ c A n + 1 · z d x Ω A 3 D G ( θ A n + 1 ) δ c A n + 1 z d x = δ Q n + 1 Ω A 3 D φ b C , ϵ z d x + Q C n + 1 Ω A 3 D δ b C φ b , ϵ ( δ b ) z d x + α Ω A 3 D ( δ c A n X h n ) z d x , z W h A ,
    in case (19). In case (18), δ c A n + 1 = δ Q , b c A n + 1 W h A is such that:
    α Ω A 3 D δ c A n + 1 z d x + Ω A 3 D K C δ c A n + 1 · z d x Ω A 3 D G ( θ A n + 1 ) δ c A n + 1 z d x = δ Q n + 1 z ( b C ) + Q C n + 1 z ( b C ) · δ b + α Ω A 3 D ( δ c A n X h n ) z d x , z W h A .
    Now, we will see how we can obtain the equations for the adjoint state. Let us consider { r A n } n = 0 N W h A such that r A N = 0 and let us take, for each n = 1 , , N 1 , r A n as a test function in (29) or (30):
    n = 0 N 1 α Ω A 3 D δ c A n + 1 r A n d x + Ω A 3 D K C c A n + 1 · r A n d x Ω A 3 D G ( θ A n + 1 ) δ c A n + 1 r A n d x = n = 0 N 1 { α Ω A 3 D ( δ c A n X h n ) r A n d x + δ Q n + 1 Ω A 3 D φ b C , ϵ r A n d x + Q C n + 1 Ω A 3 D δ b C φ b , ϵ ( δ b ) r A n d x } ,
    in case (19) and for (18):
    n = 0 N 1 α Ω A 3 D δ c A n + 1 r A n d x + Ω A 3 D K C c A n + 1 · r A n d x Ω A 3 D G ( θ A n + 1 ) δ c A n + 1 r A n d x = n = 0 N 1 α Ω A 3 D ( δ c A n X h n ) r A n d x + δ Q n + 1 r A n ( b C ) + Q C n + 1 r A n ( b C ) · δ b .
    Taking into account that δ c A 0 = r A N = 0 ,
    n = 0 N 1 α Ω A 3 D δ c A n + 1 r A n d x + Ω A 3 D K C c A n + 1 · r A n d x Ω A 3 D G ( θ A n + 1 ) δ c A n + 1 r A n d x = n = 0 N 1 { α Ω A 3 D ( δ c A n + 1 X h n + 1 ) r A n + 1 d x + δ Q n + 1 Ω A 3 D φ b C , ϵ r A n d x + Q C n + 1 Ω A 3 D δ b C φ b , ϵ ( δ b ) r A n d x }
    in case (19) and for (18): -5.0cm0cm
    n = 0 N 1 α Ω A 3 D δ c A n + 1 r A n d x + Ω A 3 D K C c A n + 1 · r A n d x Ω A 3 D G ( θ A n + 1 ) δ c A n + 1 r A n d x = n = 0 N 1 α Ω A 3 D ( δ c A n + 1 X h n + 1 ) r A n + 1 d x + δ Q n + 1 r A n ( b C ) + Q C n + 1 r A n ( b C ) · δ b .
    Therefore, if we define r A n W h A , n = N 1 , , 0 , as the solution to:
    α Ω A 3 D r A n z d x + Ω A 3 D K C r A n · z d x Ω A 3 D G ( θ A n + 1 ) r A n z d x = α Ω A 3 D ( z X h n + 1 ) r A n + 1 d x + 2 i = 1 N P ( c A n + 1 ( x i ) c ˜ i n + 1 ) z ( x i ) ,
    we know that:
    δ Q , b J ( Q C , b C ) ( δ Q , δ b C ) = n = 0 N 1 { δ Q n + 1 Ω A 3 D φ b C , ϵ r A n d x + Q C n + 1 Ω A 3 D δ b C φ b , ϵ ( δ b ) r A n d x } ,
    in case we take an approximation of the Dirac delta (19) and if we consider (18):
    δ Q , b J ( Q C , b C ) ( δ Q , δ b C ) = n = 0 N 1 δ Q n + 1 r A n ( b C ) + Q C n + 1 r A n ( b C ) · δ b .
It should be noted that the equation for the discrete adjoint state (33) is valid for any choice of approximation of the Dirac delta. The considered approximation of the Dirac delta appears in the expression of the gradient of cost functionals (34) or (35). Furthermore, to calculate the gradient of the cost functional it is only necessary to solve the equation for the adjoint state once. Indeed, given { r A n } n = 0 N W h A , with r A N = 0 , the solution to (33) is
J Q k ( Q C , b C ) = Ω A 3 D φ b C , ϵ r A k 1 d x , k = 1 , , N ,
J b k ( Q C , b C ) = n = 0 N 1 Q C n + 1 Ω A 3 D φ b , ϵ b k ( b C ) r A n d x , k = 1 , 2 , 3 ,
in this case we consider (19); for (18):
J Q k ( Q C , b C ) = r A k 1 ( b C ) , k = 1 , , N ,
J b k ( Q C , b C ) = n = 0 N 1 Q C n + 1 r A n x i ( b C ) , k = 1 , 2 , 3 .

3. Results and Discussion

In this section, we will present the results that we obtained in the numerical simulations. All the numerical simulations were carried out with scientific software FreeFem++ [23] interfaced with IPOPT [20] on a 2019 MacBook Pro (2.5 GHz Intel Core i5 with four kernels).
We considered a scale three-dimensional mesh composed of nine buildings with heights of, respectively, 8, 5, 4, 5, 6, 8, 8, 5 and 4 m (back to front and left to right), with the geometrical configuration presented in Figure 2 (the depth of the soil considered is 3 m).
Associated with the previous geometrical configuration, we have considered the domain occupied by the air (effective computational domain for the control problem); in our case, we considered the upper boundary 10 m from the ground, see Figure 3.
In order to obtain the solution of the microclimate model (see Appendix A), we have considered the parameters listed in Table 1.
The convective heat transfer coefficients for the corresponding interfaces were h C A = 100 on Γ C A , h G A = 100 on Γ G A , h C B = 100 on Γ C B , h W A = 100 on Γ B W , and h R A = 1 on Γ B R .
To compute the radiation temperatures appearing in the heat equations for soil and buildings, we assumed that R s w , n e t ( x , t ) = ( R M s w , d i r + R M s w , d i f f ) σ ( x , t ) , and R l w , d o w ( x , t ) = R M l w , d o w σ ( x , t ) , where, for our particular problem, we considered R M s w , d i r = 650 Wm 2 , R M s w , d i f f = 350 Wm 2 , and R M l w , d o w = 450 Wm 2 . The function σ ( x , t ) [ 0 , 1 ] models the attenuation of the previous maximum values, taking into account the movement of the sun: effect of shadows, night and day, and so on. In our simplified case, we have assumed that σ ( x , t ) = max { sin ( 2 π t / 86 , 400 ) , 0 } , ( x , t ) ( Γ C A Γ G A Γ B R ) × [ 0 , T ] (that is, over soil and roofs we considered no attenuation due to shadows and radiation only depending on time). Finally, we considered the initial values u A 0 = ( 0 , 0 ) m s 1 , θ A 0 = θ S 0 = θ B 0 = 300 K , and the boundary conditions u A I N = ( 0 , 10 4 , 0 ) m s 1 , θ A I N = 300 K .
We also considered that G = 0 , c A 0 = 0 gr m 3 and K C = 10 1 m 2 s 1 in Equation (16). For the time discretization, we have considered a final time T = 10,800 s and Δ t = 900 s ( N = 12 time steps). In Figure 4, we can see the air velocity u A and the air temperature θ A on the boundary Ω A 3 D at time T = 10,800 s.
We will assume that in each building there are three sensors placed at 1, 2 and 3 m from the ground (see Figure 5). Therefore, we have a total of N p = 27 measurement points.
We also assumed that we have measurements in each time step ( N T = 12 ). To validate the methodology proposed in this work, we have generated artificial measurements taking as the release point b R = ( 2 , 12 , 6 ) Z a d 2 = [ 1.2 , 31.8 ] × [ 10.2 , 13.8 ] × [ 4.2 , 11.8 ] and Q R = { c R ( x i , t n ) : i = 1 , , N p , n = 1 , , N T } , where c R is the solution of the discretized state equation, Equation (17), associated with the release point b R and the release rate Q R ( t ) = 3 ( 1 + sin ( 2 π t / 86 , 400 2 π Δ t / 86 , 400 ) ) gr m 3 s 1 , t [ 0 , T ] , such that Q R ( t ) V a d = [ 0 , 10 ] . For instance, Figure 6 shows the concentrations in the measurement points placed at 3 m from the ground, if the delta approximation (19) is used. In this case, the distribution of the chemical agent at T = 10,800 s can be seen in Figure 7.
Therefore, the main objective of this section is to show how the methodology we propose allows one to recover the release point b R and the discharge rate Q R using artificial measures (see Figure 6).
We have obtained the following results taking a convergence tolerance for the IPOPT algorithm equal to 10 10 :
  • Problem 1, Equation (10). Estimation of the release point: In this case, we fix the release rate to Q R and we try to recover the release point b R using the artificial measurements. To this end, we start from the initial control b 0 = [ 1.2 , 10.2 , 4.2 ] Z a d 2 and run the optimization algorithm in the following cases:
    (a)
    Delta approximation (19) and linearized Equation (23): 22 iterations, optimal cost 6.3054131 × 10 22 , CPU time 6502 s;
    (b)
    Delta approximation (19) and adjoint state Equation (36b): 32 iterations, optimal cost 3.2106931 × 10 21 , CPU time 4766 s;
    (c)
    Delta definition (18) and linearized Equation (23): 37 iterations, optimal cost 1.3769812 × 10 20 , CPU time 1779 s;
    (d)
    Delta definition (18) and adjoint state Equation (37b): 35 iterations, optimal cost 8.3016154 × 10 21 , CPU time 1958 s.
    In all the above cases, the release point used for the generation of artificial data is recovered by the algorithm.
  • Problem 2, Equation (11). Estimation of the release rate: In this case, we fix the release point to b R and we try to recover the release rate Q R using the artificial measurements. We start from the initial control Q 0 = 0 V a d and run the optimization algorithm in the following cases:
    (a)
    Delta approximation (19) and linearized Equation (20): 26 iterations, optimal cost 1.8307661 × 10 11 , CPU time 11 , 177 s.
    (b)
    Delta approximation (19) and adjoint state Equation (36a): 29 iterations, optimal cost 1.8307668 × 10 11 , CPU time 4696 s.
    (c)
    Delta definition (18) and linearized Equation (20): 25 iterations, optimal cost 1.8564142 × 10 19 , CPU time 2798 s.
    (d)
    Delta definition (18) and adjoint state Equation (37a): 27 iterations, optimal cost 1.0237655 × 10 19 , CPU time 709 s.
    In all the above cases, the release rate used for the generation of artificial data is recovered by the algorithm.
  • Problem 3, Equation (12). Estimation of the release point and rate. We try to recover the release point b R and the release rate Q R using the artificial measurements. We start from the initial control b 0 = [ 1.2 , 10.2 , 4.2 ] Z a d 2 and Q 0 = 0 V a d and run the optimization algorithm in the following cases:
    (a)
    Delta approximation (19) and linearized Equation (28): 252 iterations, optimal cost 1.2557307 × 10 15 , CPU time 180 , 895 s.
    (b)
    Delta approximation (19) and adjoint state Equations (36a) and (36b): 263 iterations, optimal cost 1.1373912 × 10 18 , CPU time 90 , 977 s.
    (c)
    Delta definition (18) and linearized Equation (28): 209 iterations, optimal cost 1.1029007 × 10 12 , CPU time 40 , 522 s.
    (d)
    Delta definition (18) and adjoint state Equations (37a) and (37b): 211 iterations, optimal cost 4.4262276 × 10 14 , CPU time 14 , 785 s.
    In all the above cases, the release rate and point used for the generation of artificial data are recovered by the algorithm.

4. Conclusions

In this paper, we propose a methodology for source identification of chemical incidents in urban areas. To achieve this, the classic advection-diffusion equation was completed with a reaction term depending on the air temperature, combined with a 3D microclimatic model, and numerically solved within the framework of mixed integer nonlinear programming (MINLP). In view of the results obtained, we observe that the proposed methodology is effective in identifying a source of contamination produced by a chemical agent in the academic cases studied. Both the proposed Dirac delta approximation and its own definition provide us with comparable results. The numerical resolution of the optimization problem using the adjoint state equations is more effective from the point of view of CPU time. Combining the search for the release point and rate requires a very high number of algorithm iterations, which penalizes CPU time.

Author Contributions

Writing, review and editing, F.J.F. and M.E.V.-M. All authors contributed equally. All authors have read and agreed to the published version of the manuscript.

Funding

This work has been partially supported by the Xunta de Galicia grant ED431C 2019/02 for Competitive Reference Research Groups (2019–2022).

Data Availability Statement

The authors confirm that the data supporting the findings of this study are available within the article.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results’.

Appendix A

In this appendix, we include the microclimate mathematical model that we have used in the numerical simulations. The microclimate model is similar to that used by authors in [14]. We summarize it here for convenience of the reader. So, we consider a 2D domain Ω 2 D = { ( x , y ) R 2 : 0 < x < a , 0 < y < b } and two positive functions H S , H A : Ω 2 D ¯ [ 0 , ) that represent the height of the layers of soil and air. We also consider a subdomain Ω B 2 D Ω 2 D corresponding to the buildings and a function H B : Ω B 2 D ¯ [ 0 , ) representing the height of these buildings. Then, we define the following 3 D domains:
Ω S 3 D = { ( x , y , z ) R 3 : ( x , y ) Ω 2 D , 0 < z < H S ( x , y ) } , Ω B 3 D = { ( x , y , z ) R 3 : ( x , y ) Ω B 2 D H S ( x , y ) < z < H S ( x , y ) + H B ( x , y ) } , Ω A 3 D = { ( x , y , z ) R 3 : ( x , y ) Ω 2 D , H S ( x , y ) < z < H S ( x , y ) + H A ( x , y ) } Ω B 3 D ,
which correspond, respectively, to the domain occupied by soil, buildings and the air. We can see that Ω S 3 D = Γ 0 S Γ S A Γ S B Γ S N , Ω A 3 D = Γ S A Γ B R Γ B W Γ A H Γ A I N Γ A O U T Γ A N and Ω B 3 D = Γ S B Γ B R Γ B W , where:
  • Γ 0 S is the lower boundary of the soil;
  • Γ S A is the interface boundary between air and soil;
  • Γ S B is the interface boundary between soil and buildings;
  • Γ B R is the boundary of buildings associated with roofs;
  • Γ B W is the boundary of buildings associated with walls;
  • Γ A H is the upper boundary of the air;
  • Γ A I N is the wind inflow boundary;
  • Γ A O U T is wind outflow boundary;
  • Γ A N is the lateral boundaries for the air;
  • Γ S N is the lateral boundaries for the soil.
We consider the following equations that model the behavior of the air temperature θ A ( K ) , density ρ A (m 2 s 2 ) and velocity u A (m s 1 ) :
u A t + u A u A · ( ν A u A ) + p A = β θ A g , Ω A 3 D × ] 0 , T [ , · u A = 0 , Ω A 3 D × ] 0 , T [ u A = u A I N , Γ A I N × ] 0 , T [ , ν A u A + p A I · n A 1 2 ( u A · n A ) u A = 0 , Γ A O U T × ] 0 , T [ , u A = 0 , Ω A 3 D Γ A I N Γ A O U T × ] 0 , T [ , u A ( 0 ) = u A 0 , Ω A 3 D ,
where ν A is the kinematic viscosity coefficient, θ A R E F is a reference temperature, g is the gravity acceleration, n A is the unit outward normal vector to the boundary Ω A 3 D , and u A I N , u A O U T and u A 0 are given boundary and initial conditions. Observe that we are considering a directional do-nothing condition for the Navier–Stokes equations [26] on boundary Γ A O U T .
θ A t + u A · θ A · ( K A θ A ) = F A , Ω A 3 D × ] 0 , T [ , θ A = θ A I N , Γ A I N × ] 0 , T [ , K A θ A n A = 0 , Γ A N Γ A O U T Γ A H × ] 0 , T [ , K A θ A n A = b 1 S , A ( θ S θ A ) , Γ S A × ] 0 , T [ , K A θ A n A = b 1 W , A ( θ B θ A ) , Γ B W × ] 0 , T [ , K A θ A n A = b 1 R , A ( θ B θ A ) , Γ B R × ] 0 , T [ , θ A ( 0 ) = θ A 0 , Ω A 3 D ,
where K A is the diffusion coefficient, b 1 S , A , b 1 W , A and b 1 R , A are the convection coefficients, F A is a heat source term, and θ A I N and θ A 0 are given boundary and initial conditions.
The soil temperature θ S ( K ) :
θ S t · ( K S θ S ) = F S , Ω S 3 D × ] 0 , T [ , K S θ S n S = b 1 A , S ( θ A θ S ) + b 2 A , S ( ( T r A , S ) 4 θ S 4 ) , Γ S A × ] 0 , T [ , K S θ S n S = b 1 B , S ( θ B θ S ) , Γ S B × ] 0 , T [ , K S θ S n S = 0 , Γ S N × ] 0 , T [ , θ S = θ S S U B , Γ S 0 × ] 0 , T [ , θ S ( 0 ) = θ S 0 , Ω S 3 D ,
where K S is the diffusion coefficient, b 1 A , S and b 1 B , S are the convection coefficients, b 2 A , S is the radiation coefficient, T r A , S is the radiation temperature induced by solar radiation, F S is a source term, and θ S S U B and θ S 0 are given boundary and initial conditions.
The buildings temperature θ S ( K ) :
θ B t · ( K B θ B ) = F B , Ω B 3 D × ] 0 , T [ , K B θ B n B = b 1 A , R ( θ A θ B ) + b 2 A , R ( ( T r A , R ) 4 θ B 4 ) , Γ B R × ] 0 , T [ , K B θ B n B = b 1 A , W ( θ A θ B ) + b 2 A , W ( ( T r A , W ) 4 θ B 4 ) , Γ B W × ] 0 , T [ , K B θ B n B = b 1 S , B ( θ S θ B ) , Γ S B × ] 0 , T [ , θ S ( 0 ) = θ S 0 , Ω S 3 D ,
where K B is the diffusion coefficient, b 1 A , R , b 1 A , W and b 1 S , B are the convection coefficients, b 2 A , R and b 2 A , W are the radiation coefficients, T r A , R and T r A , W are the radiation temperatures, F B is a source term, and θ B 0 is a given initial condition.
The characteristic parameters that define the thermal behavior of the materials involved in the problem are the following:
  • ρ A , ρ S and ρ B (g m 3 ) are the densities of air, soil and buildings, respectively;
  • c p A , c p S and c p B (Ws g 1 K 1 ) are the specific heat capacities of air, soil and buildings;
  • α A , α S and α B (Ws g 1 K 1 ) are the thermal conductivities of air, soil and buildings;
  • ϵ S , ϵ W and ϵ R (dimensionless constants) are the emissivities of the surfaces corresponding to soil, walls and roofs, respectivel;
  • a S , a W and a R (dimensionless constants) are the albedos of soil, walls and roofs, representing the ratio of reflected radiation from the surface to incident radiation upon it;
  • h S A , h S B , h W A and h R A (W m 2 K 1 ) are the convective heat transfer coefficients between soil/air, soil/buildings, walls/air and roofs/air, respectively.
From the above coefficients, we can define the coefficients associated with Equations (A1)–(A4):
  • K A , K S and K B (m 2 s 1 ) are the thermal diffusivities of air, soil and buildings, defined from the above data in the following way:
    K A = α A ρ A c p A , K S = α S ρ S c p S , K B = α B ρ B c p B .
  • b 1 S , A , b 1 A , S , b 1 S , B , b 1 B , S , b 1 W , A , b 1 A , W , b 1 R , A and b 1 A , R (m s 1 ) are the coefficients related to convective heat transfer, obtained from the following relations:
    -
    for the temperature of air:
    ρ A c p A b 1 S , A = h S A , ρ A c p A b 1 W , A = h W A , ρ A c p A b 1 R , A = h R A .
    -
    for the temperature of soil:
    ρ S c p S b 1 A , S = h S A , ρ S c p S b 1 B , S = h S B .
    -
    for the temperature of buildings:
    ρ B c p B b 1 S , B = h S B , ρ B c p B b 1 A , W = h W A , ρ B c p B b 1 A , R = h R A .
  • b 2 A , S , b 2 A , W and b 2 A , R (m s 1 K 3 ) are the coefficients related to radiative heat transfer for soil, walls and roofs, respectively, obtained from following relations:
    ρ S c p S b 2 A , S = σ B ϵ S , ρ B c p B b 2 A , W = σ B ϵ W , ρ B c p B b 2 A , R = σ B ϵ R ,
    with σ B (W m 2 K 4 ) the Stefan–Boltzmann constant.
  • Finally, in order to compute the radiation temperatures T r A , S , T r A , W and T r A , R ( K ) on the different solid boundaries (soil, walls and roofs), we use the following expressions (involving the corresponding solar radiations, albedos and emissivities):
    σ B ϵ S ( T r A , S ) 4 = ( 1 a S ) R s w , n e t ( x , t ) + R l w , d o w ( x , t ) , σ B ϵ W ( T r A , W ) 4 = ( 1 a W ) R s w , n e t ( x , t ) + R l w , d o w ( x , t ) , σ B ϵ R ( T r A , R ) 4 = ( 1 a R ) R s w , n e t ( x , t ) + R l w , d o w ( x , t ) ,
    where R s w , n e t ( x , t ) denotes the net incident shortwave radiation on the surface, and R l w , d o w ( x , t ) denotes the downwelling longwave radiation, both measured in W m 2 .

References

  1. Singh, S.; Sharan, M.; Issartel, J. Inverse modelling methods for identifying unknown releases in emergency scenarios: An overview. Int. J. Environ. Pollut. 2015, 57. [Google Scholar] [CrossRef]
  2. Lushi, E.; Stockie, J.M. An inverse Gaussian plume approach for estimating atmospheric pollutant emissions from multiple point sources. Atmos. Environ. 2010, 44, 1097–1107. [Google Scholar] [CrossRef] [Green Version]
  3. Stockie, J. The mathematics of atmospheric dispersion modeling. SIAM Rev. 2011, 53, 349–372. [Google Scholar] [CrossRef]
  4. Yamamoto, M. Carleman estimates for parabolic equations and applications. Inverse Probl. 2009, 25, 123013. [Google Scholar] [CrossRef]
  5. Pyatkov, S.G.; Safonov, E.I. On some classes of inverse problems of recovering a source function. Sib. Adv. Math. 2017, 27, 119–132. [Google Scholar] [CrossRef]
  6. Jiang, D.; Li, Z.; Liu, Y.; Yamamoto, M. Weak unique continuation property and a related inverse source problem for time-fractional diffusion-advection equations. Inverse Probl. 2017, 33, 055013. [Google Scholar] [CrossRef] [Green Version]
  7. Andrle, M.; Belgacem, F.B.; Badia, A.E. Identification of moving pointwise sources in an advection–dispersion–reaction equation. Inverse Probl. 2011, 27, 025007. [Google Scholar] [CrossRef]
  8. Andrle, M.; Badia, A.E. Identification of multiple moving pollution sources in surface waters or atmospheric media with boundary observations. Inverse Probl. 2012, 28, 075009. [Google Scholar] [CrossRef]
  9. Belgacem, F.B. Uniqueness for an ill-posed reaction-dispersion model. Application to organic pollution in stream-waters. Inverse Probl. Imaging 2012, 6, 163–181. [Google Scholar] [CrossRef]
  10. Hamdi, A. Detection-Identification of multiple unknown time-dependent point sources in a 2D transport equation: Application to accidental pollution. Inverse Probl. Sci. Eng. 2017, 25, 1423–1447. [Google Scholar] [CrossRef]
  11. Huang, C.H.; Li, J.X.; Kim, S. An inverse problem in estimating the strength of contaminant source for groundwater systems. Appl. Math. Model. 2008, 32, 417–431. [Google Scholar] [CrossRef]
  12. Gurarslan, G.; Karahan, H. Solving inverse problems of groundwater-pollution-source identification using a differential evolution algorithm. Hydrogeol. J. 2015, 23, 1109–1119. [Google Scholar] [CrossRef]
  13. Fernández, F.; Alvarez-Vázquez, L.; García-Chan, N.; Martínez, A.; Vázquez-Méndez, M. Optimal location of green zones in metropolitan areas to control the urban heat island. J. Comput. Appl. Math. 2015, 289, 412–425. [Google Scholar] [CrossRef]
  14. Fernández, F.; Alvarez-Vázquez, L.; Martínez, A.; Vázquez-Méndez, M. A 3D optimal control problem related to the urban heat islands. J. Math. Anal. Appl. 2017, 446, 1571–1605. [Google Scholar] [CrossRef]
  15. García-Chan, N.; Alvarez-Vázquez, L.; Martínez, A.; Vázquez-Méndez, M. On optimal location and management of a new industrial plant: Numerical simulation and control. J. Frankl. Inst. 2014, 351, 1356–1371. [Google Scholar] [CrossRef]
  16. Lions, J.L. Contrôle Optimal de Systèmes Gouvernés par des Équations aux Dérivées Partielles; Dunod: Paris, France, 1968. [Google Scholar]
  17. Duran, M.; Grossmann, I. An outer-approximation algorithm for a class of mixed-integer nonlinear programs. Math. Program. 1986, 36, 307–339. [Google Scholar] [CrossRef]
  18. Quesada, I.; Grossmann, I. An LP/NLP based branch and bound algorithm for convex MINLP optimization problems. Comput. Chem. Eng. 1992, 16, 937–947. [Google Scholar] [CrossRef]
  19. Bonami, P.; Biegler, L.T.; Conn, A.R.; Cornuéjols, G.; Grossmann, I.E.; Laird, C.D.; Lee, J.; Lodi, A.; Margot, F.; Sawaya, N.; et al. An algorithmic framework for convex mixed integer nonlinear programs. Discret. Optim. 2008, 5, 186–204. [Google Scholar] [CrossRef]
  20. Wächter, A.; Biegler, L.T. On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Math. Program. 2006, 106, 25–57. [Google Scholar] [CrossRef]
  21. Bermúdez, A.; Nogueiras, M.R.; Vázquez, C. Numerical analysis of convection-diffusion-reaction problems with higher order characteristics/finite elements. I. Time discretization. SIAM J. Numer. Anal. 2006, 44, 1829–1853. [Google Scholar] [CrossRef]
  22. Bermúdez, A.; Nogueiras, M.R.; Vázquez, C. Numerical analysis of convection-diffusion-reaction problems with higher order characteristics/finite elements. II. Fully discretized scheme and quadrature formulas. SIAM J. Numer. Anal. 2006, 44, 1854–1876. [Google Scholar] [CrossRef]
  23. Hecht, F. New development in FreeFem++. J. Numer. Math. 2012, 20, 251–265. [Google Scholar] [CrossRef]
  24. Alvarez-Vázquez, L.J.; Martínez, A.; Rodríguez, C.; Vázquez-Méndez, M.E. Mathematical analysis of the optimal location of wastewater outfalls. IMA J. Appl. Math. 2002, 67, 23–39. [Google Scholar] [CrossRef]
  25. Scott, R. Finite element convergence for singular data. Numer. Math. 1973, 21, 317–327. [Google Scholar] [CrossRef]
  26. Braack, M.; Mucha, P.B. Directional no-nothing condition for the Navier-Stokes equations. J. Comput. Math. 2014, 32, 507–521. [Google Scholar]
Figure 1. Scheme of a 3D urban domain where a chemical incident occurs at point b C .
Figure 1. Scheme of a 3D urban domain where a chemical incident occurs at point b C .
Axioms 10 00177 g001
Figure 2. Geometrical configuration of the solid domain (soil and buildings, 6622 elements).
Figure 2. Geometrical configuration of the solid domain (soil and buildings, 6622 elements).
Axioms 10 00177 g002
Figure 3. Computational domain for the control problem (12,736 elements).
Figure 3. Computational domain for the control problem (12,736 elements).
Axioms 10 00177 g003
Figure 4. Microclimate model at time T = 10,800 s.
Figure 4. Microclimate model at time T = 10,800 s.
Axioms 10 00177 g004
Figure 5. Measurement points in each building (1, 2 and 3 m from the ground).
Figure 5. Measurement points in each building (1, 2 and 3 m from the ground).
Axioms 10 00177 g005
Figure 6. Concentration in the measurement points placed 3 m from the ground.
Figure 6. Concentration in the measurement points placed 3 m from the ground.
Axioms 10 00177 g006
Figure 7. Chemical agent isosurfaces at T = 10,800 s.
Figure 7. Chemical agent isosurfaces at T = 10,800 s.
Axioms 10 00177 g007
Table 1. Microclimate model parameters.
Table 1. Microclimate model parameters.
CoefficientAirAsphaltBuildings
Density ρ A = 1.16 × 10 3 ρ C = 2.11 × 10 6 ρ B = 2.3 × 10 6
Specific heat c p A = 1.007 c p C = 0.92 c p B = 0.88
Conductivity α A = 0.05 α C = 0.06 α B = 0.06
Emissivity ϵ C = 0.95 ϵ B = 0.95
Albedo a C = 0.05 a B = 0.08
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Fernández, F.J.; Vázquez-Méndez, M.E. Source Identification of a Chemical Incident in an Urban Area. Axioms 2021, 10, 177. https://doi.org/10.3390/axioms10030177

AMA Style

Fernández FJ, Vázquez-Méndez ME. Source Identification of a Chemical Incident in an Urban Area. Axioms. 2021; 10(3):177. https://doi.org/10.3390/axioms10030177

Chicago/Turabian Style

Fernández, Francisco J., and Miguel E. Vázquez-Méndez. 2021. "Source Identification of a Chemical Incident in an Urban Area" Axioms 10, no. 3: 177. https://doi.org/10.3390/axioms10030177

APA Style

Fernández, F. J., & Vázquez-Méndez, M. E. (2021). Source Identification of a Chemical Incident in an Urban Area. Axioms, 10(3), 177. https://doi.org/10.3390/axioms10030177

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop