1 Introduction

The Sendai Framework for Disaster Risk Reduction 2015–2030 (UNISDR 2015) is an example of a specific initiative to increase the resilience of cities, and gives continuity to the 2005–2015 Hyogo Framework (ISDR-UN 2005). These two documents highlight the importance of knowledge of different risks in cities to increase their safety and resilience. In recent decades, a range of methods have been proposed to find out more about these risks. Table 10 in the “Appendix” summarizes some relevant procedures to compute seismic risk in urban areas. Among them, Hazus (FEMA 1999) is an outstanding methodology proposed to assess the seismic risk in urban areas of the USA. Subsequently, the Risk-UE project (Vacareanu et al. 2004; Mouroux and Le Brun 2006) was undertaken to provide a similar method for European cities. As part of this project, two standard methodologies were proposed: the Level 1 Method (LM1), which is vulnerability index-based (VIM), and the Level 2 Method (LM2), which is capacity spectrum-based (Milutinovic and Trendafiloski 2003; Barbat et al. 2006). LM1, as proposed by Milutinovic and Trendafiloski (2003), was an early version based on ongoing studies that were subsequently published (Giovinazzi 2005; Lagomarsino and Giovinazzi 2006; Giovinazzi et al. 2006; Barbat et al. 2006). LM1 itself was also based on previous methods using vulnerability indices and macroseismic intensities (Benedetti et al. 1988; Bernardini 2000; ATC-13 1985, among others). The introduction of the new European Macroseismic Scale, EMS-98 (Grünthal 1998), was also crucial for the development of LM1. The versatility and robustness of LM1 has been demonstrated in many applications in European cities, including Barcelona, Bitola, Bucharest, Catania, Nice and Thessaloniki, and in other cities worldwide (BRGM 2004; Milutinovic et al. 2004; Faccioli et al. 2004; ICC/CIMNE 2004; Kostov et al. 2004; Lungu et al. 2004; Spence and Le Brun 2006; Pitilakis et al. 2006; Kappos et al. 2008; Lantada et al. 2010; Castillo et al. 2011; Athmani et al. 2015; Guardiola-Víllora and Basset-Salom 2015; Ruiz et al. 2015; Lestuzzi et al. 2016; Cherif et al. 2016).

LM1 entails the following three steps: assessment of seismic hazard; assessment of the seismic vulnerability of the buildings; and assessment of expected damage. The main purpose of the seismic hazard module is to select a credible earthquake scenario in terms of macroseismic intensity. For each building in the risk analysis, the vulnerability module seeks to determine a vulnerability index, taking values between zero, for well-designed seismic resistant buildings, and one, for buildings with bad seismic performance. Well-established, semi-empirical functions (Giovinazzi 2005; Lantada et al. 2009a, 2010) link vulnerability and macroseismic intensity, so that a mean damage grade can be computed for each studied building. The mean damage grade and simplified assumptions on damage distribution are then used to generate damage probability matrices (DPM), which define a complete distribution of the damage in the building (five non-null damage states are considered). Finally, the expected damage and risk is computed, at whichever level is required (neighborhood, district or city), by means of a weighted mean damage index, which considers the contribution to damage of all the buildings in the studied area. Other losses linked to physical damage, such as economic cost, injured and dead people, and homeless people, can also be computed. Then, the seismic risk results can be used to generate expected damage and risk maps for selected hazard scenarios, for instance. However, up-to-date vulnerability index-based methods do not consider the significant uncertainties in the properties of the buildings, and the vulnerability indices are assessed in a deterministic way. Aguilar-Meléndez et al. (2010) proposed a new procedure, called VIM_P, which allows these uncertainties to be incorporated into the vulnerability analyses. Accordingly, the main purpose of the present article is to describe the VIM_P in detail. The main challenges of VIM_P are: (a) to develop a complementary version of VIM that can incorporate uncertainties into the VIM, and mainly focuses on the vulnerability; and (b) to generate results, concerning seismic risk, that cannot be obtained with VIM. For instance, VIM_P allows the seismic risk to be quantified in terms of the annual rate of exceedance of loss, which is one of the most common metrics to communicate seismic risk results to stakeholders (Marulanda et al. 2013). In this article, after this introduction (Sect. 1), Sect. 2 describes the most relevant characteristics of the VIM_P (Aguilar-Meléndez et al. 2008, 2010). Section 3 summarizes the main results of the application of VIM_P to the city of Barcelona (Spain) where the seismic risk of 69,982 residential buildings is assessed. Finally, Sect. 4 is devoted to the discussion and conclusions.

2 Probabilistic VIM (VIM_P)

Like VIM, VIM_P uses five non-null damage grades: 1 (slight), 2 (moderate), 3 (severe), 4 (extensive), and 5 (collapse) (Grünthal 1998). The following equation, which was adapted from McGuire (2004), allows the annual frequencies of exceedance, ν, to be computed for each non-null damage grade, Dk.

$$\nu \,[D > D_{k} ] \approx \sum\limits_{I} {} \sum\limits_{V} {P\left[ {D > D_{k} |V,I} \right]P\left[ V \right]\gamma '\left[ I \right]}$$
(1)

\(P\left[ {D > D_{k} |V,I} \right]\) is the probability that damage, D, is greater than the damage grade, Dk, for a building with a vulnerability index V, subjected to an earthquake with a macroseismic intensity I; P[V] is the probability of the vulnerability index, V, and \(\gamma '\left[ I \right]\) is the annual frequency of exceedance of intensity, I. The symbol \(\approx\) is preferred because the annual rate, \(\gamma '[I]\), is used rather than the probability P[I]. According to McGuire (2004), the value of \(\gamma '\left[ I \right]\) can be considered a “very close estimator of the probability” for values of \(\gamma \left[ I \right]\) < 0.1. A similar criterion was summarized by Ellingwood (2006), who stated, “The annual probability and annual mean rate of occurrence are numerically interchangeable for randomly occurring events with probabilities less than 0.01/year”. In the present study, the value proposed by McGuire (2004) is taken as a reference value. Thus, in Eq. (1), the total probability theorem is applied, assuming that the intensity I and the vulnerability V are independent random variables (Aguilar-Meléndez et al. 2010).

For the operational implementation of the VIM_P, two codes are recommended: R-CRISIS (Ordaz et al. 2017) and USERISK2015 (Aguilar-Meléndez et al. 2016). R-CRISIS concerns seismic hazard and successive versions of the CRISIS code have been widely validated for Probabilistic Seismic Hazard Analysis (PSHA) (Aguilar-Meléndez et al. 2017). USERISK2015 was developed exclusively to compute seismic risk according to the VIM_P. Therefore, for identification purposes, the R-CRISIS & USERISK2015 procedure was defined to recognize the case when both codes R-CRISIS and USERISK2015 are simultaneously applied to assess seismic risk of buildings in urban areas, according to VIM_P. Figure 1 shows the main modules of this software. The R-CRISIS module is based on the Cornell–Esteva improved method (see Cornell 1964, 1968; Esteva 1968, 1969). The R-CRISIS and USERISK2015 procedure is applied in the present study to compute the seismic risk of residential buildings of Barcelona. To illustrate the method in a simplified way, only the seismic risk of two buildings is assessed in this section. However, it is important to underline that VIM_P can be used for seismic risk assessment of numerous buildings at urban level. The two case study buildings are named BCN1 and BCN2. Table 2 describes their main features and the data needed to apply VIM_P.

Fig. 1
figure 1

(adapted from Aguilar-Meléndez et al. 2018)

Diagram of the R-CRISIS and USERISK2015 procedure. Dotted line encloses VIM_P

2.1 Seismic hazard

To compute the seismic risk of buildings, a seismic hazard curve is required, in terms of frequency of exceedance versus macroseismic intensities. This curve is the result of a PSHA, which can be executed using R-CRISIS. In VIM_P, at least a segment of the seismic hazard curve must be considered. The values of frequency of exceedance of the macroseismic intensities are considered in the computation of seismic risk.

For the buildings, BCN1 and BCN2 (Table 1), the seismic hazard at a rock site of Barcelona was assessed. Figure 2 shows the seismic hazard curve, which was computed by applying CRISIS2012 (Ordaz et al. 2013; Aguilar-Meléndez et al. 2013). According to this curve, the return period of VI EMS’98 macroseismic intensity is 475 years.

Table 1 Main features and data of two buildings in Barcelona, Spain
Fig. 2
figure 2

Seismic hazard curve for a rock site in Barcelona (computed with CRISIS2012). IEMS98 are EMS’98 macroseismic intensities (Aguilar-Meléndez et al. 2013)

2.2 Seismic vulnerability

Seismic vulnerability is a measure related to the expected damage and structural response of a building during strong seismic ground motions. Thus, the data needed to assess the seismic vulnerability of buildings, both in the former VIM and in the VIM_P, are mainly: structural typology, number of levels, main characteristics of the structural materials, age, and conservation state. In fact, VIM_P focuses on the reliability of this information. This reliability is the basis of the process to assess seismic vulnerability in a probabilistic way.

Seismic vulnerability is described by three Beta-type probability density functions (pdfs) that describe the variability of a specific vulnerability index. Vulnerability indices take values in the 0–1 range, although negative values close to 0 and values slightly greater than 1 may also be allowed. One of the three pdfs is named the best vulnerability curve (Best) and it is the main representation of the seismic vulnerability of a building (Fig. 3). This Best curve defines the probability of the vulnerability of the building and it contains uncertainties related to knowledge of the level of its seismic vulnerability. Two additional curves can be used to consider the reliability of information on structural typology. To sum up, in VIM_P, the vulnerability of each building is represented by means of three Beta-type pdf functions: Lower, Best, and Upper.

Fig. 3
figure 3

Beta-type pdf, used in VIM_P to define the Best curve of seismic vulnerability

Aguilar-Meléndez et al. (2010) found that Beta-type pdf functions were adequate for VIM_P purposes because of their versatility to fit a variety of shapes, even asymmetric shapes, in a restrained domain. Beta-type pdf functions have been used, with good results, in seismic risk assessments (McGuire 2004; ATC-13 1985; ATC-25 1991) and they are defined by means of two parameters, α and β. In the following, the main steps to set up the Best curve are described.

2.2.1 Best vulnerability curve

To define vulnerability curves in VIM_P, the parameters, αm and βm, of the beta function must be determined. Equation (2) shows the definition of these curves.

$$f(V;\alpha_{m} ,\beta_{m} ) = \frac{{\Gamma (\alpha_{m} + \beta_{m} )}}{{\Gamma (\alpha_{m} )\Gamma (\beta_{m} )}}\frac{{\left( {V - V_{a} } \right)^{{\alpha_{m} - 1}} \left( {V_{b} - V} \right)^{{\beta_{m} - 1}} }}{{\left( {V_{b} - V_{a} } \right)^{{\alpha_{m} + \beta_{m} - 1}} }}\quad V_{a} \le V \le V_{b} ;\;\alpha_{m} ,\beta_{m} > 0$$
(2)

where V is the seismic vulnerability index, αm and βm, are shape parameters, Va and Vb are the lower and upper limits, respectively, of the distribution, and Γ is the gamma function. Equation (2) can be expressed in terms of the following standard Beta probability function.

$$f\left( {\frac{{V - V_{a} }}{{V_{b} - V_{a} }};\alpha_{m} ,\beta_{m} } \right) = \frac{{\Gamma (\alpha_{m} + \beta_{m} )}}{{\Gamma (\alpha_{m} )\Gamma (\beta_{m} )}}\left( {\frac{{V - V_{a} }}{{V_{b} - V_{a} }}} \right)^{{\alpha_{m} - 1}} \left( {1 - \frac{{V - V_{a} }}{{V_{b} - V_{a} }}} \right)^{{\beta_{m} - 1}} \quad V_{a} \le V \le V_{b} ;\quad \alpha_{m} ,\beta_{m} > 0$$
(3)

To obtain αm and βm, in practical cases, it is considered first that the mean value is equal to the mean vulnerability index, \(\overline{{V_{I} }}\), when Va = 0 and Vb = 1 (Fig. 3); and equal to \(\frac{{\overline{{V_{I} }} - V_{a} }}{{V_{b} - V_{a} }}\), when Va ≠ 0 and/or Vb ≠ 1 [Eq. (5)]. The following equation can be used to obtain \(\overline{{V_{I} }}\).

$$\overline{{V_{I} }} = V_{I}^{*} + \Delta V_{R} + \Delta V_{m}$$
(4)

In this equation V * I is the vulnerability index of the structural typology, while ∆VR, and ∆Vm are regional and building specific modifiers, respectively. Details on these modifiers can be found in Milutinovic and Trendafiloski (2003) and Lantada (2007). The first equation to obtain the Beta-pdf parameters is:

$$\left( {\frac{{\overline{{V_{I} }} - V_{a} }}{{V_{b} - V_{a} }}} \right) = \frac{{\alpha_{m} }}{{\alpha_{m} + \beta_{m} }}$$
(5)

The second condition is that the values Vc and Vd (see Fig. 3) determine the 90% confidence interval between 5 and 95% confidence limits.

$$0.9 = \int\limits_{{y_{1} }}^{{y_{2} }} {f\left( y \right)dy = B_{y2} (\alpha_{m} ,\beta_{m} ) - B_{y1} (\alpha_{m} ,\beta_{m} )}$$
(6)

In this equation, y1 and y2 correspond to Vc and Vd, respectively; and By2 (αm, βm) and By1 (αm, βm) are the incomplete Beta functions (beta cumulative distribution function) for values of y2 and y1, respectively.

Therefore, the procedure to estimate the Beta pdf that represents the Best curve of seismic vulnerability of a building can be summarized in four steps. Step 1) assessment of \(\;\overline{{V_{I} }}\); Step 2) determination of Vc and Vd; Step 3) determination of Va and Vb; Step 4) estimation of values of αm and βm. The BCN1 and BCN2 buildings (Table 1) are used below to explain further details of these four steps.

Step 1: Mean vulnerability index, \(\overline{{V_{I} }}\)

For the BCN1 and BCN2 buildings, \(\overline{{V_{I} }}\) is computed according to Eq. (4). V * I values were taken from Table 2 (Milutinovic and Trendafiloski 2003) and ∆VR and ∆Vm were taken from Lantada (2007). The \(\overline{{V_{I} }}\) values for the BCN1 and BCN2 buildings are 0.67 and 0.42 (see also Table 3).

Table 2 Vulnerability indices for the structural typologies of buildings BCN1 and BCN2.
Table 3 Values of each term of Eq. (4) for buildings BCN1 and BCN2

Step 2: Confidence limits

The values of Vc and Vd (see Fig. 3) can be computed according to two criteria. A first simplified criterion assumes that values V min I and V max I (Table 2) correspond to values Vc and Vd, respectively. Hence, in 90% of cases, the vulnerability index, V, will take values between V min I and V max I . Noticeably, according to this criterion, Vc and Vd would be the same for all the buildings in the same structural typology. Table 2 shows these values for masonry (M33) and reinforced concrete (RC32) building types. V * I is the most probable vulnerability index; V I and V + I delimit the range of probable values of the vulnerability index. V min I and V max I increase the range of the probable values to include less probable, yet possible, values of the vulnerability index. Thus, according to this criterion, and considering that BCN1 and BCN2 are M33 and RC32 buildings, respectively, Vc and Vd for BCN1 and BCN2 are 0.46 and 1.02, and 0.06 and 1.02, respectively.

In the second criterion, Vc and Vd are shifted according to the following equation:

$$V_{c} = V_{I}^{\hbox{min} } - \Delta V_{R} - \Delta V_{m} \;\;\;{\text{and}}\;\;\;V_{d} = V_{I}^{\hbox{max} } + \Delta V_{R} + \Delta V_{m}$$
(7)

According to this equation and Table 2, (Vc, Vd) would be (0.494, 0.986) and (0.162, 0.918) respectively for BCN1 and BCN2 buildings. Note that, in some cases, the interval (0, 1) can be expanded towards negative and positive values, thus allowing inclusion in the analysis of highly resistant and highly vulnerable buildings, respectively. Vulnerability indices greater than 1.02 may occur mainly in ancient monumental buildings (Goded et al. 2012, 2016). In the present study, the first criterion was used to fix Vc and Vd parameters.

Step 3: Vulnerability index limits

Va and Vb, determine the range of possible vulnerability indices [see Eq. (3)]. For consistency of the VIM_P, Va and Vb must be the same for all studied buildings, otherwise the interpretation of the results could lead to misleading conclusions. According to VIM, the vulnerability indices for most of the buildings are in the range − 0.02 to 1.02. These values correspond to the minimum V min I and the maximum V max I for buildings in the Risk-UE BTM (Milutinovic and Trendafiloski 2003). These values also correspond to the minimum Vc and maximum Vd, in the VIM_P. In this way, Va and Vb must define a range wide enough to contain all the Vc and Vd indices. For the purposes of this study, and considering the results of the application of the VIM in Barcelona city (Lantada 2007), values of − 0.04 and 1.04 were adopted for Va and Vb, respectively. The following factors support this choice: (i) 90% of the vulnerability indices are in the VcVd range (Fig. 3), and (ii) 100% of the vulnerability indices must fall in the VaVb interval. In addition, \(\left| {V_{a} \left| - \right|V_{c} } \right|\) and \(V_{b} - V_{d}\) are equal to 0.02, which is a value similar to the increments of the most common vulnerability index modifiers (Milutinovic and Trendafiloski 2003).

Step 4: Beta pdf parameters: αmand βm

Parameters αm and βm for a specific building are computed as follows. Values of βm between 0.1 and 8, with the desired resolution Δβm, are assumed. Then, for each βm, the corresponding αm pair is computed by means of the following equation:

$$\alpha_{m} = {{\left( { - \beta_{m} \cdot \frac{{\overline{{V_{I} }} - V_{a} }}{{V_{b} - V_{a} }}} \right)} \mathord{\left/ {\vphantom {{\left( { - \beta_{m} \cdot \frac{{\overline{{V_{I} }} - V_{a} }}{{V_{b} - V_{a} }}} \right)} {\left( {\frac{{\overline{{V_{I} }} - V_{a} }}{{V_{b} - V_{a} }} - 1} \right)}}} \right. \kern-0pt} {\left( {\frac{{\overline{{V_{I} }} - V_{a} }}{{V_{b} - V_{a} }} - 1} \right)}}$$
(8)

Note that \(\,\overline{{V_{I} }}\), Va and Vb in this equation are known quantities. Then, for each (αm, βm) pair, the integral in Eq. (6) is computed. A least squares approach can be used to obtain the (αm, βm) pair that is closest to the 0.9 value. Afterwards, standard formulas can be used to compute the statistics of the Beta pdf function. The mean and standard deviation values are:

$$Mean = \left( {V_{b} - V_{a} } \right)\left( {\frac{{\alpha_{m} }}{{\alpha_{m} + \beta_{m} }}} \right) + V_{a} \quad \sigma_{{\overline{V} }} = \sqrt {\frac{{\alpha_{m} \beta_{m} }}{{\left( {\alpha_{m} + \beta_{m} } \right)^{2} \left( {\alpha_{m} + \beta_{m} + 1} \right)}} \cdot (V_{b} - V_{a} )^{2} }$$
(9)

This procedure was used to compute the Best curve for buildings BCN1 and BCN2. Table 4 shows the corresponding αm, βm, Va and Vb that define these curves, which were computed using USERISK2015 according to the first criterion to determine Vc and Vd. In this table, the mean and the standard deviation are also shown.

Table 4 Best vulnerability functions for BCN1 and BCN2 buildings

From the comparison of the BCN1 and BCN2 (Fig. 4) Best vulnerability curves, it follows that the probability that the vulnerability indices are greater than 0.8 are 0.273 and 0.169 for the BCN1 and BCN2 buildings, respectively. Hence, building BCN1 is more vulnerable than BCN2.

Fig. 4
figure 4

Best vulnerability curves for BCN1 (a) and BCN2 (b) buildings

Vulnerability indices for the BCN1 and BCN2 buildings may take values in the ranges between 0.18 and 1.0, and between − 0.04 and 1.04, respectively. Mean values and standard deviations of these Best vulnerability distributions are shown in Table 4. Hence, VIM_P takes into account the considerable uncertainties in seismic vulnerability, so that seismic risk assessments also incorporate these uncertainties.

2.2.2 Lower and Upper curves

Often, it is not easy to make a clear decision on the building typology in densely populated areas. The lack of availability of information or reconstruction and upgrades of buildings after information was collected may be some likely reasons. VIM_P considers this additional uncertainty by means of a reliability parameter. Two additional vulnerability curves are considered: Lower and Upper curves. The following equation defines the new mean values of theses curves.

$$\overline{{V_{I\_\,L} }} = \overline{{V_{I} }} - \frac{{I_{f} - f}}{{I_{f} }} \cdot \phi \cdot \sigma_{{\overline{V} }} \quad \overline{{V_{I\_\,U} }} = \overline{{V_{I} }} + \frac{{I_{f} - f}}{{I_{f} }} \cdot \phi \cdot \sigma_{{\overline{V} }}$$
(10)

\(\overline{{V_{I} }}\) and \(\sigma_{{\overline{V} }}\) are the mean value and the standard deviation in Eq. (9). f is the reliability factor, which, in VIM_P, may take values in the range 0–10. These limits mean null and full reliability, respectively. If and ϕ are parameters that can be defined in each case. In our case, values of 10 for If, and 1.96 for ϕ were taken. Thus, the maximum variation of \(\overline{{V_{I} }}\) would be determined by the 95% confidence interval. Vc and Vd can be determined according to the first criterion as described above; Va and Vb are maintained at − 0.04 and 1.04, respectively. Then, the parameters α and β are determined in the same way as for the Best curve. Parameters for Lower and Upper curves for the BCN1 and BCN2 buildings are shown in Table 5. Figure 5 shows the corresponding vulnerability curves. Note that f = 7 and ϕ = 1.96 have been taken in this example.

Table 5 Parameters of the Lower and Upper vulnerability curves for BCN1 and BCN2 buildings
Fig. 5
figure 5

Vulnerability curves for the BCN1 and BCN2 buildings

The Lower curves correspond to buildings that are less vulnerable, while the Upper curves correspond to more vulnerable buildings.

BCN1 is more vulnerable than BCN2. The probability that the vulnerability index of BCN1 is greater than 0.6 is 45.7% for the Lower curve, 82.7% for the Upper, and 66.2% for the Best curve. For the BCN2 building, these probabilities are 17.45%, 54.79% and 32.11%. Noticeably, the reliability factor, f, controls the separation between these curves. For f = 10, Upper and Lower vulnerability curves are equal to the Best curve. For a given reliability factor, the separation between vulnerability curves depends on the standard deviation \(\sigma_{{\overline{V} }}\).

2.2.3 Groups of buildings

VIM_P can be used to address groups of buildings. The total probability theorem may be applied to combine the corresponding vulnerability curves. To this end, it is crucial to know the probabilities, or frequencies, of the building types whose vulnerability curves must be combined.

2.3 Seismic risk

Seismic risk is understood here as the exceedance frequency of each non-null damage grade. These frequencies are assessed by means of Eq. (1). In this equation, \(\gamma '\left[ I \right]\) is the annual exceedance frequency of EMS’98 intensity I, which is a result of PSHA studies in the area; \(P\left[ V \right]\) is the probability of the vulnerability index V and is computed using the vulnerability curves defined above. Obviously, these computations require discretizing both the vulnerability index, in the range VaVb, and the intensities, in the range of likely damaging intensities. For details on how these computations are done see Aguilar-Meléndez (2011). The last quantity in Eq. (1) is \(P\left[ {D > D_{k} |V,I} \right]\), that is, the probability of damage \(D_{k}\), given a vulnerability index V and an EMS’98 macroseismic intensity, I. VIM_P takes the following semi-empirical form linking intensity, vulnerability and damage.

$$\mu_{D} = 2.5\left[ {1 + \tanh \left( {\frac{{I + 6.25\overline{{V_{I} }} - 13.1}}{2.3}} \right)} \right]$$
(11)

In this equation,Footnote 1\(\mu_{D}\) is the mean damage grade, which takes values between zero and five. Then, probabilities of a specific damage grade, \(D_{k}\), can be easily obtained assuming that the expected damage follows a binomial or Beta-equivalent distribution (Grünthal 1998). Equation (11) was proposed in the framework of the Risk-UE project (Milutinovic and Trendafiloski 2003; Giovinazzi 2005; Lagomarsino and Giovinazzi 2006; Barbat et al. 2006). The details on how the binomial-equivalent Beta distribution is obtained and how these specific probabilities of the damage grades, \(D_{k}\), are computed are well-explained in these references (see also Lantada 2007; Lantada et al. 2009a, 2010). The most valuable feature of VIM_P is the representation of vulnerability through probability distributions, thus making it possible to obtain seismic risk in terms of the exceedance rates of the damage states.

2.3.1 Individual buildings

The USERISK2015 software implements the above procedure and was used to compute the seismic risk of BCN1 and BCN2 buildings. The seismic hazard at a rock site of Barcelona (Fig. 2), truncated to 475 years, was used for \(\gamma '\left[ I \right]\). The Lower, Best and Upper vulnerability curves were used for vulnerability indices. The results obtained are shown in Fig. 6. The exceedance frequencies of damage grade 4 for the Lower, Best and Upper vulnerability curves are respectively 6.40 × 10−6, 9.68 × 10−6, and 3.19 × 10−5 for BCN1, and 7.44 × 10−6, 1.08 × 10−5, and 2.7 × 10−5 for BCN2.

Fig. 6
figure 6

Seismic risk curves of BCN1 (a) and BCN2 (b) buildings

An important discussion in risk analysis is acceptable risk, that is, the level of risk that society would accept. McGuire (2004) suggests that a criterion of acceptable risk for a residential building would be that the exceedance rate of the damage grade 4, Extensive, is lower than 1 × 10−5. Then, BCN1 would not fulfill this criterion for the Upper risk curve nor BCN2 for the Best and Upper risk curves. Thus, one strength of VIM_P is that the consideration of uncertainties in the vulnerability indices and the reliability factor allows us to propose three risk estimates in a probabilistic environment, thus offering stakeholders more and richer information for decision-making.

2.3.2 Group of buildings

The seismic risk of a group of buildings can be assessed based on the total probability theorem. That is, an additional weighted sum should be considered in Eq. (1), to take into account the contributions to risk of the typologies and buildings included in the analysis. In the simple case of two buildings, the joint risk curve would be the mean of the two individual curves. Individual and mean curves for BCN1 and BCN2 Best curves are shown in Fig. 7. The values of the mean curve are given in Table 6.

Fig. 7
figure 7

Best individual and joint risk curves for the BCN1 and BCN2 buildings. See Table 6 for the values of the joint curve

Table 6 Joint Best risk curve for BCN1 and BCN2

2.3.3 Seismic hazard uncertainties

Uncertainties in hazard curves from PSHA is another important subject of discussion. In fact, many ground motion predictive equations include dispersion parameters to deal with uncertainties (Douglas 2018). Thus, an important issue is the pertinence of representing the seismic hazard by means of a single curve, or by means of several hazard curves (Marzocchi et al. 2015). In any case, VIM_P allows the use of single and multiple hazard curves. By way of example, let us consider the hazard curves of Fig. 8.

Fig. 8
figure 8

(adapted from Secanell et al. 2004)

Seismic hazard curves of Barcelona city (rock site)

These curves were adapted from the hazard curves for Barcelona at rock sites, developed by Secanell et al. (2004). VIM_P allows an output of three risk curves for every hazard curve. Figure 9 shows these nine seismic risk curves for the BCN1 and BCN2 buildings. Hence, VIM_P and its companion software, USERISK2015, are powerful and versatile tools that can be used to consider the reliability of the assignment of structural typology and uncertainties in the vulnerability and hazard assessment. When adequately fed with proper data and information, USERISK2015 should generate rich and valuable documentation on seismic risk in urban areas that is useful for stakeholders and in particular for civil protection services and earthquake emergency planning.

Fig. 9
figure 9

Seismic risk curves of building BCN1 (a) and BCN2 (b). See explanation in the text

3 Application to Barcelona

To highlight the applicability and potential of VIM_P, the main results of a probabilistic seismic risk study in Barcelona, using USERISK2015, are shown and discussed in this section. Special attention is devoted to the quantity and quality of data used.

3.1 Probabilistic seismic hazard

A specific new study of the seismic hazard of the city was performed. For this purpose, the R-CRISIS program (Ordaz et al. 2017) was used. The PSHA was made based on macroseismic intensities, according to updated catalogues. The seismic sources were defined taking into account previous seismic hazard studies in Spain and in Catalonia, northeastern Spain, where Barcelona is located. Doubly truncated seismic intensity occurrence laws (Goula et al. 1997; Ordaz et al. 2015) were used in each seismic source. The ground motion predictive equations (attenuation relationships) of López-Casado et al. (2000) were used for both high attenuation and low attenuation zones. Among other attenuation laws, these were preferred because they were obtained using macroseismic intensities. The results show good agreement with previous PSHA studies performed by Goula et al. (1997) and Secanell et al. (2004). The 475 years return period intensity is VI–VII (6.5), which means that we are dealing with a relatively low seismic hazard area. Moreover, the soil effects were included in the analyses according to the guidelines proposed by Lantada (2007). Two extreme hazard curves are shown in Fig. 10, corresponding to the rock site and the soft soil sites (dotted curve) in Barcelona. For comparison purposes, these soil classes are similar to Class A and Class C–D, respectively, as defined in euro code EC08. Further details on this PSHA can be found in Aguilar-Meléndez (2011) and in Aguilar-Meléndez et al. (2013).

Fig. 10
figure 10

Seismic hazard curves for Barcelona at the bedrock site (continuous line) and at soil sites (dotted line). Selected return periods are indicated

3.2 Building database

Barcelona City Council provided a comprehensive database with detailed information about all the buildings in the city. Among many other aspects, the information included all the cadastral plots, built plots, the typology and age of the built plots, and built plots occupied by people counted in the census (dwellings). This information was structured according to the main administrative divisions of the city. Thus, it was available for what are known as small query zones (ZRP from Zones de Recerca Petites, in Catalan), which are similar to census areas, for the 28 neighborhoods and 10 districts. Therefore, a detailed vulnerability study could be performed at the required level: individual building, city block, ZRP, neighborhood, district, or whole city.

Other information that is sensitive to vulnerability, such as the conservation state and date of the last renovation, was also available. Hence, Barcelona is an excellent benchmark for vulnerability and risk assessments. Concerning the buildings considered in the analyses, Barcelona has 78,668 cadastral plots, 71,256 (90.6%) of which are built. Information about typology is available for 70,137 (98.4%) of these buildings. Buildings of a known age and typology number 69,982, that is, over 98% of the buildings in the city. The risk analysis was performed for this group of buildings, because it allows good quantification of vulnerability. Noticeably, 83.6% (58,481) of the last set of buildings were dwellings occupied by people in the city census.

3.3 Seismic vulnerability

USERISK2015 (Aguilar-Meléndez et al. 2016) was used to compute three seismic vulnerability curves for each one of the 69,982 buildings under study. These curves were then used to compute seismic risk. Mean vulnerability functions were obtained for all Barcelona. In spite of the high quality of the available data, to illustrate the potentiality of VIM_P, a reliability factor of 7 was used. Figure 11 shows the Low, Best and Upper vulnerability curves. Table 7 contains their corresponding parameters. The mean vulnerability index for the Best curve is 0.79. In addition, the probability that a building in Barcelona has a vulnerability index greater than 0.8 would be 42.71%, 70.78% and 56.86% if the Lower, Upper and Best vulnerability functions are adopted, respectively. These values confirm the high vulnerability of the buildings of Barcelona, as also found in previous deterministic studies (Lantada 2007).

Fig. 11
figure 11

(adapted from Aguilar-Meléndez et al. 2018)

Lower, Best and Upper mean vulnerability curves for Barcelona

Table 7 Parameters of the mean vulnerability curves of Fig. 11 (Aguilar-Meléndez et al. 2018)

In a similar way, vulnerability curves were determined for the ten districts of Barcelona. Figure 12 depicts the Best vulnerability curves and Table 8 contains the corresponding parameters.

Fig. 12
figure 12

Representative curves of the Best seismic vulnerability of residential buildings in the 10 districts of Barcelona

Table 8 Parameters of the Low, Best and Upper vulnerability curves for the ten districts of Barcelona. The vulnerability limits are maintained at Va = − 0.04 and Vb = 1.04

The highest vulnerability was obtained for the Ciutat Vella (old city) district, which is the location of the oldest buildings in the city. The vulnerability patterns for the ten districts are also in agreement with previous vulnerability studies in the city (Lantada 2007; Lantada et al. 2009a, b, 2010; Marulanda et al. 2013).

USERISK2015 outputs, together with Geographical Information Systems (GIS), can be used to generate vulnerability and other thematic maps. As an example, Fig. 13 shows the probability that the vulnerability index is greater than 0.8 for the Eixample district. The cases of the Low, Best and Upper vulnerability curves are shown. These results confirm the high vulnerability of buildings in this important district of the city.

Fig. 13
figure 13

Maps of probability that the vulnerability index, V, is greater than 0.8 for dwellings in the Eixample district. The cases of Lower, Best and Upper vulnerability curves are shown

3.4 Seismic risk

The USERISK2015 code has also been used to assess seismic risk. The seismic hazard curves of Fig. 10 for rock and soil sites were used to this end. Three seismic risk curves, corresponding to the Lower, Best and Upper cases, were computed for each building under study and were used to compute representative risk curves at city and district levels. Figure 14 shows the Lower, Best and Upper risk curves for Barcelona and for the Eixample district and Fig. 15 shows the Best risk curves for the ten districts of the city. Table 9 shows the frequency of exceedance of damage states for the entire city and for four districts of Barcelona. The districts shown are the two with the highest risk, Ciutat Vella and Eixample, and the two with the lowest risk, Horta-Guinardó and Nou Barris.

Fig. 14
figure 14

Seismic risk curves for Barcelona (a) and for the Eixample district (b)

Fig. 15
figure 15

Average seismic risk curves (Best) for residential buildings in the ten districts

Table 9 Exceedance frequencies of damage states for the entire city and for four districts

For a building that has the mean vulnerability index of those in the entire city, the exceedance frequencies of damage five (total collapse) were lower than 1 × 10−5. Values of 5.24 × 10−6, 6.72 × 10−6, and 9.87 × 10−6 were obtained respectively for the Lower, Best and Upper vulnerability curves (see Table 9). These frequencies were higher than 1.0 × 10−5 for the representative building for the Ciutat Vella and Eixample districts (Table 9). However, for the representative building for the Horta-Guinardó and Nou Barris districts, the frequency of occurrence of damage state five is lower than 1.0 × 10−5 (Table 9).

USERISK2015 outputs can also be used to generate seismic risk maps. Figure 16 shows the geographical distribution of the seismic risk of the Eixample district at plot/building scale, for the Lower, Best and Upper cases. The frequencies of exceedance of damage 5 in the residential buildings of the Eixample district are in the range 0–2.3 × 10−5.

Fig. 16
figure 16

Seismic risk maps of the Eixample district. The exceedance frequencies of the damage state 5 are mapped at building level

Strictly speaking, Fig. 14b corresponds to a building equivalent to one with the mean vulnerability curve of the buildings in the Eixample district; meanwhile Fig. 16 provides detailed information about the seismic risk of individual buildings in the same District. Moreover, according to the risk analysis results, the percentage of residential buildings in the Eixample district that have a frequency of occurrence of damage 5 greater than 1 × 10−5 are 52.68%, 56.55% and 70.07% respectively when the Lower, Best and Upper vulnerability curves are considered.

The results of this risk analyses reveal that the seismic risk of residential buildings in Barcelona should not be ignored. The significant risk is mainly due to the high seismic vulnerability of buildings in Barcelona.

3.4.1 Economic cost

The main parameter to quantify the risk due to natural disasters is economic cost. Then, seismic risk results are used to appraise economic losses. According to Marulanda et al. (2013), the overall value of the total residential buildings of Barcelona is estimated to be €31,523 million.

To appraise the seismic risk of the city in economic terms, the computed exceedance frequencies of each damage grade are used. Dolce et al. (2006) proposed the following economic cost factors: 0.035, 0.145, 0.305, 0.800 and 1.000 for the occurrence of damage states 1, 2, 3, 4 and 5, respectively. Thus, these damage factors may be applied to the exceedance rates of each damage state to obtain the economic cost as a function of its exceedance rate (return period).

The cost analysis was performed at city and district levels. In addition, to see the influence of regional modifiers of vulnerability, the economic cost for the entire city was assessed with and without these modifiers. Figure 17 shows the result obtained with and without regional modifiers. The Low, Best and Upper curves are shown for both cases. The economic risk curve of Marulanda et al. (2013) is also shown.

Fig. 17
figure 17

Seismic economic losses for residential buildings of Barcelona

For low return periods, for example less than 500 years, the risk curve of Marulanda et al. (2013) shows good agreement with the Best curve of our analysis when regional modifiers are not considered. Moreover, Lantada et al. (2010) estimated an overall economic cost due to earthquakes in Barcelona of €10 billion for a 475 return period. This cost would roughly correspond to our value for the Best curve, allowing for regional modifiers. The economic appraisals performed with VIM_P are richer, as they show a range between €4 and 9 billion when regional modifiers are not considered and between €9.9 and 10.3 billion when regional modifiers are taken into account.

3.4.2 Prioritizing actions

Then, the risk results were analyzed in mind that a criterion has been established to prioritize prospective actions for upgrading the seismic strength of buildings. Let this criterion be the condition that the exceedance frequency of damage state 5 is greater than 1 × 10−5. For the building that is representative of the mean vulnerability of Barcelona, this critical value is not exceeded (Table 9), neither it is exceeded for the buildings that are representative of the districts of Les Corts, Sarrià-Sant Gervasi, Horta-Guinardó, Nou Barris and Sant Andreu. However, this limit is exceeded in the case of the Eixample and Ciutat Vella districts (Table 9) and in three other districts, namely, Sants-Montjuïc, Gràcia and Sant Martí. Moreover, concerning individual residential buildings in the Eixample district (Fig. 16), 52.7% have an annual frequency of occurrence of damage grade 5 above 1 × 10−5 for the Lower curve.

These risk results, at city, district, neighborhood and single building scales, should be used to prioritize and take decisions on vulnerability reduction, to help reduce seismic risk in Barcelona.

4 Discussion and conclusions

4.1 VIM and VIM_P

As stated above, VIM_P is an extension of VIM as proposed in the framework of the Risk-UE project in the early 2000s. The main idea of the development of VIM_P (Aguilar-Meléndez 2011) was not to substitute VIM, but rather to take advantage of the potentialities of VIM to include it in a probabilistic environment, in a relatively easy and straightforward way. This way, an important advantage of including the seismic vulnerability of each building as a random variable into the main risk integral is that it allows to compute the seismic risk taking into account the important uncertainties involved in the seismic vulnerability of residential buildings. Thus, both methods are supplementary as many of the computations required in VIM_P are performed using VIM. In some way, VIM_P involves the repeated application of VIM. As stated in many previous studies, results obtained with VIM should be understood as averages or means. VIM_P helps to understand how disperse these results are because it incorporates uncertainties in the seismic hazard and in the vulnerability, including one related to the reliability of the assessment of building typology. Accordingly, seismic risk results are given for three possible choices, Lower, Best and Upper. For each of these choices, the results contain uncertainties in the seismic risk assessments. In this respect, VIM_P results are particularly useful for decision-making. In the Appendix, Table 11 highlights the main features of VIM and VIM_P methods.

4.2 Computing time

VIM and VIM_P are simplified methods that can be used to compute the seismic risk of thousands of buildings in a relatively short time (Aguilar-Meléndez 2011). For any specific building, VIM_P requires more computational time because it requires computing probability density functions that represent the seismic vulnerability and because the seismic hazard is defined by means of hazard curves giving the exceedance rates for the macroseismic intensities involved in the risk study. In fact, VIM_P requires two software packages: R-CRISIS and USERISK2015. In a standard PCFootnote 2 running under windows OS, USERISK2015 required about 5 h to compute the vulnerability and risk curves for each one of the 69,982 residential buildings of Barcelona. VIM required less than 1 h for a given earthquake scenario defined by means of an EMS’98 macroseismic intensity. Nevertheless, the time is considered worthwhile, considering the quantity and quality of the results that VIM_P produces in comparison to VIM.

4.3 Comparison with previous results

The results obtained with VIM_P in this study show reasonably good agreement with those obtained in previous studies (Lantada 2007; Lantada et al. 2010) using VIM. In fact, VIM is designed to compute earthquake scenarios related to a unique event defined by means of macroseismic intensity at the basement of the site. For an intensity of VI–VII in a rock site and VII in soil sites, the mean damage grade obtained by Lantada et al. (2010) for the buildings in the Eixample District is 2.03. In the VIM_P, values of 2.6, 2.75 and 2.9 are obtained for the Lower, Best and Upper vulnerability curves, respectively. These higher values are attributed to the contribution to damage of higher vulnerability indices involved in the pdf vulnerability functions, which consider the uncertainties in the vulnerability indices of the buildings. The way in which the seismic hazard is considered in VIM_P could contribute to these differences too. The seismic risk of Barcelona has been assessed by means of a Capacity Spectrum-Based Method (CSBM) also called Level Method 2 (LM2) in the Risk-UE project. Specific capacity spectra and 5% damped response spectra were developed for buildings and seismic actions respectively. A mean damage grade of 1.90 was obtained, which is close to that obtained with VIM. In addition to the reasons given to explain the differences between the results obtained with VIM and VIM_P, in the CSBM it could also be significant that capacity spectra were developed only for selected buildings representative of masonry and RC building typologies, thus strongly smoothing the vulnerability of buildings in the Eixample district.

Concerning the economic cost for the 475 return period scenario, €10,000 and 9078 million were estimated with the VIM (Lantada et al. 2010) and the CSBM (Lantada et al. 2009a), respectively. Moreover, Marulanda et al. (2013) applied to Barcelona the CAPRA (Cardona et al. 2012) method and obtained an overall cost of €5172 million. VIM_P provides values of €10,116, 11,500 and 13,536 million for the Lower, Best and Upper cases, respectively. However, if regional modifiers are not considered, these costs are €3937, 5673 and 8663 million, respectively. As stated above, VIM_P provides slightly higher costs than VIM and CSBM, probably due to a more comprehensive evaluation of the buildings’ vulnerability. The costs without considering regional modifiers, although also a little higher, are close to the results of Marulanda et al. (2013).

4.4 Conclusions

VIM has been shown to be a robust and reliable tool for seismic damage and risk assessments based on earthquake scenarios. However, strong assumptions are made on the vulnerability of existing buildings, which, after all, are considered in a deterministic way. Results in VIM are given in terms of damage scenarios so that other indirect losses can also be computed, such as economic cost, homeless and injured people, and victims. The philosophy of VIM_P aims to compute exceedance rates, which is the standard way to define risk. This way, VIM_P incorporates uncertainties in seismic hazard and vulnerability leading to probabilistic results. Somehow, VIM_P contains VIM, as VIM_P requires the application of VIM to many vulnerability indices (buildings), subjected to many earthquake scenarios. Each vulnerability index and each earthquake scenario has its probability of occurrence/exceedance. Thus, VIM_P achieves exceedance rates. In addition, VIM_P allows consideration of the reliability of the building typology, thus leading to Upper and Lower risk estimates, in addition to the Best estimate. With a proper combination of the vulnerability indices (VIM) and vulnerability functions (VIM_P), both methods may be applied to single buildings and to a group of buildings, thus allowing the risk analysis to be performed at whichever level is required.

Despite the low-to-moderate seismic hazard of Barcelona, the application of VIM_P confirms the significant seismic risk of the city as revealed by previous studies. This relevant seismic risk is mainly due to the high vulnerability of the buildings. The Ciutat Vella and the Eixample districts contain the most vulnerable buildings, and are the most vulnerable districts in the city. The versatility of VIM_P together with the wealth of results VIM_P can provide makes this method an excellent tool for risk management and for prioritizing actions that contribute to seismic risk reduction, particularly in highly populated urban areas.