The urban dispersion model EPISODE v10.0 – Part 1: An Eulerian and sub-grid-scale air quality model and its application in Nordic winter conditions

This paper describes the Eulerian urban dispersion model EPISODE. EPISODE was developed to address a need for an urban air quality model in support of policy, planning, and air quality management in the Nordic, specifically Norwegian, setting. It can be used for the calculation of a variety of airborne pollutant concentrations, but we focus here on the implementation and application of the model for NO2 pollution. EPISODE consists of an Eulerian 3D grid model with embedded sub-grid dispersion models (e.g. a Gaussian plume model) for dispersion of pollution from line (i.e. roads) and point sources (e.g. chimney stacks). It considers the atmospheric processes advection, diffusion, and an NO2 photochemistry represented using the photostationary steady-state approximation for NO2. EPISODE calculates hourly air concentrations representative of the grids and at receptor points. The latter allow EPISODE to estimate concentrations representative of the levels experienced by the population and to estimate their exposure. This methodological framework makes it suitable for simulating NO2 concentrations at fine-scale resolution (< 100 m) in Nordic environments. The model can be run in an offline nested mode using output concentrations from a global or regional chemical transport model and forced by meteorology from an external numerical weather prediction model; it also can be driven by meteorological observations. We give a full description of the overall model function and its individual components. We then present a case study for six Norwegian cities whereby we simulate NO2 pollution for the entire year of 2015. The model is evaluated against in situ observations for the entire year and for specific episodes of enhanced pollution during winter. We evaluate the model performance using the FAIRMODE DELTA Tool that utilises traditional statistical metrics, e.g. root mean square error (RMSE), Pearson correlation R, and bias, along with some specialised tests for air quality model evaluation. We find that EPISODE attains the DELTA Tool model quality objective in all of the stations we evaluate against. Further, the other statistical evaluations show adequate model performance but that the model scores greatly improved correlations during winter and autumn compared to the summer. We attribute this to the use of the photostationary steady-state scheme for NO2, which should perform best in the absence of local ozone photochemical production. Oslo does not comply with the NO2 annual limit set in the 2008/50/EC directive (AQD). NO2 pollution episodes with the highest NO2 concentrations, which lead to the occurrence of exceedances of the AQD hourly limit for NO2, occur primarily in the winter and autumn in Oslo, so this strongly supports the use of EPISODE for application to these wintertime events. Overall, we conclude that the model is suitable for an assessment of annual mean NO2 concentrations and also for the study of hourly NO2 concentrations in the Nordic winter and autumn environment. Further, in this work we conclude that it is suitable for a range of policy applications specific to NO2 that include pollution episode analysis, evaluation of seasonal statistics, policy and planning support, and air quality management. Lastly, we identify a series of model developments specifically designed to address the limitations of the current model assumptions. Part 2 of this two-part paper Published by Copernicus Publications on behalf of the European Geosciences Union. 4324 P. D. Hamer et al.: The urban dispersion model EPISODE v10.0 – Part 1 discusses the CityChem extension to EPISODE, which includes a number of implementations such as a more comprehensive photochemical scheme suitable for describing more chemical species and a more diverse range of photochemical environments, as well as a more advanced treatment of the sub-grid dispersion.

Abstract. This paper describes the Eulerian urban dispersion model EPISODE. EPISODE was developed to address a need for an urban air quality model in support of policy, planning, and air quality management in the Nordic, specifically Norwegian, setting. It can be used for the calculation of a variety of airborne pollutant concentrations, but we focus here on the implementation and application of the model for NO 2 pollution. EPISODE consists of an Eulerian 3D grid model with embedded sub-grid dispersion models (e.g. a Gaussian plume model) for dispersion of pollution from line (i.e. roads) and point sources (e.g. chimney stacks). It considers the atmospheric processes advection, diffusion, and an NO 2 photochemistry represented using the photostationary steady-state approximation for NO 2 . EPISODE calculates hourly air concentrations representative of the grids and at receptor points. The latter allow EPISODE to estimate concentrations representative of the levels experienced by the population and to estimate their exposure. This methodological framework makes it suitable for simulating NO 2 concentrations at fine-scale resolution (< 100 m) in Nordic environments. The model can be run in an offline nested mode using output concentrations from a global or regional chemical transport model and forced by meteorology from an external numerical weather prediction model; it also can be driven by meteorological observations. We give a full description of the overall model function and its individual components. We then present a case study for six Norwegian cities whereby we simulate NO 2 pollution for the entire year of 2015. The model is evaluated against in situ observations for the entire year and for specific episodes of enhanced pollution during winter. We evaluate the model performance using the FAIR-MODE DELTA Tool that utilises traditional statistical metrics, e.g. root mean square error (RMSE), Pearson correlation R, and bias, along with some specialised tests for air quality model evaluation. We find that EPISODE attains the DELTA Tool model quality objective in all of the stations we evaluate against. Further, the other statistical evaluations show adequate model performance but that the model scores greatly improved correlations during winter and autumn compared to the summer. We attribute this to the use of the photostationary steady-state scheme for NO 2 , which should perform best in the absence of local ozone photochemical production. Oslo does not comply with the NO 2 annual limit set in the 2008/50/EC directive (AQD). NO 2 pollution episodes with the highest NO 2 concentrations, which lead to the occurrence of exceedances of the AQD hourly limit for NO 2 , occur primarily in the winter and autumn in Oslo, so this strongly supports the use of EPISODE for application to these wintertime events. Overall, we conclude that the model is suitable for an assessment of annual mean NO 2 concentrations and also for the study of hourly NO 2 concentrations in the Nordic winter and autumn environment. Further, in this work we conclude that it is suitable for a range of policy applications specific to NO 2 that include pollution episode analysis, evaluation of seasonal statistics, policy and planning support, and air quality management. Lastly, we identify a series of model developments specifically designed to address the limitations of the current model assumptions. Part 2 of this two-part paper

Introduction
Air pollution represents a major hazard to human health. An estimated 3 million people die each year worldwide due to ambient air pollution (World Health Organization, 2016), which includes combined effects from O 3 , NO 2 , SO 2 , and particulate matter (PM). Of these listed pollutants, PM has the largest impact on mortality and disease burden worldwide; 90 % of the world's population breathes air that does not comply with WHO guidelines (World Health Organization, 2016). Further, human exposure to poor air quality is disproportionately weighted to populations living in urban areas where population densities, relatively high levels of pollutant emissions, and consequent high background levels of pollutants coincide spatially.
The European Commission Directive 2008/50/EC (EU, 2008) requires that air quality be monitored and assessed via measurement and/or modelling for 13 key pollutants in European cities with populations larger than 250 000 people. Measurements are required in all cases except when pollutant concentrations are very low. In addition, directive 2008/50/EC indicates that, where possible, modelling should be applied to allow the wider spatial interpretation of in situ measurement data. Norway, as a European Economic Area (EEA) member, adopted these regulations within its own laws.
The health impacts of urban air pollution and the requirements from legislation to provide air quality assessment and management for urban areas combine to create a need to develop urban air quality models. Such models need to provide air quality exposure mapping and to further support policymaking through assessment of emission abatement measures and understanding of the sources, causes, and processes that define the air quality.
Due to the historical need and priority to assess transboundary pollution (e.g. Fagerli et al., 2017), finite computational power that limits model resolution, and the resolution of the most commonly used compiled emission inventories, the majority of existing air quality models operate at a regional scale. See, for example, the regional production of the Copernicus Atmospheric Monitoring System (Marécal et al., 2015) that includes seven chemical transport models (CTMs) run operationally over a European domain at ∼ 10 km resolution. In another case the CALIOPE system is being run operationally over Spain at ∼ 4 km resolution (Baldasano et al., 2011;Pay et al., 2010) using the Community Multiscale Air Quality Modelling (CMAQ) system, and CMAQ is also being run operationally for the United States at 12 km resolution (Foley et al., 2010). The resolution of regional models means they can provide information at the background scale for urban areas, but this limits them in terms of providing the necessary information for policy-makers (e.g. exposure mapping and assessment of abatement measures) at urban and street scales. This limitation stems from a lack of dispersion at the scale of tens to hundreds of metres that prevents them from simulating the typically higher concentrations found close to pollution sources, which are frequently found in areas of higher population density. In addition, the gridded nature of most emission inventories specifically prevents them from representing the actual geometry of emission sources at the sub-kilometre scale, i.e. line (along roads) and point (e.g. industrial stack emissions) sources. The widely used operational regional air quality models operating on the scale of 4-20 km resolution are therefore unsuitable for studying air quality at urban and street scales.
Microscale models offer an alternative approach to regional models for simulating pollution dispersion in urban areas at scales relevant for exposure mapping and assessment. Such methods include computational fluid dynamics (CFD), large eddy simulations (LESs), and Gaussian dispersion modelling. The review of Lateb et al. (2016) and the guidelines of Franke et al. (2011) (including references therein) provide a good overview of the successful application of these methods in this context. In the case of CFD and LES methods, they are typically applied to limited areas in a city and/or for simulations of a short duration due to their computational expense. This therefore limits their application for longer-term or wider-scale studies of the urban environment.
Given the limitations of regional-scale air quality models and microscale models, a need existed to develop the EPISODE urban-scale air quality model  with the specific aim of addressing many of their weaknesses. EPISODE is a 3D Eulerian CTM that includes several sub-grid-scale processes, i.e. emissions represented as line sources and point sources, Gaussian dispersion, and estimation of concentrations at the sub-grid scale in locations specified by the user. EPISODE is typically run at 1 km × 1 km resolution over an entire city with domains up to ∼ 1000 km 2 in size. These features allow EPISODE to simulate pollutant dispersion at the city scale and microscale simultaneously. EPISODE's typical model resolution, scale of representation (i.e. down to tens of metres), size of domain (i.e. city scale), level of detail of its sub-grid-scale transport processes (i.e. Gaussian dispersion), and receptor point sampling place it in the gap between regional-scale air quality models and models able to explicitly capture mean flow and turbulent dispersion due to microscale surface characteristics like urban obstacles.
Other modelling systems have been developed for urbanscale air quality modelling motivated by similar needs for urban-scale air quality mapping and decision support sys-tems. These include the Danish AirGIS system (Jensen et al., 2001) using the street canyon air quality model OSPM, the CALIOPE-Urban system that couples the CALIOPE regional air quality model with the urban roadway dispersion model R-LINE (Baldasano et al., 2011;Benavides et al., 2019;Pay et al., 2010), the Swedish Enviman system (Tarodo, 2003), and the Austrian Airware system (Fedra and Haurie, 1999). These other models follow different approaches, but they all perform a necessary role in support of air quality management and fill a gap between regional-scale air quality models and more computationally expensive microscale modelling approaches. Development on EPISODE originally began in the 1980s, which was at a similar point in time as models such as AirGIS (outlined in Jensen et al., 2001, and references therein). Therefore, at the point of its original inception EPISODE was consistent with the state of the art at that time.
The only existing technical description of EPISODE, e.g. , describes an older version of EPISODE and is a technical report that has not been peer-reviewed. A strong motivation for this two-paper series is therefore to provide a definitive, up-to-date, and peer-reviewed record of EPISODE v10.0 and its extensions. This first paper (henceforth Part 1) of the series describes the components of EPISODE v10.0, i.e. Eulerian grid processes, photochemistry based on the photostationary state (PSS) approximation for NO, NO 2 , and O 3 photochemistry, sub-grid processes, and various preprocessing utilities. Importantly, the limitations of the PSS approximation for the NO, NO 2 , and O 3 chemical system limit EPISODE's application to conditions in which net photochemical production of O 3 makes little contribution to background O 3 levels. Part 1 therefore examines an application of EPISODE in the Nordic winter setting. Part 1 also briefly outlines the updates in v10.0 relative to the technical description in . The second paper in the series, Part 2 , describes the EPISODE-CityChem extensions to EPISODE, which includes the implementation of a more comprehensive photochemical scheme that can have wider applicability including lower-latitude locations. Part 2 describes an application of EPISODE-CityChem for the city of Hamburg.
Section 2 of this paper describes the EPISODE model and all of its components including external preprocessing utilities. Section 3 describes the case study and EPISODE model setup for seven cities in Norway. Section 4 describes the results from the case study and provides an evaluation of the model performance. Section 5 contains a summary and Sect. 6 the future work we have planned to further develop EPISODE independently of the planned work to develop EPISODE-CityChem described in Part 2 . The EPISODE v10.0 CTM simulates the emission, photochemistry, and transport of NO x in urban areas with the specific aim of simulating the pollutant NO 2 . Figure 1 provides an overview of each of the model components, i.e. model inputs and processes, and how they interact with one another.
The Eulerian 3D grid model is described in Sect. 2.2.1 and consists of an advection scheme, vertical and horizontal diffusion schemes, and area gridded emissions. The Eulerian grid model also includes the treatment of the initial and boundary conditions from background concentrations of pollutants and the photostationary state scheme for NO 2 , NO, and O 3 chemistry. We also discuss the topography inputs and the surface roughness inputs there.
The sub-grid model components in EPISODE are described in Sect. 2.2.2. They consist of line-and point-source sub-grid emissions and Gaussian dispersion of both source types. The last component of the sub-grid model consists of a concentration sampling methodology for Gaussian dispersion at user-specified receptor points. As a result, EPISODE provides output concentrations in the 3D grid and at the receptor points. The user defines the location of the receptor points and practically EPISODE can be run with up to 35 000 receptor points distributed over a city before significant degradation in computational performance occurs with higher numbers of points. The user can freely either define a regular grid at a fine scale, align the receptor points near pollution sources, e.g. along road routes, or enact some combination of both strategies. Note that the solution to the PSS for NO 2 , NO, and O 3 is also calculated at each receptor point.
The emissions inputs can be set up in a fully customisable manner such that emissions from a single sector or subsector can be emitted as area gridded emissions, sub-grid emissions, or both. In practice, the choice to emit a pollutant as area gridded or sub-grid emissions depends on the specific application of the EPISODE model and the level of detail that exists on the spatial distribution for a particular emission sector.
EPISODE is driven by different meteorological inputs in the Eulerian 3D grid (described in Sect. 2.3). In addition, external preprocessing utilities are used to prepare some of the meteorological inputs and other inputs into specific formats (e.g. emissions and boundary conditions) required by EPISODE (see Sect. 2.4). EPISODE v10.0 advances beyond the EPISODE version described in  in the following ways: adaptation to run with meteorological input from NWP models; adaptation to handle NetCDF I/O; adaptation to run with background chemical forcing from a regional air quality (AQ) model; simplification of the line-source and receptor point dispersion that removes the possibility of double counting errors and saves computation time; adaptation to be a stand-alone model separate from the AirQUIS air quality management system (Sivertsen and Bøhler, 2000;Slørdal et al., 2008a, b); calculation of the PSS every dynamical time step instead of every hour and throughout the entire vertical extent of the model instead of only at the surface; and addition of a new treatment of vertical eddy diffusivity specialised for urban conditions. EPISODE can also simulate the emission and transport of both PM 2.5 and PM 10 using all of the modelling components relevant for NO 2 except the PSS. Currently, both PM 2.5 and PM 10 are treated as inert tracers with just a single size bin and no secondary aerosol formation, but this will be modified in future versions of the model (see Sect. 6 and Part 2 of Karl et al., 2019, for further explanation). In addition, this future work will be supported by recent developments in PM emission process modelling (Denby et al., 2013;Grythe et al., 2019).

Eulerian grid model
The model horizontal gridding is specified in Universal Transverse Mercator (UTM) coordinates. The horizontal resolution has ranged between 200 m × 200 m and 1 km × 1 km in all recent applications of the model, but 1 km × 1 km is the resolution most typically used. The vertical grid is a terrain-following sigma coordinate system defined from an idealised hydrostatic pressure distribution. EPISODE is typically run with a relatively high vertical resolution for a CTM with a surface layer thickness of only between 19 and 24 m in height. This helps EPISODE to represent higher concentrations in the surface layer. We usually include between 6 and 14 vertical layers within the lowest 500 m of the atmosphere, between 3 and 11 vertical layers between 500 m and 1.5 km of the atmosphere, and between 4 and 11 vertical layers above 1.5 km in the free troposphere up to the typical vertical limit at 4000 m. Note that this upper limit is not a hard limit. The topography within the domain is defined on the Eulerian horizontal grid in terms of the average elevation above sea level in metres. It is specified as an input file to the model in ASCII format either according to mapping information or as a constant across the domain. The horizontal resolution of the Eulerian gridding in EPISODE has constraints applied on it arising from the equations governing the transport. The terms describing the vertical turbulent diffusion are represented according to the mixing length theory (Monin-Obukhov similarity theory). Monin-Obukhov similarity theory is only applicable as long as the chemical reaction processes are slow compared to the speed of the turbulent transport. This condition is not satisfied only in cases with extremely fast chemical systems, e.g. oxidation of monoterpenes above forest canopies. The O 3 and NO x chemical system is sufficiently slow for this condition to be satisfied. In addition, the characteristic time and length scales for changes in the mean concentration field must be large compared with the scales for turbulent transport (Seinfeld and Pandis, 2006), e.g. the scale at which large eddies are resolved. The validity of Monin-Obukhov simi-larity theory at small spatial scales places a limit on the resolution of the Eulerian main grid in EPISODE. In our applications here, we use a horizontal resolution of 1 km × 1 km, which should be well above the limitation created by these issues.
The pollutant concentrations are calculated by integrating forward in time the solutions for the 3D advection, diffusion, and photochemistry equations using operator splitting to separately solve the processes. The transport of pollutants in and out of the model domain is implicitly considered within the 3D advection equations. The derivation of the sigma coordinate transform of the advection-diffusion equation is described in the technical report .
EPISODE's numerical time step is calculated dynamically based on the critical time steps associated with the solution of the 3D advection and diffusion processes. The shortest critical time step across the three processes is then selected and applied for each process, including the PSS chemistry for NO 2 , NO, and O 3 at the grid scale. The time step is rounded downward to ensure that n steps = 3600(s)/dt is always an integer value. This way, all operations are performed an even number of times so that every second operator sequence is a mirror in time of the first sequence to reduce time-splitting errors. The dynamical time step typically has a duration of a few minutes.
Different schemes have been developed for the 3D advection and diffusion transport processes (see Table 1), as well as for other processes on the 3D grid, e.g. the treatment of background pollutant concentrations (see Table 2). These different schemes are described below.

3D advection schemes
Advection is used in EPISODE to represent both bulk transport both in the horizontal and the vertical. In the vertical dimension the advection term encompasses bulk vertical transport arising from convection that is assumed to be represented at the grid scale in the input wind fields. For example, in the case in which EPISODE uses 1 km×1 km meteorological input (see the Sect. 3 case study) from the Applications of Research to Operations at Mesoscale (AROME) (Bengtsson et al., 2017) NWP model, deep convection is explicitly resolved (Seity et al., 2011) at this resolution, while shallow convection is represented by a parameterisation (Pergaud et al., 2009).
Two different horizontal advection schemes are implemented in EPISODE and a single scheme for vertical advection. The first advection scheme is an implementation of Bott (1989Bott ( , 1992Bott ( , 1993 consisting of a fourth-order positive definite scheme. The scheme calculates fluxes between the grid cells based on a local area-preserving fourth-degree polynomial describing the concentration fluctuations locally. The Bott scheme (1989Bott scheme ( , 1992Bott scheme ( , 1993 has good numerical properties and small numerical diffusion, i.e. < 1 % in the most extreme cases (refer to Fig. 1f in Bott, 1989). Artifi-cial numerical diffusion is expected to arise in any Eulerian scheme, e.g. close to large pollution sources. It employs a time-splitting method to solve advection separately in the x and y directions with the order of operations for the x and y axes alternating every second time step. This scheme is used in every current application of the EPISODE model.
The second advection scheme is a variation of the first Bott scheme and consists of a fourth-order positive definite and monotone scheme. This implementation of the Bott scheme has only been used experimentally in EPISODE.
EPISODE has various methods for specifying the boundary conditions for background concentrations (see Sect As a test of the model's treatment of boundary conditions, the entrainment of ozone and PM 2.5 from the boundaries into the inner domain was studied in an artificial simulation in Appendix D in Part 2 of this article .
Vertical advection is calculated using the simple upstream method, which has the property of being strongly diffusive. However, this numerical diffusion is insignificant in comparison to the magnitude of the vertical turbulent diffusion term. The upstream method implicitly assumes that the threedimensional wind field is free of divergence and that it therefore attributes vertical motion to either convergence or divergence in the input horizontal wind fields. This ensures that the upstream method maintains mass conservation. This assumption should be satisfied within the wind fields from an NWP model, for example.

Vertical and horizontal diffusion schemes
The values of the eddy diffusivities depend on the properties of the flow field, which is difficult to solve in the grid reso-  Recommended for use in EPISODE Bott (1989Bott ( , 1992Bott ( , 1993 Positive definite and monotone fourth-degree Bott scheme Experimental, for test purposes only Bott (1992Bott ( , 1993 Advection in the vertical Simple upstream method Recommended for use in EPISODE Byun et al. (1999) Horizontal diffusion Fully explicit forward Euler scheme Recommended for use in EPISODE Smith (1985) Vertical diffusion Semi-implicit Crank-Nicolson diffusion scheme Recommended for use in EPISODE Byun et al. (1999) Urban K(z) method Newly implemented method, recommended for specific applications Beljaars and Holtslag (1991)  lution used here. Therefore, both the horizontal and vertical eddy diffusivities are calculated on the Eulerian grid using parameterisations. The transport of pollutants in the vertical direction is often dominated by turbulent diffusion. The parameterisation of the vertical eddy diffusivity therefore has important consequences for the vertical profiles of pollutant concentrations.
In the case of horizontal diffusion, a single parameterisation scheme has been implemented that consists of the fully explicit forward Euler scheme (Smith, 1985).
In EPISODE, the model user can choose between two different parameterisations of the vertical variations of vertical eddy diffusivity, K(z): (1) the standard K(z) method, which is the default used in every current application of EPISODE, or (2) the new urban K(z) method, which has been newly implemented in the EPISODE model. These are both described below. Both parameterisations depend on the atmospheric stability of the planetary boundary layer (PBL) and the vertical wind shear. The stability regime (related to atmospheric buoyancy in the PBL) affecting these K(z) methods is defined with a non-dimensional number z/L, where z is the height above the ground and L is the Monin-Obukhov length. The vertical wind shear is defined by the friction velocity, u * (m s −1 ). Both L and u * are estimated from the input meteorological variables on the 3D Eulerian grid; please refer to Sect. 2.2.2 in Part 2 of this paper  for further details. Note that the surface roughness is also required for the computation of u * . In accordance with Monin-Obukhov similarity theory, it is assumed that chemical species have non-dimensional profile characteristics similar to potential temperature, θ , such that K (z) equals the eddy diffusivity of the heat flux. In order to model the turbulent processes in the PBL in a realistic manner, it is essential to consider the vertical variation of the exchange coefficients. In the explicit closure schemes used here, profiles of K (z) are reconstructed from L and u * to account for the vertical variation of the turbulent exchange coefficients.
The applied vertical eddy diffusivity, K (z) , is defined as a sum of two terms: where K (z) * is a parameterisation depending on the stability regime and K (z) 0 is an added background diffusivity term. K (z) 0 is only applied within the boundary layer. The standard K (z) method is based upon the description given in Byun et al. (1999) and included in Sect. S1 of the Supplement. The standard K (z) method uses a constant background diffusivity of K (z) 0 = 0.01 m 2 s −1 . We now describe the new urban K (z) method here in the main text. For neutral conditions the expression from Shir (1973) is adopted: where κ = 0.41 is the von Kármán constant, and f is the Coriolis parameter.
For unstable conditions, we use the complex polynomial expression by Lamb and Durran (1978), which is applied as a component within a more comprehensive scheme in McRae et al. (1982).
For stable conditions, a modified equation by Businger and Arya (1974) is used. Businger and Arya (1974) developed a steady-state, first-order numerical K (z) model based on a non-dimensional eddy viscosity derived from the empirical log-linear profile for the stable atmospheric surface layer. In this equation, the temperature gradient parameterisation from Businger et al. (1971) is replaced by the non-dimensional temperature gradient ( H ) given by Beljaars and Holtslag (1991): where the suggested values of the empirical coefficients are α = 1, β = 2/3, γ = 5, and δ = 0.35. The expression of Businger and Arya (1974) for the vertical eddy diffusivity under stable conditions consequently becomes Note that the expression from Beljaars and Holtslag (1991) is scaled by 0.8 to be in better agreement with the temperature gradient from LES computations of the stable boundary layer made by Basu and Porté-Agel (2006). The new urban K (z) method considers a baseline turbulent mixing due to the urban roughness and anthropogenic heating effect in cities, with an apparent eddy diffusivity of and a linear variation of K (z) 0 between the two u * limits. The particular choice of K (z) 0 is based on a scale analysis. This analysis assumes that the respective minimum values of K (z) should be large enough to mix an air column with a thickness of z 1 or 2 z 1 during a 1 h period (thickness of the surface layer, i.e. the lowermost model layer) when u * is less than 0.1 m s −1 or larger than 0.2 m s −1 , respectively . For u * less than 0.1 m s −1 and z 1 = 20 m, K The dimensionless parameter, surface roughness, z0, is required by the vertical diffusion schemes to help calculate the extent of the vertical turbulent mixing. Surface roughness has to be specified on the Eulerian grid within an ASCII input file. Surface roughness can be specified as a constant across the whole domain, specified according to an external map of the land cover type across the domain, or imported from the NWP into EPISODE.

Area gridded emissions
Emissions in EPISODE can be input directly into the 3D Eulerian grid as area-source emissions. In this case, emission inputs have to be specified on the domain grid at the working resolution of the model for every hour of the simulation. EPISODE also supports full customisability for the injection heights, allowing any proportion of emissions to be emitted at a particular layer. Further details on the area emissions and the input files are described in Appendix A.
EPISODE is typically run using either top-down or bottom-up emissions that undergo preprocessing to set any desired temporal variability (hourly, daily, and weekly) in the emissions.

Boundary and initial conditions from the pollutant background concentrations
Three options exist (see Table 2) for the specification of pollutant initial and boundary conditions in EPISODE. The first option is to specify a single background concentration at all locations in both the model domain (for initial conditions) and in the grid cells adjoining the model domain. In this case, concentrations can be specified to be time-varying on an hourly basis (only recommended in specific instances) or to remain constant in time (only recommended for testing purposes). This option could be used in a situation when only a single background observation station existed near a city in order to create a time series for a pollutant. The timevarying background concentration is specified in an ASCII input file, while the time-invariant concentration is specified in the EPISODE run file.
The second option is to specify a single vertical profile of background concentrations for every grid cell in the horizontal domain and adjoining background grid cells. The vertical profile must have a vertical resolution matching the model's configuration. This can be done so that the profile is defined on an hourly basis or remains constant in time. The latter option is only recommended for testing purposes, but the timevarying option would be appropriate if the background concentrations are defined by a coarse-horizontal-resolution (i.e. > 50 km) regional or global CTM. If used, the temporally varying vertical profiles and the constant vertical profile need to be specified in ASCII input files that are referenced in the EPISODE run file. The last option allows for the specification of background concentrations on the 3D-grid of the model. In this case, the concentrations are specified on the same horizontal and vertical grid as the model and the adjoining grid cells outside the model domain in the x, y, and z dimensions. The background concentrations are specified on an hourly basis in NetCDF or ASCII input files. This option in EPISODE gives the opportunity to run EPISODE in a one-way nesting configuration embedded within a regional-scale CTM. So far, this option has been used with three different regional-scale CTMs to provide the fields of pollutant background concentrations. In the first example, outputs from the Copernicus Atmospheric Monitoring Services (CAMS) regional production (Marécal et al., 2015) were interpolated from their 10 km horizontal resolution down to a resolution of 1 km. This configuration has been used in the Nasjonal Beregningsverktøy (NBV) (Tarrasón et al., 2017) and BedreByLuft projects , which both focused on air quality in Norwegian cities. In the second example, output from the EMEP CTM model (Simpson et al., 2012) was also used in a similar fashion to provide background concentrations. In the third example, the CMAQ model (Byun and Schere, 2006) was used to provide background concentrations with the CMAQ output interpolated from 4 km horizontal resolution down to ∼ 1 km. CMAQ is used in the example presented in Part 2 of this article .

Photostationary state scheme
EPISODE has been designed to be used in urban environments at high latitudes. Under conditions that are polluted (in terms of NO x ) and that have relatively low levels of sunlight, it is possible to make simplifying assumptions about the photochemistry governing the pollutant NO 2 .
Only a small fraction of NO x emitted from motor vehicles and combustion sources is in the form of NO 2 (e.g. with an approximate mean of 15 %), the largest fraction being NO. The majority of ambient NO 2 originates from the subsequent chemical oxidation of NO. Under polluted, low-light conditions, the vast majority of this oxidation occurs via reaction with O 3 (Reaction R1).
Even at the latitude of Oslo, NO 2 can have a lifetime with respect to photolysis on the order of minutes at midday in winter. Reaction (R2) and the subsequent reformation of O 3 via Reaction (R3) must therefore be considered if we want to describe NO 2 concentrations under these conditions.
Reaction (R3) between the oxygen radical (O( 3 P)) and molecular oxygen (O 2 ) occurs very rapidly and can be as-sumed to occur instantaneously. We can then reduce the photochemical system describing NO 2 , NO, and O 3 to the equilibrium reaction described in Reaction (R4): whereby the forward reaction describes the production of NO 2 via Reaction (R1) (reaction coefficient k (O3+NO) ), and the backward reaction (rate coefficient described by J NO 2 ) consists of the combined photodissociation of NO 2 (via Reaction R2) and the subsequent, assumed, instantaneous formation of O 3 (via Reaction R3). The reaction rate for Reaction (R2) is calculated with a parameterisation (Simpson et al., 1993) that uses sun angle and cloud cover to calculate J NO 2 , which is described by Eq. (S2.2b) within Sect. S2 in the Supplement. We assume that this photochemical mechanism is adequate for polluted Nordic wintertime conditions when net photochemical production of O 3 and losses of NO x via nitric acid production are at a minimum. However, when solar ultraviolet (UV) radiation is stronger, in particular during summer months or at more southerly locations, net ozone formation may take place in urban areas at a certain distance from the main emission sources (Baklanov et al., 2007). Please refer to Part 2 of this article  wherein the EPISODE-CityChem model is described, which uses a more comprehensive photochemical scheme suitable for more sunlit environments. The PSS approximation is used to resolve the NO 2 , NO, and O 3 photochemistry on the 3D Eulerian grid and at the receptor points for the sub-grid-scale model. The PSS is an analytical mathematical solution that can be applied to Reaction (R4) to estimate the concentrations of NO 2 , NO, and O 3 . The PSS has two key assumptions. First, the chemical system is in equilibrium; second, equilibrium is attained instantaneously. These assumptions imply that the residence time of pollutants is much larger than the chemical reaction timescale, and they are valid for polluted urban conditions. Section S2 in the Supplement gives an in-depth explanation of the PSS and how it is applied in this case for Reaction (R4).
Taken together, the PSS and its application to Reaction (R4) are therefore adequate for the Nordic case studies we present in this paper and for the previous and existing applications of the EPISODE model in Norway.

Line-and point-source emissions
We describe here the implementation of the sub-grid-scale emissions in EPISODE. The line-source and point-source emissions are prepared in advance by one of two possible preprocessing utilities. These utilities are described in Sect. 2.4.
For the line sources, these tools prepare two emission files that are defined in the run file and read directly into EPISODE at runtime. The files describe necessary details such as location, road length, and emission source strength. Further details of both files are described in Appendix A. The point-source emissions are used for describing emissions from stacks. The details of each stack are specified in a separate emission file that details the emission source, e.g. stack height and emission rate. Further details are described in Appendix A. EPISODE reads in this information at runtime and calculates the injection heights for the point-source emission using a parameterisation based on Briggs (1969Briggs ( , 1971Briggs ( , 1974Briggs ( , 1975) that considers the processes of stack downwash and buoyancy-driven plume rise under different stability conditions.
The stack downwash process modifies the physical height of the chimney to estimate an effective stack height (Briggs, 1974). Buoyancy-driven plume rise will affect the final plume height in different ways according to the boundary layer stability conditions, and therefore there are different parameterisations for either unstable and neutral conditions or stable conditions. The final injection height is calculated by taking into account the effects of the adjacent building (considering its height and width) on building-induced disturbances of the plume flow, plume penetration through elevated stable layers, and topography. Further details of the parameterisations are described in Sect. S3 of the Supplement.

Line-source Gaussian dispersion
The line-source model is based upon the steady-state integrated Gaussian plume model HIWAY-2 (Petersen, 1980). A fixed rectangular area of influence surrounds each road link that defines the zone within which emissions from line sources are assumed to affect concentrations at receptor points within a single dynamical time step. Figure 2 shows an illustration of the area of influence around an example road link. The boundaries of the distance of influence extend R inf (the influence distance) from the road link centres perpendicular to the road link direction. In the longitudinal direction, the distance of influence extends R inf from the two ends of each road link. The area of influence excludes receptor points assumed to be on the road links themselves, which is defined by the distance R min (Fig. 2). R min is 5 m plus half the road link width.
HIWAY-2 resolves the dispersion from the line sources by splitting each road link up into smaller line-source segments and then calculating the dispersion from these segments individually. The line-source segments are of equal length and are spaced equally along the road links. The emission intensities from each segment, E l , are calculated as a fraction of the total emission along the road link, E R , according to where D l is the length of the line-source segment and D R is the total length of the road link. Therefore, all of the seg- ments emit equal pollutant mass, which is proportional to the fractional length of the road segment D l /D R . Note that E l is in grams per second (g s −1 ), whereas E R is in grams per second per metre (g s −1 m −1 ). HIWAY-2 only calculates the dispersion from the line sources to each of the receptor points within their respective areas of influence during the last dynamical time step of each hour. Note that EPISODE only outputs pollutant concentrations on an hourly basis. Prior to the last dynamical time step, line-source emissions are only emitted directly into the Eulerian grid (see Sect. 2.2.2). The implicit assumption is that due to the short transport distance, emissions from road links can only affect receptor point concentrations within the distance of influence, R inf , on short timescales equivalent to a single dynamical time step. The length of the dynamical time step scales with the wind speed such that higher wind speeds result in shorter dynamical time steps. The user can set the R inf for each road link, but typically a value of 300 m is used. That is the R inf used in the case study in this paper, which corresponds to a value well below the simulated distance typically travelled by an air mass in a single dynamical time step.
The line-source dispersion model is described in further detail in Sect. S4 of the Supplement.

Point-source Gaussian dispersion
Two point-source plume parameterisations have been implemented in EPISODE to represent dispersion from chimney stacks. The first scheme is a Gaussian segmented plume model called SEGPLU (Walker and Grønskei, 1992) following the general method described by Irwin (1983). The second scheme is a puff model called INPUFF (Petersen and Lavdas, 1986). Both schemes use point-source emissions and their injection heights calculated following Briggs (1969Briggs ( , 1971Briggs ( , 1974  Supplement. The emissions from point sources are treated as a sequence of instantaneous releases of a specified pollutant mass that then, in turn, becomes a discrete puff or plume segment. The subsequent position, size, and concentration of each plume segment or puff is then calculated in time by the model during each dynamical time step. This information is used to calculate a plume segment's or puff's contribution to the receptor point surface concentrations during the last dynamical time step of each hour. Plume segments and puffs stop being traced during any dynamical time step in the following cases: (1) they move outside the model domain; (2) they become too large; (3) they encounter a large change in wind direction causing them to become spatially separated. If the segments or puffs become too large or are separated whilst within the model domain, the pollutant mass within them is transferred to the grids in which they currently reside during that dynamical time step; otherwise, they are deleted (see Sect. 2.2.2 for more details).
The SEGPLU and INPUFF models are described in further detail in Sects. S5 and S6 of the Supplement, respectively.

Receptor point concentration calculation
The concentrations at receptor points are calculated at the end of each hour by combining the concentrations at the surface layer of the Eulerian grid with the contributions from line and point sources. Up until that time step, the model only calculates the chemistry and transport on the Eulerian grid, while also simultaneously calculating the position and concentration of plume segments and/or puffs. The receptor point concentration at the end of each hour can be described by Eq. (7): where C t rec (r * ) is the receptor point concentration at receptor point r * at time t, C t−1 m is the Eulerian grid concentration from the penultimate dynamical time step during each hour (for the grid cell x, y, z = 1 where r * is located), C t line,l is the line-source segment concentration contribution from line-source segment l, and C t point,p is the point-source concentration contribution from a plume segment or puff, p. To resolve Eq. (7), EPISODE sums up the concentration contributions from the total number of line-source segments, L, within R inf distance of the receptor point and the total number of point sources P . The Eulerian grid concentration from the penultimate dynamical time step, C t−1 m , is used to prevent double counting because it does not include line-and point-source emission contributions from the final, and current, dynamical time step in the hour. Testing (not shown) demonstrates that using this assumption in combination with an R inf of 300 m (see Sect. 2.2.2) reliably reduces double counting of emissions to negligible levels.
For the simulation of NO 2 , EPISODE resolves Eq. (7) for both NO and NO 2 , thus calculating C t rec (r * ) for both compounds. Using the Eulerian grid concentration of ozone combined with the NO and NO 2 receptor point concentrations, the photochemistry is solved at each receptor point using the PSS to create updated concentrations for NO 2 , NO, and ozone that are provided as the hourly model outputs.

Interaction between receptor and Eulerian grid concentrations
Until the final dynamical time step of the hour, the emissions from line-source segments are emitted directly into the grid in which they reside during each time step. Each line-source segment in an Eulerian grid cell (x, y, z) makes a contribution to the Eulerian grid concentration, C m , which can be described as a tendency, dC m,L * /dt, via where V (x, y, z) is the volume of the Eulerian grid cell (x, y, z) into which the emissions occur, and dt is the length of the dynamical time step. Since we are discussing line segments within a specific grid cell we use a specific and distinct notation different from that in Eq. (7). Therefore, a linesource segment in a particular grid cell (x, y, z) is denoted as l * and the total number of line segments in a grid cell as L * . In practice, the emissions from road links are emitted directly into the lowest layer of the Eulerian grid. Line segments are sufficiently short in length that each one can emit entirely within a single Eulerian grid cell. The change in grid concentration, C m,L * , due to linesource segment contributions is calculated via In the last dynamical time step of the hour, pollutants from line sources are both emitted directly into the Eulerian grid according to Eq. (8) and are also dispersed to the receptor points according to the descriptions in Sects. 2.2.2 and S4 of the Supplement. Point-source emissions also contribute to the concentrations at receptor points and the Eulerian grid. Point sources continually emit plume segments or puffs every dynamical time step that are dispersed and advected according to Sect. 2.2.2 and Sects. S5 and S6 of the Supplement. At the end of each hour, plume segments and/or puffs are assessed to see if they co-locate with receptor points at the surface; in this case, they contribute to the receptor point concentrations via Eq. (7). In the case that plume segments or puffs become invalid, they will be deleted, and the pollutant mass within them, m p , will be added to the concentration of the grid cell in which they reside as a tendency specific to that plume seg-ment or puff, dC m,p /dt. This tendency is calculated via and the change in grid concentration, C m,p , resulting from the deleted plume segment or puff mass is calculated via

Meteorological inputs
The meteorological inputs can be provided by a separate NWP, from The Air Pollution Model (TAPM), or from an observationally driven diagnostic model called MCWIND. These different meteorological inputs drive the transport processes at both the grid and sub-grid scales. The Applications of Research to Operations at Mesoscale (AROME) (Bengtsson et al., 2017) and Weather Research and Forecasting (WRF) (Skamarock et al., 2019) NWP models have both been used to provide inputs for EPISODE. In the case of AROME, we access the Norwegian Meteorological Institute's THREDDS server (https://thredds.met.no/ thredds/catalog.html, last access: 7 April 2020) to retrieve the data that are needed. We run the WRF model for the specific cases we study for situations when AROME data are not available. TAPM (Hurley, 2008;Hurley et al., 2005) is a prognostic meteorological and air pollution model that can be used to create meteorological input for EPISODE; please consult Part 2 of this paper for more details on TAPM and an example of its application .
The MCWIND utility produces a diagnostic wind field and other meteorological fields for the defined model grid by first constructing an initial first-guess wind field based on the measurements of the horizontal wind and vertical temperature differential at two or more meteorological stations. Then the horizontal 2D fields are interpolated to the 3D grid of the model domain by applying Monin-Obukhov similarity theory. Finally, the first-guess 3D wind field is adjusted to the given topography by requiring the resulting wind field in each model layer to be non-divergent and mass-consistent.
The meteorological inputs have to be provided on the 3D spatial gridding used by the EPISODE model, which is defined in the EPISODE input run file. Thus, in the case of AROME, WRF, TAPM, and MCWIND, these external models and utilities have to be run at the same spatial resolution as the planned EPISODE simulations. In most applications EPISODE is run at 1 km × 1 km horizontal resolution but has been run at 200 m×200 m resolution. The typical vertical resolution used is such that the layer adjacent to the surface is 24 m thick, there are 20 layers within the first kilometre, 8 layers between 1 and 2 km in altitude, and a further 7 beyond that up to 3.5 km. The meteorological inputs are typically provided at hourly intervals and have been done so for all current and recent applications. However, the interval can be set to different times depending on the limitations of the input meteorological data.

Preprocessing utilities
Several preprocessing utilities are used in conjunction with the EPISODE model. These utilities are used for preparing meteorological inputs, emissions files, and boundary condition files used in the running of an EPISODE simulation. The preprocessing utilities are as follows: 1. CAMSBC (collection of routines to convert CAMS regional production to EPISODE background input)the CAMS regional data can be used as background pollutant concentrations and can be downloaded directly from the CAMS online data portal (CAMS online data portal: https://atmosphere.copernicus.eu/data, last access: 7 April 2020); 2. UECT (interface for line-source, point-source, and areasource emissions; allows the use of EPISODE independent of AirQUIS); 3. TAPM4CC (interface to convert TAPM meteorology output when TAPM is used as a source of meteorological input); and 4. utilities to generate auxiliary input. Table 3 gives an overview of the purpose of the preprocessing utilities as well as outlining the input and output formats and descriptions.

Case study description and model setup
As a demonstration and validation of EPISODE's capabilities we carry out simulations of NO 2 concentration levels over six Norwegian cities. The chosen urban areas are Oslo, Trondheim, Stavanger, Drammen, Grenland (including the city of Skien), and Nedre Glomma (encompassing both Fredrikstad and Sarpsborg on the Glomma river). The model domains for these urban areas are shown in Fig. 3. The EPISODE model is run for the entire year of 2015 using meteorological input from the AROME model, which was run operationally over the six city domains by the Norwegian Meteorological Institute (Denby and Süld, 2016). The AROME model simulations are carried out at 1 km × 1 km horizontal spatial resolution on the exact same gridding and domain as the EPISODE model simulations for each city.
The AROME meteorological outputs are provided every hour and are read into EPISODE at the same frequency. Further details of the meteorological fields used in EPISODE are documented in Sect. S7 of the Supplement. AROME provides NetCDF files for input, and the surface roughness and topography used in AROME were extracted from these files.
The NO x emissions used for the simulations for each of the six city domains were developed as part of the NBV project (Tarrasón et al., 2017). The methodologies for the creation of the emission datasets are described in Lopez-Aparicio and Vo (2015). The data sources, methodology, and emission reference years are summarised in Table 4 for each sector. Different approaches were used to compile the emission datasets depending on the data availability for the specific emission sector. On-road traffic emissions are estimated based on a bottom-up traffic emission model. The traffic emission model produces emissions for each road link. It takes into account traffic volume (i.e. average daily traffic, ADT) and the heavy-duty fraction of traffic on specific road types (e.g. highway, city street). In addition, the emission model considers the road slope. This information is obtained from the Norwegian Road Administration. The ADT is combined with temporal profiles of daily traffic to obtain hourly ADT at the road level. The vehicle fleet composition is defined as a fraction of each vehicle technology class (EURO standard) and fuel type, which, combined with the HBEFA emission factors and the hourly fraction of ADT, results in emissions on each road segment. The information regarding the vehicle technology class is obtained from regional statistics (Opplysningsrådet for Veitrafikken, 2013).
Emissions from non-road mobile machinery in construction, industry, and agriculture were originally produced by Statistics Norway, spatially distributed at the district level and thereafter gridded at 1 km × 1 km resolution. The pre-vious data stem from different years in each model domain: Drammen from 2012, Oslo from 1995, Stavanger from 1998, and Trondheim from 2005. Non-road mobile machinery is not available in Grenland and Nedre Glomma.
For all cities except Oslo, emissions from shipping are obtained from the Norwegian Coastal Administration based upon the automatic identification system (AIS) following the methodology of Winther et al. (2014). In the case of Oslo, emissions were estimated following a bottom-up approach based on the port activity registering system . This includes detailed information on arrivals, departures, and operating times for individual vessels. Industrial emissions were originally provided by Statistics Norway. Industrial emissions are usually linked to the geographical position of large point sources. In the case of Grenland and Nedre Glomma sufficient information (i.e. emission rate, location, stack height and diameter, flue gas speed, and plume temperature) on industrial point sources existed to be able to represent these pollution sources as point sources and to calculate their buoyancy-driven plume rise. However, when achieving this level of detail this was not possible for industrial sources, as in the case for Oslo, Stavanger, Trondheim, and Drammen, they were distributed spatially based on surrogate data, e.g. employment figures in the industrial sector. Finally, for some locations (e.g. Grenland; Table 4), the original dataset of industrial emissions was outdated. In this case, emissions were evaluated and updated based on infor-   Table 5 describes how each sector is represented by the different possible emission types, e.g. line or area sources, and presents the ratios between NO and NO 2 for the NO x emissions. The fraction of NO 2 in emitted NO x (as NO 2 mass equivalent) varies between 4.5 % and 45.9 % depending on the source.
The initial and background hourly concentrations used in the simulations are obtained from the CAMS regional air quality forecast production system (Marécal et al., 2015). The NetCDF files containing NO, NO 2 , and ozone for a domain covering all of Norway and all vertical levels (0, 50, 250, 500, 1000, 2000, 3000, and 5000 m) came from the CAMS online data portal: https://atmosphere.copernicus.eu/ data (last access: 7 April 2020). The CAMS regional forecast data are selected for each city domain and then interpolated horizontally and vertically to the gridding used in EPISODE. In this case study, we used the 34 vertical levels shown in Table 6. Table 6
The most notable features of the spatial patterns present in all of the maps are the elevated concentrations along the principal segments of the road network and main intersections. For example, motorway E18 is visible in the Oslo domain (Fig. 4) running in the east-west direction along the Oslo fjord, in the Drammen domain (Fig. 5) running in the north-south direction on the right side of the map, and in the Grenland domain (Fig. 7) in the southeast corner of the domain. In addition, the E6, another motorway, is visible in Oslo running north-south to the east of the fjord and in Nedre Glomma (Fig. 6) running north-south on the east side of the map. Also visible are district roads like the ones to the east of Oslo (RV4, RV163, and RV159) and road N234 along the north of Drammensfjorden. This reflects the main source for NO x emissions in Norwegian cities: traffic. Oslo has the largest population and largest number of commuters, and this is reflected in the largest hotspot area of concentrations ≥ 40 µg m −3 of the four presented maps.
Other notable features of elevated NO 2 pollution on the maps are what appear to be point-source emissions: in Oslo in the southernmost region of the domain along the E6 (59.74 • N, 10.82 • E) (Fig. 5) (Fig. 6). These elevated levels are due to emissions from tunnel mouths. In the Oslo this is the north-south entrances of Nøstvet Tunnel on the E6 and in Drammen the east-west entrances of Strømså Tunnel. The tunnel mouth emissions are prescribed by creating road segments at either end with elevated traffic levels. Oslo and Drammen are characterised by annual mean suburban NO 2 concentrations of 10-20 µg m −3 . Oslo, with higher emissions, shows higher background concentrations and a smoother gradient from the city centre to the forested areas with concentrations in the range 0-5 µg m −3 . Despite Drammen having similar levels of population as the cities in Nedre Glomma and Grenland, it still shows some relatively high NO 2 concentrations compared to these two domains. This is because Drammen sits on the primary commuting route between Oslo and cities to the west and thus has significant commuting traffic.
Both the Nedre Glomma and Grenland model domains have populations divided into two main agglomerations: Sarpsborg and Fredrikstad in Nedre Glomma and Porsgrunn and Skien in Grenland. This leads to NO 2 annual mean concentrations in the city centres and suburban areas lower than either Oslo or Drammen. In Nedre Glomma (Fig. 6) the annual average NO 2 concentrations reflect the background outside the urban areas and away from the main roads. The background mean NO 2 concentration in this area does not fall below 5 µg m −3 because the rural areas in this domain are actually mostly farmland with many off-road service roads that support farmland. This means there is much greater off-road activity and off-road emission sources in this area compared to the other domains.
One aspect of the Grenland domain is the prevalence of industrial pollution sources. Industry is concentrated on the Herøya peninsula at the mouth of the Posrgrunnselva river (in the centre of the domain) and on the western side of the fjord in the southern half of the domain. Mean annual NO 2 concentrations are somewhat elevated in these areas with values ∼ 25 µg m −3 . The industrial emissions are treated as stack emissions injected into model layers tens of metres above the surface due to their plume buoyancy and the stack height. This explains why their impact is seen as a more diffuse zone of pollution around the industrial areas.

Full-year and seasonal model evaluation
We evaluate the year-long NO 2 simulations for 2015 for all six domains (Oslo, Drammen, Grenland, Nedre Glomma, Stavanger, and Trondheim) using in situ air quality observations of NO 2 . Both the model and observation data will be evaluated in hourly format unless otherwise stated. Due to its size and population Oslo has an increased regulatory re- quirement to monitor its pollution, and it is therefore the most well-sampled city with a total of eight in situ measurement sites compared to only two at most in the other domains. A receptor point is placed at the coordinate and height of each in situ station shown in Table 7. The simulated concentrations at these receptor points are then used in the evaluation.
We present Taylor diagrams to evaluate the model results compared to the in situ observations. Taylor diagrams visually represent the results of three statistical tests (Pearson correlation coefficient, the root mean square error, and the ratio of the model standard deviation to the observed standard deviation) in a simultaneous fashion. The Taylor diagrams provide a good overall indication of the model performance purely from a statistical standpoint. Figure 8 shows the results of the statistical tests for the year-long simulation during 2015. Looking at the σ M/σ O ratios, we see in general that the model captures the amplitude of NO 2 concentration variability reasonably well across all but one of the stations (Våland) with a range in σ M/σ O from 0.62 to 1.40. There is a tendency of the model to neither overestimate nor underestimate σ , with an almost equal number of stations above and below 1.0. Only Våland (Stavanger) shows a high spread in modelled NO 2 concentrations compared to the observations, with a σ M/σ O ratio of 1.67. We can rule out the effect of a persistent bias at Våland since the model shows only a small positive bias (+1.64 µg m −3 ) with respect to these observations. Instead, this overestimate in the dynamic range appears to be linked to an overestimation in the NO 2 diurnal variability during summer. It is possible this is due to an error in the emission magnitude and variability local to Våland during summertime. The comparison with the Kannik station, also in Stavanger, supports this notion since it shows a value of σ M/σ O much closer to 1.0 than for Våland. All but 1 of the 16 in situ stations score values of R between 0.5 and 0.67, with only Kannik scoring lower than 0.5 at 0.49. The RMSE ranges between 0.77 and 1.18 µg m −3 for 15 out of the 16 stations. Only Våland has a much higher RMSE at 1.45 µg m −3 , which is linked to its high σ M/σ O ratio. The results of each statistical test for each station are shown in the Taylor diagrams (Figs. 8,9,and 10) and are summarised in Table 8 (Table 7). The dark shaded areas represent the sea, lakes, and rivers. The black lines are roads. © OpenStreetMap contributors 2019. Distributed under a Creative Commons BY-SA License. and 1.06 µg m −3 , respectively. This characterises the general model performance. We next evaluate the EPISODE model simulations using only data from the wintertime (January, February, and December combined). We carry out this specific evaluation in order to test the EPISODE model under conditions in which the PSS approximation is likely fulfilled. The PSS is expected to be a reasonable approximation for conditions lacking local photochemical ozone production such as during winter in Nordic environments. Figure 9 shows the results of this evaluation in a Taylor diagram. Evaluating the model solely during winter conditions leads to a substantial improvement in model performance scores. Now 14 out of 16 in situ stations have R values above 0.6, peaking up to 0.69. Only the stations Elgeseter (Trondheim) and Øyekast (Grenland) score below 0.6, both with values of 0.58. Ex- Figure 8. A Taylor diagram calculated using the annual hourly time series of NO 2 concentrations for all 16 in situ stations used for the model evaluation across all six domains. The symbols are colourcoded according to each model domain: Drammen is red, Oslo is cyan, Trondheim is green, Stavanger is pink, Grenland is dark blue, and Nedre Glomma is orange. The x and y axes both represent the ratio of the model standard deviation to the observed standard deviation in NO 2 concentrations for a particular station such that points can be plotted on concentric circles centred on the x and y origin. The correlation is plotted according to the azimuthal angle from the origin represented as a series of straight lines emanating from the x and y origin. Lastly, the RMSE (µg m −3 ) is also represented for each station according to their linear distance from 1.0 on the x axis. Drammen is red, Oslo is cyan, Trondheim is green, Stavanger is pink, Grenland is dark blue, and Nedre Glomma is orange. The x and y axes both represent the ratio of the model standard deviation to the observed standard deviation in NO 2 concentrations for a particular station such that points can be plotted on concentric circles centred on the x/y origin. The correlation is plotted according to the azimuthal angle from the origin represented as a series of straight lines emanating from the x/y origin. Lastly, the RMSE (µg m −3 ) is also represented for each station according to their linear distance from 1.0 on the x axis.
Bygdøy Alle, Hjortnes, and Alnabru in Oslo and Elgeseter in Trondheim, all tend to underestimate peak daytime NO 2 concentrations. The RMSE is reduced overall for the 16 stations: the RMSE ranges between 0.74 and 1.00 µg m −3 with only Våland showing and an RMSE of 1.09 µg m −3 for similar reasons as explained earlier. The mean wintertime statistics are shown in Table 8, which demonstrate a notable improvement in performance compared to the annual statistics. We also checked the statistics during the autumn (no figures shown) and see an improved performance during the period 1 September to 30 November (see Table 8) relative to the rest of the year and the summer. The expectation is that the PSS should provide a reasonable approximation of NO 2 photochemistry during the winter months. This seems to be supported here by the improved statistics that we see during wintertime compared to the entire year. Furthermore, experiments in Part 2  comparing the PSS to the more comprehensive Em-Chem09 chemical mechanism (70 compounds, 67 thermal reactions, and 25 photolysis reactions) show that it performs adequately within the vicinity of NO x sources. However, despite these encouraging results, the PSS does not include N 2 O 5 formation and subsequent hydrolysis to form HNO 3 . These reaction pathways are an important sink for NO x dur- Figure 10. A Taylor diagram calculated using the summer-only (June, July, and August) hourly time series of NO 2 concentrations for 13 in situ stations used for the model evaluation across five out of the six domains (excluding Stavanger). The symbols are colourcoded according to each model domain: Drammen is red, Oslo is cyan, Trondheim is green, Stavanger is pink, Grenland is dark blue, and Nedre Glomma is orange. The x and y axes both represent the ratio of the model standard deviation to the observed standard deviation in NO 2 concentrations for a particular station such that points can be plotted on concentric circles centred on the x/y origin. The correlation is plotted according to the azimuthal angle from the origin represented as a series of straight lines emanating from the x/y origin. Lastly, the RMSE (µg m −3 ) is also represented for each station according to their linear distance from 1.0 on the x axis.
ing the night (Dentener and Crutzen, 1993), and this is therefore an important limitation of the PSS.
We present evaluation results only for the summertime in the Taylor diagram shown in Fig. 10. We see a notable degradation in model performance in terms of R and RMSE for all stations. In addition, half of the model stations show anomalously high σ M/σ O ratio with values of 1.3 or above. We attribute this poorer model performance to the lack of photochemical production of NO 2 and ozone represented in the PSS chemistry scheme; without this process we should expect a different diurnal variability in NO 2 concentrations from that observed. Even in Oslo, we expect ozone production during the summer months. This is therefore a clear limitation of the PSS, which should have a greater impact in locations further from pollution sources . Table 8 shows the mean statistics for the 13 stations shown in Fig. 10, and the R and RMSE statistics show an overall degraded performance relative to the annual and wintertime evaluations.
We next evaluate the model performance using the DELTA Tool target plots (Monteiro et al., 2018;Thunis and Cuvelier, 2018;Thunis et al., 2012). These plots offer a means of evaluating different aspects of model performance directly on the axes of the plots, i.e. normalised bias and the centred root mean square error (CRMSE) on the x and y axes, respectively. The DELTA Tool plots also offer a means to evaluate the model within the context of the EC directive while also considering the observation uncertainty. Thus, this type of evaluation offers a different perspective from the statistical measures in the Taylor diagram evaluations. For further details of the DELTA Tool method, consult Appendix C and the references above. The position of a particular modelobservation pair (individual points show the results for single stations) in each quadrant reveals which type of error dominates over the other. Specifically, correlation error expressed as R dominates over standard deviation error in the left quadrants, and vice versa in the right quadrants. Meanwhile, points in the upper quadrants indicate positive model bias and the opposite in the lower quadrants. Additionally, the tool uses the CRMSE and normalised bias to calculate a target value, which is also visualised on the target plot as the distance from the origin. The objective is to have points with a target value of 1 or less and thus lie within the green area of the plots.
Separately, the DELTA Tool calculates the model quality indicator (MQI) (see Appendix C and references therein for further details), which determines whether the modelobservation bias is less than the observation uncertainty. Furthermore, Monteiro et al. (2018) and Thunis and Cuvelier (2018) define the model quality objective (MQO) as whether the 90th percentile of MQI for all stations is less than 1. If this criterion is satisfied the model quality objective is satisfied. Figures 11, 12, and 13 show the target plots for the yearround evaluation, the wintertime-only evaluation, and the summertime-only evaluation, respectively. The target plots highlight an important and consistent feature of the model performance throughout the year, which is that all of the model-observation evaluation pairs lie in the upper and lower left-hand quadrants. This indicates that the correlation error, expressed as R, dominates the contribution to the CRMSE error term.
We first discuss the annual evaluation shown in Fig. 11. The MQO is satisfied for the annual evaluation with the 90th percentile of the MQI calculated at 0.971. Only one station, Bygdøy Alle, has a large enough negative bias to have a specific MQI value above 1. Overall, an equal number of stations have a positive and negative normalised bias. However, there is an apparent signal in the Oslo results for a negative bias in this evaluation, and the magnitude of the negative biases is slightly larger than the positive biases.
EPISODE achieves the MQO during winter with the 90th percentile of MQI being calculated at 0.995. This is despite two stations in Oslo, Åkebergveien and Bygdøy Alle, showing larger than acceptable low biases during the wintertime period. Both stations are visible in the lower left quadrant outside the green target zone. Given the reasonable correlations at both stations, we can perhaps infer that a persistent model or emission process is the cause of this effect. Fur- Figure 12. Target plots created using the winter-only (December, January, and February) hourly time series of NO 2 concentrations for all 16 in situ stations used for the model evaluation across all six domains. The symbols are colour-coded according to each model domain: Drammen is red, Oslo is cyan, Trondheim is green, Stavanger is pink, Grenland is dark blue, and Nedre Glomma is orange. Figure 13. Target plots created using the summer-only (June, July, and August) hourly time series of NO 2 concentrations for 13 in situ stations used for the model evaluation across five out of the six domains (excluding Stavanger). The symbols are colour-coded according to each model domain: Drammen is red, Oslo is cyan, Trondheim is green, Stavanger is pink, Grenland is dark blue, and Nedre Glomma is orange. Note that there are three missing stations (RV4 Aker Sykehus, Kannik, and Våland) during the summer analysis due to insufficient data. ther study will be required to determine in detail the cause of this, but one possibility is the current lack of a specific consideration of cold-engine starts that have a tendency to increase NO x emissions from vehicle sources during wintertime. Such an explanation would be consistent with the overall bias evaluation in the target plot where we see that there are more stations with a negative bias than a positive bias. Similarly as in Fig. 11, the magnitude of the negative bias is larger than the magnitude of the positive bias, and, similarly, it is the Oslo stations that have a greater tendency to show a negative bias. We note that the MQO is also satisfied during the autumn (figure not shown) with the 90th percentile of the MQI being calculated at 0.996.
Despite the degraded performance shown in the Taylor diagram for the summer in Fig. 10, the MQO is satisfied for the summertime analysis with the 90th percentile MQI being calculated at 0.933. Please note the exclusion of the Kannik and Våland stations due to lack of data. Following guidelines from the EC air quality directive, neither had sufficient observations during the summer to be able to perform the DELTA Tool target plot analysis. Despite this limitation, we can show that the MQO is satisfied across the 13 remaining stations, indicating that the model bias is consistently low enough at these locations on an hour-by-hour basis. The overall bias statistics show no strong prevalence for a negative or positive bias, but, as before, the magnitude of the negative bias is slightly larger and we see a negative bias affecting the Oslo stations in preference to the other cities.

The model's capability to capture pollution episodes
We now present examples of EPISODE mapping NO 2 during pollution events. We select two periods of interest for Oslo and Drammen during which NO 2 concentrations became elevated over a few days. The first is an event that took place in Oslo between 9 and 13 December, and the second took place in Drammen between 4 and 7 January. We analyse each event using daily mean maps from the worst day of the pollution event, time series for selected stations, and statistical scores for the available stations.

Oslo pollution episode, 10-13 December 2015
Figure 14 is a plot of the time series for the observed and modelled NO 2 concentrations at two measuring sites in Oslo (Åkebergveien and Manglerud) throughout the duration of the event. These two stations are selected because they exhibit different characteristics of the pollution episode with different timings for the onset, and the model exhibits different performance statistics for each station (see Table 9). The pollution event began on 10 December with a period of relatively mild temperatures and moderate southwesterly winds; at this point a peak in NO 2 (> 60 µg m −3 ) is only visible at Manglerud (and other stations in the west of Oslo). On the 11 December there was a transition into colder conditions with very light southerly winds that coincided with a worsening of the pollution episode as seen in Fig. 14 at Åkebergveien. The model captures this difference at both stations. Further, the model captures the shorter duration of the peak in NO 2 concentrations at Manglerud on 10 December compared to the other days. The cold and light wind conditions persisted for the remainder of the pollution event. For further details on the meteorological conditions for the period 9 to 13 December and for a comparison between the meteorological input to EPISODE and observations, please consult the Supplement Sect. S8. Figure 15 shows a map of the daily mean NO 2 concentrations over the Oslo domain for 11 December. The map shows significantly elevated NO 2 concentrations over large areas of the domain. Average levels of 40 µg m −3 and higher were present over most of the urban areas in and around the city, with levels of 60 µg m −3 and higher in the central and eastern areas of Oslo and along major roads outside the city. On 11 December the effect of the southerly winds is clearly visible in the form of plumes to the north of roads running east-west to the east of Oslo.
In Table 9 we can see that the σ M/σ O ratio is lower than 1.0 for all comparisons against in situ stations. Looking at Fig. 14 we can see that the model captures the night-time minima reasonably well but underestimates peak NO 2 concentrations. This underestimate of the peak is due to uncertainties in boundary layer meteorology, the emissions magnitude, or the time variability of the emissions. Further study will be required to determine the exact cause. Overall, these scores demonstrate acceptable model performance during this pollution episode. This highlights the fact that EPISODE can capture individual pollution events when coupled with

Drammen pollution episode, 4-7 January 2015
We display the time series of the observed and modelled receptor point NO 2 concentrations for Bangeløkka in Fig. 16. Details on the meteorological situation are presented in the Supplement Sect. S8. The onset of the event (> 60 µg m −3 ) started on the afternoon of 4 January during a period of light westerly winds with temperatures close to 0 • C. The pollution worsened (> 100 µg m −3 ) on 5 January during a colder period with very low wind speeds. From 6 January onwards there was no clear wind direction but more moderate wind speeds. Notably, on 6 January the input meteorology overestimates the wind speed, which leads to an underestimate in the peak NO 2 concentration that day. Further details on the meteorological situation are presented in the Supplement Sect. S8. Figure 17 shows a map of the mean NO 2 concentrations over Drammen for 5 January when the worst pollution occurred. EPISODE simulates concentrations of 30 µg m −3 and higher over much of the populated areas in and around Drammen, along the Drammenselva river, and to the north and south of the fjord along the E18 highway. Only the settlement of Konnerud (in the south-central area of the domain) avoided levels over 30 µg m −3 .
Evaluating the model performance against the Bangeløkka in situ station in Drammen, we find that the ratio of the modelled and observed standard deviation, σ M/σ O, was 0.82, indicating lower than observed model variability. The Pearson correlation R was 0.8, the RMSE was equal to 0.59 µg m −3 , and the mean bias was +4.3 µg m −3 . The model captures the extent of the night-time minimum in NO 2 concentrations (0/24 to 6 h) on two out of four occasions but does not capture the full extent of the maximum on three out of four days (this is linked to an overestimate of the wind speed on 6 January). Unfortunately, we only have one in situ station available to evaluate the model in the Drammen do-   main for this pollution episode, which prevents a wider evaluation. Within this limitation, the statistics show acceptable model performance at one of the most polluted sites in Drammen. This again highlights the fact that when coupled with meteorological forcing of acceptable quality and background concentrations of pollutants, EPISODE can capture individual pollution events sufficiently well.

Summary
The EPISODE urban dispersion model was presented, which serves as the base model for the EPISODE-CityChem extension described in Part 2 of this paper . EPISODE combines a 1 km × 1 km 3D Eulerian grid with sub-grid-scale dispersion from point and line sources to receptor points. This allows EPISODE to provide a finer-scale and higher-resolution representation of pollution in urban environments than regional chemistry transport models. It thus addresses one of the main weaknesses of regional air quality models, i.e. the recurring problem of representing a di-verse range of urban environments (from street-side to urban background) all within a 10+ km scale grid. We presented here the simulation of NO 2 pollution at high resolution using a PSS chemistry scheme consisting of NO 2 , NO, and O 3 . This scheme was designed to simulate NO 2 pollution in Nordic low-sunlight environments for which its usage was considered appropriate. The EPISODE-CityChem extension in Part 2 includes a more comprehensive chemistry scheme suitable for a wider range of environments. We demonstrate the application of EPISODE in six case studies in Norwegian cities for the entire year of 2015. We evaluated the model against in situ observations of NO 2 concentrations in all six cities and present more traditional statistical metrics including RMSE, R, and σ M/σ O (the ratio of simulated and observed standard deviations), as well as dedicated metrics for evaluating air quality models, e.g. target plot analysis and a model quality objective (Monteiro et al. 2018;Thunis and Cuvelier 2018;Thunis et al., 2012). The model satisfies the model quality objective for every time period it was evaluated for (annual, winter, autumn, and summer), and only 2 sta-P. D. Hamer et al.: The urban dispersion model EPISODE v10.0 -Part 1 tions out of 16 failed the target plot analysis. The statistics over the whole year demonstrate an overall reasonable performance throughout the year. However, more in-depth analysis of the model performance during the different seasons demonstrates significantly improved performance in terms of both correlation and RMSE during autumn and winter compared to summer. The degraded performance of the model during summer is a strong indication of the limitations of the PSS during such conditions. This is consistent with the expectation that the PSS chemistry should perform well during the darker months of the year in polluted environments. The findings in Part 2 of this paper series  comparing the PSS and EmChem09 chemical mechanisms also support this. Together, these findings demonstrate the suitability of EPISODE for studying the NO 2 pollution problem within urban environments in Norway since the most elevated NO 2 pollution levels occur during autumn and winter. For this application, we conclude that EPISODE is suitable for the scientific study of NO 2 air pollution and also to support policy applications, e.g. NO 2 pollution episode analysis, seasonal statistics, policy and planning support, and air quality management.

Future work
We outline several developments that are planned in the near future aimed at improving the representation of NO 2 in EPISODE simulations. The first is to simulate the entrainment of ozone within NO x -rich plumes from traffic emissions. Currently, the PSS is solved at each receptor point using the NO and NO 2 transported from the pollution sources and the grid ozone. We propose replacing the current treatment of ozone and include a simulation of ozone mixing into the NO x -rich plumes linked to the stability conditions.
Another weakness of the PSS is that it solves the chemistry to equilibrium instantaneously regardless of the distance of a receptor point from a pollution source. In reality, the equilibrium between NO 2 , NO, and ozone may take minutes to achieve. On the short transport timescales of only tens of metres from a pollution source, this may be problematic and a treatment of the chemistry accounting for the time to reach equilibrium and the transport distance may be more appropriate. We plan to modify the PSS calculations to account for this type of situation.
Lastly, we plan to introduce another modification to the photostationary steady state that will simulate the formation of N 2 O 5 , which is an important wintertime sink for NO x (Dentener and Crutzen, 1993). This will require the introduction of the chemical species NO 3 and N 2 O 5 into the photostationary steady-state scheme. N 2 O 5 loss onto aerosols will be considered via an uptake coefficient onto a dynamically calculated particulate matter surface area derived from the simulation of particulate matter concentrations.
We are planning to carry out a comprehensive and focused evaluation of the new urban K(z) method described in Sect. 2.2.1 in a dedicated separate study in the near future. This is dependent on obtaining suitable observations, which we plan on gathering at the earliest opportunity.
It is already possible to simulate particulate matter concentrations for PM 2.5 and PM 10 with the EPISODE model (in separate simulations from the NO 2 runs), but we chose not to present case studies for these pollutants in this paper. Compared to NO 2 , the current model uncertainties for simulating PM 2.5 and PM 10 are much more linked to emission processes, i.e. wood burning and road dust resuspension, respectively. Both emission processes require dedicated models external to EPISODE to estimate realistic emissions, which are beyond the scope of this paper. Running without the inclusion of these emission processes results in significantly degraded model performance compared to the NO 2 simulations. The stand-alone emission models are the MEDVED model for wood burning emissions (Grythe et al., 2019) and the NORTRIP model for road dust resuspension (Denby et al., 2013). The offline coupling of both emission models into EPISODE for PM simulations is planned and will greatly enhance the model's capability to simulate particulate matter pollution. In addition to this, a stand-alone traffic exhaust emission model is being developed that will replace many of the functionalities of the AirQUIS system.
To further enhance the simulation of PM within the model, we plan to soon implement PM removal processes, i.e. below-cloud wet scavenging and sedimentation. We will also implement size bins for PM, which will improve the representation of PM removal processes that are affected by particle size, e.g. impaction, diffusion, and interception.
To further benchmark the EPISODE model, it would be interesting to perform an intercomparison with other urbanscale air quality models using identical inputs for a particular case study. The evaluation could then be made using a standardised and accepted evaluation method, e.g. DELTA Tool (Monteiro et al., 2018).

Appendix A: Emission input method A1 Area gridded emissions
The units of the emissions are grams per second (g s −1 ), and in the case of NO and NO x this is in terms of the mass of NO 2 equivalent. The input format for the area-source emissions is ASCII.

A2 Line-source emissions
The line-source emissions are described in two ASCII input files. The first file describes the road links, giving the UTM coordinates of the road link beginning and end points, the width, the height at the beginning and end points, and the area of influence, R inf , around a road link. The second contains the hourly total emission intensity along each road link, E R (g s −1 m), for each time step of the simulation. Road link emissions are assumed to be evenly distributed along a single road link.

A3 Point-source emissions
The point-source emission files are in ASCII format and contain the following information for each stack: their hourly emission rates (g s −1 ), the geographical location of the stack in UTM coordinates, the building width and height, the stack height and diameter, the temperature of the plume gas, and the speed at which the plume is expelled from the chimney.

Appendix B: Pollution mapping post-processing methodology
The visualisation in the maps is created by first subtracting from each receptor point concentration, C rec , the Eulerian grid concentration, C m , for the corresponding grid square in which the receptor point resides, following which leaves the local concentration residual, C local . Next, the Eulerian grid concentration field at 1 km resolution, C m , is interpolated to the coordinates, (x r , y r , 1), of each receptor point using a spline method to give C m,rec , following C m,rec = F int (C m , [x r , y r ]).
Then, both the residual from Eq. (B1) and C m,rec are added together to determine the receptor point concentration, C rec * , which now contains both the receptor point and the interpolated Eulerian grid components. Finally, the modified concentrations for all of the irregularly spaced receptor points, C rec * , are then re-gridded onto a 100 m × 100 m grid covering the entire domain using trilinear interpolation.
In practice, there are many areas within the urban centre with receptor point sampling at spatial resolutions higher than 100 m. Thus, 100 m represents a conservative choice for the effective mapping resolution in these important areas. This post-processing step also serves to remove the visual imprint of the 1 km × 1 km Eulerian grid (remember that receptor point concentrations are a sum of the Eulerian grid and local contribution following Eq. (7) from the gridded receptor point concentrations).

Appendix C: Statistical indicators and model performance indicators
The model is evaluated with the following statistical metrics: the ratio of the modelled and observed standard deviation (σ M/σ O), root mean squared error (RMSE), centred root mean square error (CRMSE), Pearson's correlation coefficient (R), normalised mean bias (NMB), and index of agreement (IOA).
The respective standard deviations of the model and observations are calculated via The RMSE provides a representation of the magnitude of the error for each hourly model-observation pair and is defined as (RMSE shares the units of the variables being evaluated: µg m −3 ) The IOA is defined as When the IOA is equal to 1 it indicates perfect agreement between the model and observations, and a value of zero indicates no agreement at all. The CRMSE and normalised mean bias are used in the axes of the DELTA Tool target plots and are calculated as follows: In addition to these metrics, we also evaluate the model according to the DELTA Tool model quality indicator (MQI) and the related model quality objective (MQO) (Monteiro et al., 2018;Thunis and Cuvelier, 2018). The MQI calculation provides an advanced evaluation of model performance by considering the observation uncertainty on each individual measurement, U 95 (O i ), which is defined as where u RV r is the relative measurement uncertainty estimated around a reference value, RV, for a given time averaging, e.g. hourly or daily limit values of the air quality directive. α 2 is the fraction of the uncertainty around RV, which is nonproportional to the concentration level, and k is the coverage factor that scales the error in order to achieve a specific confidence interval. k is most typically set to 2 in order to achieve a 95 % confidence interval.
The root mean square of the observation error is calculated via The MQI is then defined as the ratio between the absolute model-observation bias and a quantity proportional to the observation uncertainty via where β is a scaling set to 2 in the DELTA Tool. In the DELTA Tool target plots, MQI is the distance between the origin and a point on the plot for a given station. The MQO is considered fulfilled when MQI ≤ 1. Following the air quality directive requirements, the DELTA Tool sets criteria whereby the MQO is defined as being satisfied when the MQI is fulfilled for at least 90 % of the stations. In other words, ranking the station MQIs in ascending order, the inferred 90th percentile must be 1 or lower.
Code and data availability. The source code for the EPISODE model version 10 is available under the RPL 1.5 license at https://doi.org/10.5281/zenodo.3244056 (Slørdal et al., 2019). The model compilation requires installation of the GCC/GFortran For-tran90 compiler (version 4.4. or later) and the NetCDF library (version 3.6.0 or later). Model input datasets are available from the NILU FTP server upon request. These datasets include meteorological, emission, and ancillary input files for the entire year of 2015; output model data for all of the 2015 simulations; and data in the format for the DELTA Tool analysis package.
Author contributions. PDH wrote the main text of the paper, developed a technical description of the model based on an in-depth evaluation of the code, developed the scientific questions, ran the model case studies for the six Norwegian cities, and analysed and evaluated the EPISODE model results presented in this work.
SEW implemented the HIGHWAY-2 line-source dispersion model and the two point-source dispersion models in EPISODE.
GSS supported the scientific design of the six city case studies and made significant developments to the EPISODE code, e.g. the development of coupling with AROME meteorological data.
PS post-processed the EPISODE model results and visualised the results as the maps.
MV post-processed the EPISODE model results and visualised the results as the maps.
DVT prepared the emissions used in the EPISODE model runs. SAL provided technical and scientific guidance for the preparation of the emissions used in the EPISODE model runs.
MOPR tested the UECT and TAPM4CC preprocessing utilities and assisted with the DELTA Tool.
MK prepared the observation and modelling data into the correct formats for the DELTA Tool, wrote the technical Supplement, and made contributions to the main text.
Competing interests. The authors declare that they have no conflict of interest.