Enabling sensitivity analysis in CMAQ with the complex-step - - PowerPoint PPT Presentation

enabling sensitivity analysis in cmaq with the complex
SMART_READER_LITE
LIVE PREVIEW

Enabling sensitivity analysis in CMAQ with the complex-step - - PowerPoint PPT Presentation

Enabling sensitivity analysis in CMAQ with the complex-step approach Isaiah Sauvageau 1 , Bryan Berman 1 , Shunliu Zhao 2 , Amir Hakami 2 , Daven Henze 3 , and Shannon Capps 1 1 Drexel University 2 Carleton University 3 University of Colorado


slide-1
SLIDE 1

Enabling sensitivity analysis in CMAQ with the complex-step approach

Isaiah Sauvageau1, Bryan Berman1, Shunliu Zhao2, Amir Hakami2, Daven Henze3, and Shannon Capps1

1Drexel University 2Carleton University 3University of Colorado Boulder

slide-2
SLIDE 2

Sensitivity Analysis with Finite Differences

∆(Ozone Concentration) ∆(Mobile NOx Emissions) ∆(Organic Aerosol Conc.) ∆(Nitrate Aerosol Conc.)

ΔModel Output Fieldsi,j ΔMobile Emissions

2

Δy = F(x0+Δx)-F(x0) Δx

slide-3
SLIDE 3

Accuracy of the difference is limited by the numerical noise of the model.

Sillman and He (2002)

3

Sensitivity Analysis with Finite Differences

  • zone (ppb)

ΔO3 = F(x0+ΔNOx)-F(x0) ΔNOx

slide-4
SLIDE 4

With a small enough perturbation, the modeled results may cancel out providing a sensitivity of zero.

Sillman and He (2002)

4

Sensitivity Analysis with Finite Differences

  • zone (ppb)

ΔO3 = F(x0+ΔNOx)-F(x0) ΔNOx

slide-5
SLIDE 5

Decoupled Direct Method in CMAQ

  • CMAQ-DDM-3D enables efficient sensitivity analysis

without subtractive cancellation errors and minimal model noise influences.

  • Sensitivities with respect to emission rates, boundary

conditions, initial conditions, reaction rates, potential vorticity, and any combination of these parameters can be calculated.

  • Second-order sensitivities can also be calculated.
  • The computational cost is reasonable because extensive

development has layered the derivative of every science process into the model.

5

slide-6
SLIDE 6

Applying the Chain Rule

6

Science Process Implemented Numerically DDM of Science Process Implemented Numerically

slide-7
SLIDE 7

7

Science Process Implemented Numerically DDM of Science Process Implemented Numerically Layer chain rule of every line of code into current numerical method

Applying the Chain Rule: Discrete Method

slide-8
SLIDE 8

Applying the Chain Rule: Continuous Method

8

Science Process Implemented Numerically DDM of Science Process Implemented Numerically Implement more appropriate numerical solution for the derivative of the process

slide-9
SLIDE 9

Applying the Chain Rule: Continuous Method

9

Science Process Implemented Numerically DDM of Science Process Implemented Numerically Implement more appropriate numerical solution for the derivative of the process Layer chain rule of every line of code into current numerical method

slide-10
SLIDE 10

Apply the perturbation in imaginary space instead

  • f real space.

Perturbation can now be

  • n the order of 1e-20.

Sillman and He (2002)

10

Sensitivity Analysis with Complex Step Method

  • zone (ppb)

ΔO3 = F(x0+iΔNOx) ΔNOx

slide-11
SLIDE 11

Sensitivity Analysis with Complex Variables

Capps et al., ACP , 2012

∂y = Imag[F(x0 + iΔx)] Δx

11

slide-12
SLIDE 12

Sensitivity Analysis with Complex Variables

∂(Ozone Concentration) ∂(Mobile NOx Emissions)

Squire and Trapp, SIAM Rev, 1998; Giles and Pierce, Flow, Turbulence & Combustion, 2001

∂(Organic Aerosol Conc.) ∂(Nitrate Aerosol Conc.)

∂y = Imag[F(x0 + iΔx)] Δx

∂Model Output Fieldsi,j ∂Mobile Emissions

12

slide-13
SLIDE 13

Values shown are average monthly sensitivities of ground level O3 to 1 kg of NOx (ppb kg−1).

Advantage of Complex Method

Constantin and Barrett, Atmos. Environ., 2014

ΔO3,surf = F(x0+ΔNOx)-F(x0) ΔNOx ∂O3,surf = F(x0 + iΔNOx) ΔNOx

13

slide-14
SLIDE 14

Efficiency of Adjoint-based Approach

∂Concentration-based Metric ∂Emissionsi,j,k

∂(Concentration-based Metric) ∂(NH3 Agricultural Emissions) ∂(NH3 Fire Emissions) ∂(Industrial NOx Emissions) ∂(SO2 Power Plant Emissions) ∂( … )

∂x = F’T(x0,∂y)

14

slide-15
SLIDE 15

Attributing Beijing PM2.5 to Emissions

∂Wintertime PM2.5 in Beijing ∂Emissionsi,j,k

∂(Wintertime Beijing PM2.5) ∂(NH3 Agricultural Emissions) ∂(NH3 Fire Emissions) ∂(Industrial NOx Emissions) ∂(SO2 Power Plant Emissions) ∂( … )

∂Emissionsi,j,k = F’T(x0,∂[Beijing PM2.5])

Zhang et al., Environ. Res. Lett., 2015 15

slide-16
SLIDE 16

Modeling PM2.5 Concentrations

PM2.5 = F(Emissionsi,j,k)

Zhang et al., Environ. Res. Lett., 2015

[µg m-3]

16

slide-17
SLIDE 17

Attributing Beijing PM2.5 to Sources

Zhang et al., Environ. Res. Lett., 2015 17

Zhang et al., ERL, 2015

slide-18
SLIDE 18

Second-order Combined Sensitivities

18

Values shown are time- averaged second-

  • rder sensitivities of

ground level PM2.5 to NOx and SO2 emissions (µg m-3 (kg h−1)-2).

∂2PM2.5 ∂EmisSO2 ∂EmisNOx

CS-adjoint FD-adjoint January June

Constantin and Barrett, Atmos. Environ., 2014

slide-19
SLIDE 19

Implementing the complex step method in CMAQ v.5.2. Evaluation will be against DDM-3D. Limitation is that it will

  • nly treat one variable at

a time.

19

Ongoing Work in CMAQ

Constantin and Barrett, Atmos. Environ., 2014