1 Introduction

The cultural value of historical city centers can be considered the result of long-term processes dealing with ethnological, political, economic, architectural and artistic values (Vicente et al. 2015). Their unique identity should be recognized and characterized by analyzing the urban morphology and by understanding the history and cultural background. Any potential intervention should be based on this knowledge and be a result of a systematic method of assessment and recording that ensures compatibility during the urban regeneration process. A strategic and standardized methodology with a large scale, sustainable, and multidisciplinary approach for defining outlines and procedures of intervention is required even though this framework is likely to have some singularities since each case is unique (Ferreira et al. 2015). The vulnerabilities of historical city centers are still not completely understood by governments. The implementation of risk policy is limited even though the scientific community has increased its research on this issue providing guidelines, methodologies, technologies, and tools to evaluate and monitor the existing framework and predict potential scenarios (Ferreira et al. 2017a). Although some methodologies are more accurate in terms of results, they may be not economically viable, so simplified seismic vulnerability assessment methods can play an important role in developing vulnerability scenarios at urban or building scales (Ferreira et al. 2017a). This article is aimed at evaluating the vulnerability of the historical city center of Leiria, Portugal, by using the vulnerability index methodology developed by Vicente et al. (2011) based on the Italian GNDT II level approach (GNDT 1994), with the quantification of the uncertainty through the introduction of the concept of parameter confidence factor. In an attempt to account for the uncertainty associated with the evaluation, this confidence factor opens the door to future advances on the quantification of that uncertainty on the risk assessment results. The present work aims to provide quantitative data about the risks associated with seismicity of Leiria, guiding the municipality through the making of informed decisions about a risk management plan and retrofitting strategies.

2 The historical city center of Leiria

2.1 Overview of the case study

Leiria, located in central Portugal, is one of the main cities between Coimbra and Lisbon. It is widely known that the Portugal mainland is a slow seismic deforming region, where the interaction between the African and Eurasian plates can be responsible for large earthquakes. In the last century, the region has experienced at least 116 earthquakes with intensities equal or larger than III on the EMS-98 macroseismic intensity scale (Teves-Costa et al. 2019). The most notable for the seismic history of Portugal is the 1755 Lisbon earthquake (8.5 ± 0.3 Mw) that caused great damage in the Algarve and Lisbon regions as well as in Leiria (Carvalho and Aveleira n.d.). According to maximum intensity maps (MIM) available for Portugal mainland, intensity VII or VIII can be identified as representative of the seismicity of the city (Teves-Costa et al. 2019). Thus, Leiria is at acute risk of destructive earthquakes and should prepare adequate risk management strategies.

The foundation of the city can be traced back to 1135 when D. Afonso Henriques built its castle (Mattoso 1985). Since then, it has flourished thanks to its position first as an outpost to the Moorish domains and later as a commercial hub. The urban configuration developed in relation to the castle and the two landmarks of the mains square and the cathedral. Its layout is defined by the fundamental axis of Rua Direita and related streets branching perpendicularly. The present work focused on a limited portion (45,000 m2) of the city corresponding to the historical center that, in preparation for fieldwork, was divided into three zones (Fig. 1), and each building was identified with a unique identification code.

Fig. 1
figure 1

Case study zones, adapted from Anglade et al. (2020)

Among the analyzed buildings, 49.7% were multi familiar, 38.2% single familiar, 32.5% with mixed use, and 39.5% of the buildings were unoccupied. According to a socio-demographic census carried by the municipality of Leiria there are 315 residents in the city center divided into the three zones (Dinis 2006), see Table 1.

Table 1 Demographic data presented by zone and by age groups (Dinis 2006)

2.2 Building characterization

The area is composed of 232 buildings divided into three main typologies: concrete (RC) buildings, 31.1% of the analyzed building stock; mixed structures, 7.9%; and masonry buildings, 61%, which represent the main focus of this work. RC buildings fall outside the scope of the study and are omitted from the data.

2.2.1 Geometrical features

The study area is composed of a fairly homogeneous building stock with common features that were easily identifiable during fieldwork. The buildings are generally part of an aggregate, and they tend to be of 3–4 stories and regular in both plan configuration and height. The façade layout characterization is also notable, as it has a great influence on the shear resistance and in-plane response of the façade walls. The façade openings were found to be of notable size and fairly regular in layout for façades facing the main streets and squares, see Fig. 2a, b, while in secondary streets they present a less regular configuration and are smaller in size, Fig. 2c. In some cases, sources of irregularity both in plan and elevation were introduced by later interventions carried out on the buildings, such as additions, super elevations, creation of larger openings at the ground floors, floor slab replacements, etc.

Fig. 2
figure 2

Regular big openings facing of a building facing the cathedral’s square (a), a minor square (b) and irregular size and layout openings of a secondary street (c)

2.2.2 Materials and connections

External inspections were used to evaluate the quality of masonry because deterioration of the external renders allowed for direct observation of the material underneath. The external walls of the buildings are mainly composed of stone masonry, usually limestone units of different sizes sometimes mixed with units of other materials, e.g. clay bricks, marlstones, etc. The units’ arrangement has sub-horizontal mortar joints, but the alignment of the vertical joints does not indicate a good quality masonry (Borri et al. 2015). In addition, there is large variability in the size and shape of the units, Fig. 3. The walls’ thicknesses range from 0.4 m to 1.0 m with an average of 0.7 m and are a three-leaf arrangement with weak inner filling and lack of connections. The mechanical properties of the masonry were identified according to the “Masonry of roughhewed stones” category defined in the Italian Codes (Circolare 21 gennaio 2019 n. 7 C.S.LL.PP 2019) and confirmed by flat jack tests performed by Pinheiro et al. (2017).

Fig. 3
figure 3

Rubble stone masonry with other material units: sub-horizontal arrangement (a, b) and cross section (c) of some masonry walls in Leiria

Good wall-to-wall connection was often evidenced by the presence of large stones in the façade corners, Fig. 4a. Thus, when this feature was detected, good quality of the wall-to-wall connection was assumed for the building. If this was not observed, a bad quality connection and improper interlocking was assumed. This assumption was supported by observations of large vertical and diagonal cracks, an indication of a poor connection between the internal and external walls that allows for independent behavior and rotation of the façade walls, Fig. 4b, c.

Fig. 4
figure 4

Bad quality connections between orthogonal walls evidenced by diagonal cracks on internal walls (a) and by detachment cracks on the corners (b)

Three floor types were observed in the study area: concrete slabs, metallic structures, and timber floors. The first two typologies were observed in just a few cases in buildings that were recently restored, while the third type was found in the majority of buildings. The timber floors are composed of pine beams directly supported by the bearing wall or by a primary order of timber beams, Fig. 5a. No tie rods or metallic elements were observed to improve connections between the floor and walls. Thus, a conservative assumption was made when information about the floor was not available: the presence of a flexible timber floor with weak connections to the walls and no presence of tie rods was assumed.

Fig. 5
figure 5

Example of a two-order timber floor with connection to the perimeter wall (a), timber king post truss of a roof (b), mixed masonry-timber perimeter ribbon of the roof (c)

Few roofing systems were accessible during the fieldwork. However, all of the roofs inspected consisted of timber truss elements. In some cases, half trusses were observed, but in most cases king post trusses or simple trusses were used, Fig. 5b. Additionally, in all the inspected roofs, the truss structure was connected to the walls through a dormant beam extending all along the perimeter with load distribution and tying function, Fig. 5c. This beam is a mixed masonry-timber element that indicates that the roof weight and thrust are properly distributed to the perimeter walls and a good connection between walls and roof is assured. It was assumed that inaccessible roofs are similar to the ones inspected. These assumptions, namely the non-impulsive nature of the roof and the presence of a perimeter ribbon, might lead to an underestimation of the vulnerability of the buildings to the roofing system interaction. However, the assumptions made are supported by observations made in the field inspections and by the knowledge of the traditional construction techniques of the area. For these reasons the assumptions made are considered sufficiently cautious.

3 Inspection procedure and database

All the buildings in the study area were assessed on site to collect the required data for the computation of the vulnerability indices by using a detailed checklist built for this purpose. It was developed to evaluate each construction element of the relevant (non-reinforced concrete) buildings based on scientific knowledge and experience with the chosen methods and site of the engineers conducting the evaluations. The checklist was adapted from a Portuguese interpretation of the Italian Gruppo nazionale per la difesa dai terremoti (GNDT) checklist for seismic vulnerability evaluations of the building stock in Italy, thus combining expertise on seismic evaluation and regional construction methods (GNDT 2003; dos Santos Gomes 2016). In addition, the necessary data were identified from studies performed by Vicente et al. (2011) and Ferreira (2010) as those most important to collect for the computation of the vulnerability index values. Any necessary information that could not be obtained from a ground-level visual inspection alone was left blank on the checklist to be completed with another data source (i.e. Google Maps, Google Earth, or the municipality site map) or expert assumption. The data contained in the checklists was manually inputted into a spreadsheet database to create a digital record and to automate some later steps of the work. In fact, the vulnerability index tool spreadsheet automatically pulled information from the database without needing to re-enter information manually. It was only necessary to manually enter a small amount of the information required that was not possible to gather directly or that was not related to singular buildings.

Once all the indices and seismic vulnerability indicators for each building were computed, e.g. mean damage grade, probability of collapse, probability of unusability, etc., the results were plotted spatially with a general planning tool. In many cases, without the use of a representative approach that allows the technicians and the decision makers to acquire a global view of the area and of the results of the assessment, the risk management effectiveness can be compromised (Ferreira et al. 2013). For this reason, a multi-purpose tool connected to a relational database within a GIS environment was used in this work. The GIS application software (QGIS 3.4.4Madeira) represents each building by its plan footprint to plot the results of the assessment. All the buildings in the study area were inspected from the exterior; of these, 6.2% were inspected from the interior as well, see Fig. 6. Exterior inspections were performed from ground level and at each accessible façade on the building. Approximately 70% of the data on the checklist could be obtained from an exterior inspection alone. When an inside inspection was possible, more precise information regarding the floor slabs and the roofing system was gathered along with more information regarding the state of conservation. In most cases the type of inspection carried out did not impose a significant change in the vulnerability index. However, the information gathered during the internal inspections was used as a representative sample of the remaining building stock.

Fig. 6
figure 6

Map with the type of inspection, adapted from Anglade et al. (2020)

4 Vulnerability index methodology

The vulnerability assessment was carried out using a hybrid approach based on the GNDT II level approach for the masonry buildings (GNDT 2003). The method was proposed by Vicente et al. (2011) and developed by other authors (Ferreira 2010). It aims to estimate possible losses and post-seismic scenarios through a simplified assessment that utilizes post-seismic damage observations and survey data on the elements that define building damage (Maio et al. 2016). The method has been successfully adapted to the Portuguese historical building environment (Ferreira et al. 2017a; Maio et al. 2016; Vicente et al. 2011) and is calibrated according to damage data collected for the magnitude VII earthquake that struck the Azores archipelago in 1998 (Ferreira et al. 2017a). It is worth noting in this regard that, although the method is not specifically calibrated for this case study (which would be impossible since no damage data is available), the fact that it has been calibrated based a similar building typology, with similar constructive and geometrical features, allows to assume the validity of the results. As explained in the following, possible differences in the mechanical characteristics of the structural elements are considered and controlled by the method.

The method evaluates 14 parameters that affect the seismic performance of the building stock. A vulnerability class (\(c_{vi}\)) is assigned to these parameters with increasing vulnerability: A, B, C, and D and a weight (pi) is given ranging from 0.5 for the least important parameters to 2.5 for those considered most important (Table 2). The parameters are used evaluate a single building in an aggregate and are organized into four groups: structural building system, irregularities and interaction, floor slabs and roof, conservation status and other elements. A total vulnerability index Iv is calculated with Eq. (1) by computing the weighted sum of the parameters multiplied by their specific weight assigned as a meaning of importance in the definition of seismic response. The total vulnerability index takes on an integer value in the range between 0 and 750; it is then normalized to a global vulnerability index (Iv) ranging between 0 and 100.

Table 2 Vulnerability index associated parameters, classes and post-calibration weights pi (Ferreira et al. 2017a)
$$I_{v} = \mathop \sum \limits_{i = 1}^{14} c_{vi} \times p_{i}$$
(1)

Each parameter was evaluated based on expert opinion but has inherent uncertainty. To account for this, confidence levels were evaluated and are presented in Sect. 5.2.

5 Vulnerability assessment of the Historical Center of Leiria

5.1 Assessment of parameters

The compilation of the database and analysis of the parameters yields the parameter class distribution shown in Fig. 7. Of these, P1, P2, P7, and P12 were found to be the most influential and given a weight of 1.5 or greater (Table 2). Parameters P3, P11, and P13 are also notable with weights of 1.0; P1, P2, P3, P11, P12, and P13 are the target of the retrofitting strategies presented in Sect. 6. The position of a building within its aggregate (P7) is fixed and thus unaffected by retrofitting.

Fig. 7
figure 7

Vulnerability class distribution of each parameter

5.2 Parameter confidence factors

The inherent uncertainty of the parameters necessitates an evaluation of the confidence in the data and the error accumulated during the gathering procedure. The propagation of error should be considered when evaluating the vulnerability index values. The present work attributed confidence classes to the parameters according to Vicente (2008), defined on the basis of the quality of the information gathered. A quantitative range of uncertainty from 0%, total confidence, to 100%, total uncertainty, was assigned to each confidence level listed in Table 3.

Table 3 Average confidence classes for each parameter

Two approaches were used for the uncertainty grade computation: an assumption based on expert opinion when the evaluation of a specific parameter consisted of a single data type or of a simplified assessment (P2, P5, P7, P8, P10, P13 and P14); or a combination of the uncertainty grades associated with the data used (P1, P3, P4, P6, P11 and P12). Thus, the factors applied as uncertainty levels can also be considered as an estimation of the error accumulated during data recording and assumption. A global confidence level for a single building cannot be computed because a summation would lead to overlapping sources of uncertainty (i.e. the presence of tie rods influences both parameters P1 and P12). Therefore, only the confidence levels related to a single parameter are provided. Still the results of this methodology can be used to discuss the reliability of the method applied. Table 3 presents the mean confidence classes calculated for each parameter with the associated graph shown in Fig. 8.

Fig. 8
figure 8

Bar chart distribution of the average confidence class for each parameter

According to these calculations, the method used for the present work takes advantage of a medium confidence level with some parameters characterized by a high confidence class, generally those with a directly applied class or that express only dimensional features of the buildings.

In conclusion, the strategies used to evaluate the uncertainties of the vulnerability index method are a proposal for a starting point to include uncertainty and error propagation in large-scale vulnerability assessment methods. However, the confidence level factors need an appropriate formulation based on probabilistic studies that goes beyond the scope of this work. Figure 9 illustrates the distribution of the uncertainties affecting this work.

Fig. 9
figure 9

Matrix distribution of the confidence class for each parameter

5.3 Seismic vulnerability assessment

The vulnerability assessment described in Sect. 4 was applied to 153 buildings and yielded a mean seismic vulnerability index value, \(I_{v,mean}\), of 41.57. The minimum value of the vulnerability index was 16.83 and the maximum was 82.67. The associated standard deviation, \(\sigma_{1v}\), is 12.93. The Kolmogorov–Smirnov normality test (Massey 1951) confirmed that at the 0.05 significance level, the data was significantly drawn from a normally distributed population with a p value of 0.148. Figure 10 shows the histogram and the best-fit normal distribution curve resulting from the assessment. The buildings’ conservation status ranges from good condition to ruin, and a good distribution of the Iv values can be observed in the plots in Fig. 11a. This distribution was mapped in GIS software to show the spatial relationship of the vulnerability index values in the study area (Fig. 11).

Fig. 10
figure 10

Vulnerability Index distribution of the building stock: histogram and best-fit normal distribution curve

Fig. 11
figure 11

Vulnerability index values shown with: a class distribution of parameter P13, fragilities and conservation status; and b state of use of buildings

The reliability of the method is demonstrated by the correlation between the most vulnerable buildings identified by visual inspection (P13) and those with high Iv values. The corner and row end buildings are generally more vulnerable than those located in the middle of the block, a phenomenon observed by Vicente et al. (2015) and demonstrated by Fig. 11. This is due to the aggregate position effect and the interaction with adjacent buildings during a seismic event that may cause additional damage through the floor hammering or roof misalignments.

Additionally, Fig. 11b shows that unoccupied or partially occupied buildings generally have higher vulnerability index values than occupied ones. This is due to lack of maintenance resulting from the state of abandonment.

5.4 Damage grade distributions

5.4.1 Mean damage grades

In an effort to quantify the damage likely to by incurred by buildings in the historic city center of Leiria for a seismic event of a given intensity, mean damage grades (μD) were calculated in accordance with the approach proposed by Bernardini et al. with the macroseismic intensities defined by EMS-98 (Bernardini et al. 2007; Grünthal 1998). The damage grades are calculated using the seismic hazard in terms of the macroseismic intensity, the vulnerability index, see Eq. (1), and a ductility factor corresponding to the building typology according to Eq. (2):

$$\mu_{D} = 2.5 + \left[ {3 \times tanh\left( {\frac{{I + 6.25 \times V {-} 12.7}}{Q}} \right)} \right] \times f\left( {V,I} \right);\quad 0 \le \mu_{D} \le 5$$
(2)

where I is the seismic hazard according to EMS-98, V is the vulnerability index, and Q is the ductility factor. Bernardini et al. (2007) found that the ductility factor of \(Q = 3.0\) was acceptable for masonry buildings similar to those found in Leiria, so the same factor was adopted for this case study. The calculated damage grades range from 0 to 5, where 5 represents the worst possible damage grade.

Equation (3) relates the vulnerability index (Iv) described in Sect. 5.2 to the vulnerability index (V) used in the macroseismic method and in determining the mean damage grades, and f(VI) is a function of the vulnerability and intensity that pertains to trends associated with lower vulnerability grades (IEMS-98 = V or VI), see Eq. (4) (Vicente et al. 2011).

$$V = 0.592 + 0.0057 \times I_{v}$$
(3)
$$f\left( {V,I} \right) = \left\{ {\begin{array}{*{20}l} {e^{{V/2 \times \left( {I - 7} \right)}} } \hfill & {I \le 7} \hfill \\ 1 \hfill & {I > 7} \hfill \\ \end{array} } \right.$$
(4)

Vulnerability curves are plotted in Fig. 12 that show the expected mean damage grade for events with a range of macroseismic intensities given the mean value of the vulnerability index (\(I_{v, mean}\)) and upper and lower bound ranges (\(I_{v, mean} \pm 1\sigma_{{I_{v} }}\), \(I_{v, mean} \pm 2\sigma_{{I_{v} }}\)) found for Leiria.

Fig. 12
figure 12

Mean damage grade curves for characteristic values of the vulnerability index

While the vulnerability curve is able to show the mean damage grade for the average (\(I_{v, mean}\)) building found in Leiria’s city center, by using the GIS tool the mean damage grades for every building can be visualized in their actual location on the map. Figure 13 shows the distribution of the mean damage grades across the study area given macroseismic intensities of VII and VIII.

Fig. 13
figure 13

Mean damage grade maps for a seismic event of Intensity IEMS-98 = VII (a) and IEMS-98 = VIII (b)

5.4.2 Discrete damage grades

The mean damage grades calculated for each building can be converted to discrete damage grades (Dk, \(k \in \left[ {0;\, 5} \right]\)) defined in EMS-98 (Grünthal 1998). The discrete damage grade represents the cost of returning a building to its original condition before the earthquake occurred. To perform the conversion a probabilistic distribution based on the discretization of a beta distribution defined between 0 and 5 is assumed. The correlation proposed by Bramerini et al. (1995), which can be approximated by the Eq. (5), was used in this case study. Damage factors (DF) defined for each discrete damage grade are used to relate the discrete damage grade to the mean damage grade according to the approach proposed by Maio et al. (2019).

$$\mu_{D} = 5 DF^{0.52}$$
(5)

These discrete damage grades can be applied to the vulnerability indices in order to calculate fragility curves and estimations of loss to describe the effect of seismic action on the historical center of Leiria, which are presented in the following sections.

5.5 Fragility curves

Fragility curves can be plotted in order to visualize the probability of reaching or exceeding the discrete damage grades described in the previous section for a range of macroseismic intensities. A beta cumulative density function is used to define the cumulative probability of reaching or exceeding a certain damage state based on the damage recorded in the database (Giovinazzi 2005).The discrete probability, \(P\left( {D_{k} } \right) = d\), can be derived from the difference of cumulative probabilities, \(P_{D} \left[ {D_{i} \ge d} \right]\), and is described by the following Eq. (6) (Ferreira et al. 2013):

$$P\left( {D_{k} = d} \right) = P_{D} \left[ {D_{k} \ge d} \right] - P_{D} \left[ {D_{k + 1} \ge d} \right]$$
(6)

Figure 14 shows the fragility curves plotted as continuous probability functions for the mean vulnerability index value (\(I_{v, mean} =\) 41.57).

Fig. 14
figure 14

Fragility curve depicting the probability of reaching or exceeding discrete damage grades D1–D5

6 Retrofitting strategies

The analysis shows that structural deficiencies and deterioration processes are the factors having the most influence over the final Iv value. The potential vulnerabilities should be corrected by performing minimum interventions that respect historical and cultural values, and economic efficiency. Although interventions should be based on an assessment of a particular structure, the “packaging” strategy has been recognized as an effective method for improving the seismic performance of unreinforced stone masonry buildings at an urban scale (Bothara and Brzev 2011; Penna 2015; Tomaževič 1999). In the present study, five retrofitting solutions for increasing invasiveness and cost, S1 to S5, are proposed and grouped into two incremental packages: RP1 and RP2 (Fig. 15). They are based on design recommendations from the Civil Engineering Regional Laboratory of Azores (LREC) in cooperation with professionals and technicians made after the 1998 earthquake (Cansado et al. 1998; Costa et al. 2008; Oliveira et al. 1990). The cost evaluation refers to the retrofitting strategies already proposed by Ferreira et al. (2017b), based on the detailed structural design projects contained in a database related to the rehabilitation process of the Faial island in 1998 which were considered representative of the traditional Azorean buildings.

Fig. 15
figure 15

Seismic retrofitting solutions adopted

The first retrofitting package, RP1, has an estimated cost of 35 €/m2, referring to the Ferreira et al. (2017b) prediction, and consists of four interventions aimed at improving: wall-to-wall connection by tie-rods applied at floor or roof level (S1), in-plane stiffness of diaphragms through the application of diagonal bracings and new layer of timber planks (S2), wall-to-floor connection by perimeter steel beams properly anchored to the stone masonry walls (S3), and wall-to-roof connection by means of tie-rods that correct any potential horizontal thrust (S4). The second package RP2 has an estimated cost of 185 €/m2 and includes all the retrofitting solutions of RP1 complemented by the jacketing technique of applying a reinforced plaster layer connected to the existing masonry walls by transversal tying (S5). A detailed description of each intervention is given by Ferreira et al. (2017b), Cansado et al. (1998), Costa (2002) and Bothara and Brzev (2011).

6.1 Vulnerability index updating

The effectiveness of the application of a certain retrofitting package was evaluated by updating the vulnerability index values according to the parameters affected by the retrofitting technique. RP1 and RP2 decrease the vulnerability index values Iv by upgrading the vulnerability classes Cvi of parameters P1, P11, P12 and P2, P3, P13 respectively (Table 4). The application of RP1 yields a maximum improvement to vulnerability class B for P1, since class A relates to designed masonry structures, and to class A for P11. In the present case, parameter P12 is not upgraded because its evaluation depends on expert assumptions that led to the maximum class A by default. The buildings that are grouped in the lower classes have other deficiencies and thus improving the class may not be conservative.

Table 4 Influence of each retrofitting solution over the vulnerability index value Iv

The jacketing technique in RP2 influences the vulnerability class of P2, which improves to class A after the intervention (Table 4). The conventional shear strength of masonry walls (P3) is updated as well. Since the types and qualities of masonry walls are characterized and compared with those in the Italian code, its method is applied. It allows an increase of the mechanical properties of masonry subjected to intervention by multiplying them with coefficients (Circolare 21 gennaio 2019 n. 7 C.S.LL.PP. 2019). Thus, the vulnerability class of P3 is updated considering the modified shear strength. The implementation of both RP1 and RP2 improve the global conservation state leading to the maximum class A for P13, Table 4.

Unlike past case studies (Ferreira et al. 2017b), the retrofitting strategies of this work were not applied to the whole building stock of Leiria’s city center but only to the most vulnerable building, which are those with a mean damage grade above 3 for an event of macroseismic intensity VIII, which is representative of the seismic hazard in Leiria. This approach is preferable because of its economic affordability and because it requires minimum intervention with an acceptable degree of efficiency. As a result, 69 constructions (45%) were subjected to RP1, Fig. 16a. The updated mean damage grade was still higher than 3 after the RP1 interventions for 21 buildings (13.7%) out of the original 69. RP2 was therefore applied to these 21 buildings to further reduce their mean damage grades, Fig. 16b. Finally, the total cost for the application of RP1 was computed as € 862,330.70 and the total cost for the application of RP2 was found to be € 1,215,111.00. Bearing in mind that the given amounts are representative and do not correspond to the real expenses that incurred by application, these results are useful to evaluate the cost–benefit balance that will be discussed in the following sections.

Fig. 16
figure 16

Location of the building intervened with the RP1 (a) and the RP2 (b)

In Fig. 17 the highlighted parameters are those affected by the application of each retrofitting package. Table 5 shows the mean vulnerability index Iv and standard deviation σ1v before (BR) and after (RP1 and RP2) retrofitting. Through the application of RP1, the initial mean value of seismic vulnerability index, Iv, decreases from 41.57 to 34.05 (18.1%). Finally, by applying RP2, this reduction increases around 26.7%. Figure 18 shows RP1 and RP2 best-fit normal distribution curves shifted and shrunk around the updated mean Iv values as a result of the reduction in the mean vulnerability index and standard deviation values, Table 5.

Fig. 17
figure 17

Vulnerability class distribution after the application of RP1 to the selected 69 buildings (a) and of the RP2 to the selected 21 buildings (b)

Table 5 Influence of each retrofitting solution over the Iv and standard deviation σIv
Fig. 18
figure 18

Best-fit normal distribution curve of Iv before and after retrofitting

7 Loss estimation

Loss estimation has the potential to play a key role in effective loss mitigation by applying retrofitting strategies. A cost–benefit analysis based on quantitative data about the population and building stock vulnerability allows municipalities to make informed decisions regarding risk prevention (D’ayala et al. 1997) as well as the type and the extent of retrofitting strategies to adopt. Moreover, a cost–benefit analysis based on loss estimation allows for evaluation of the effectiveness of the measures taken.

Estimations of loss were calculated based on three different scenarios: before retrofitting (BR), after the application of the Retrofitting Package 1 (RP1), and after the application of the Retrofitting Package 2 (RP2). The literature presents many strategies for loss estimations based on the probabilities of occurrence of certain damage scenarios. For this approach, the loss will be estimated through the use of the characteristic vulnerability indices (Iv, \(I_{v, mean} \pm 1\sigma_{{I_{v} }}\), \(I_{v, mean} \pm 2\sigma_{{I_{v} }}\)) and the GIS tool.

The effectiveness of the damage estimation models ultimately relies on the accuracy of the damage grades presented in Sect. 5.4.2. Thus, it is dependent on the probability of meeting or exceeding a certain damage grade and other loss phenomena (i.e., collapse, homelessness, death and severe injury, etc.) (Ferreira 2010).

7.1 Collapsed and unusable buildings

The estimation of probable losses in terms of collapsed and unusable buildings were calculated following the approach proposed by Bramerini et al. (1995) and adopted by the Italian Servizio Sismico Nazionale (SSN). The probability of a building to meet or exceed a certain damage grade is statistically weighted and summed to obtain the probabilities of collapse Eq. (7) and unusability Eq. (8), where the weighting factors applied were taken from values found in similar Portuguese case studies (Ferreira et al. 2013).

$$P_{collapse} = P\left( {D_{5} } \right)$$
(7)
$$P_{unusable} = P\left( {D_{3} } \right) \times W_{ei, 3} + P\left( {D_{4} } \right) \times W_{ei, 4}$$
(8)

According to the average vulnerability index values, the probability curves for collapsed and unusable buildings can be plotted for the BR scenario. Figure 19b demonstrates that with increasing size of seismic events, the number of unusable buildings increases up to a maximum and then begins to decrease as the increase in the number of collapsed buildings continues to increase, Fig. 19a. Using the GIS tool, these results can be visualized across the study area by plotting each calculated probability with the associated building code. Figure 20a, b show the probability of unusability across the historical center of Leiria combined with the probability of collapse.

Fig. 19
figure 19

Probability of collapsed (a) and unusable (b) buildings for characteristic vulnerability index values

Fig. 20
figure 20

Map of the probabilities of unusability and collapse for an event of seismic intensity IEMS-98 = VII (a) and IEMS-98 = VIII (b)

The number of collapsed buildings becomes relevant when the earthquake intensity exceeds XI, which is larger than expected in Leiria. However, this number can be reduced by 50% with the application of the RP1 and by over 70% for RP2. The number of unusable buildings undergoes a smaller improvement after retrofitting but is relevant for lower intensities. The number of unusable buildings after the application of the retrofitting techniques exhibits a maximum improvement for intensity VIII (Fig. 21) and, after reaching the peak value becomes larger than in the unreinforced condition (BR) because the reinforcement strategy prevents more buildings from collapsing. In the unlikely occurrence of a seismic event with intensity greater than IX, more buildings are unusable in the strengthened scenarios and fewer collapse.

Fig. 21
figure 21

Probability of collapsed buildings (a) and unusable buildings (b) for the different building conditions analyzed

7.2 Human casualties

The approach from SSN was also used to evaluate probabilities of human casualties (dead or severely injured) and homelessness in Leiria following a seismic event. Ferreira et al. (2013) defines the rate of casualty as 30% of the residents in collapsed or unusable buildings, and the remaining residents of these buildings as homeless. The following Eqs. (9) and (10) were used to determine the probabilities associated with casualties and homelessness (Ferreira et al. 2013):

$$P_{death} = 0.3 \times P\left( {D_{5} } \right)$$
(9)
$$P_{homeless} = P\left( {D_{3} } \right) \times W_{ei, 3} + P\left( {D_{4} } \right) \times W_{ei, 4} + 0.7 \times D_{5}$$
(10)

An estimation of the number of resulting casualties and homeless people can be calculated according to the demographic data given by the census (Sect. 2.1) (Tables 6, 7). Figure 22 plots the probabilities of casualties and homeless people for the characteristic vulnerability index values (Iv, \(I_{v, mean} \pm 1\sigma_{{I_{v} }}\), \(I_{v, mean} \pm 2\sigma_{{I_{v} }}\)) in the BR condition. At lower intensity events, the population is scarcely affected by the earthquake in terms of deaths or injuries. Above intensity IX, the entire population falls into one of these two categories, reaching a probability of 28–35% of human casualties and 70–80% of homeless people. Figure 22b shows the probability of homelessness reaches a maximum of about 80% of the population and then decreases as the death toll arises.

Table 6 Estimation of the number of dead or severely injured people
Table 7 Estimation of the number of homeless people
Fig. 22
figure 22

Probabilities of human casualties (a) and homeless (b) for the characteristic vulnerability index values over a range of seismic intensities

Figure 23 demonstrates the effectiveness application of the retrofitting strategies on the human casualties. Due to the small number of people registered as living in the city center, a probability of having casualties (Fig. 23a) occurs only above intensity IX. However, if the maximum intensities (from IX to XII) are considered, a decreasing trend can be seen after applying the RP1 and RP2 up to intensity XI. After that the probability remains constant (30% for intensity XII) due to the destructiveness of the seismic event. The maximum variation can be observed for intensity X where the probability drops from 19% (BR) to 15% (RP1) and 12% (RP2). In terms of probability of homelessness, in Fig. 23b, a decreasing trend can be seen up to seismic intensity IX due to a decrease in the number of collapsed buildings for the retrofitted scenarios. Then this trend reverses because there are more non-collapsed buildings after the retrofitting interventions. These outputs can be used for emergency planning by authorities and civil protection since they provide an estimation of the number of people that will need to be temporarily relocated.

Fig. 23
figure 23

Probability of dead or severely injured (a) and homeless (b) people

7.3 Economic balance

The estimated damage is defined as the cost of repair required for a building following a seismic event. By analyzing post-earthquake damage data and current construction costs it is possible to correlate the costs of repairs with the damage grades. This work uses the correlation developed by Maio et al. (2019) in accordance with the damage observed in 1395 buildings due to the 1998 Azores earthquake. The cost of repair and replacement is correlated to the discrete damage grades with Eq. (11) proposed by Ferreira et al. (2013) using the macro-seismic intensity (I), discrete damage level (\(P[R|D_{k} ]\)) and the probability of reaching that damage condition given a certain vulnerability index (\(P[D_{k} |I_{v} ]\)).

$$P[R|I] = \mathop \sum \limits_{{D_{k} = 1}}^{5} \mathop \sum \limits_{{I_{v} = 0}}^{100} P\left[ {R\left| {D_{k} \left] { \times P} \right[D_{k} } \right|I_{v} } \right]$$
(11)

While retrofitting an existing building may involve two or three times the initial investment of construction, repair and strengthening the same building after a seismic event may be four to eight times as expensive (Ferreira et al. 2017b). Moreover, the replacement of damaged or existing unsafe buildings by reconstruction should generally be avoided because of higher costs of reconstruction than those of strengthening or retrofitting actions, preservation and safeguarding of historical architecture and built heritage, and maintaining of functional, social and cultural environment (Ferreira et al. 2017b).

The economic losses are calculated singularly for each building and then summed (Table 8). In contrast, past studies have computed economic losses with respect to a mean vulnerability index value and total evaluated area of the building stock, likewise for the human losses and collapsed buildings (Ferreira et al. 2017b). The approach undertaken in this work can be considered valuable as the evaluation of economic loss for each building was possible. The economic balance can be considered the most powerful tool for evaluating the effectiveness of the retrofitting strategies considered, since it allows estimation of both the total savings obtained in terms of repair costs and replacement after a seismic event of a certain intensity and the payback of the investment undertaken (Table 9).

Table 8 Global savings obtained for each retrofitting package applied (in millions of €)
Table 9 Payback for each retrofitting packages applied (in millions of €)

The application of the retrofitting strategy decreases the estimated economic losses for low intensity earthquakes (IEMS-98 = VII) from 13.27 to 8.15 M€ for RP1 (reduction about 39%) and to 6.36 M€ for RP2 (reduction about 52%), see Fig. 24. For higher intensities the repair costs of the retrofitted scenarios are equivalent to the initial repair costs of the BR situation, because these are unlikely situations, and total destruction is expected.

Fig. 24
figure 24

Evaluation of the reparation costs for the different conditions analyzed

Considering the repair costs and the total cost of each retrofitting package, the seismic intensity range for which the application of the indicated retrofitting strategies is effective can be identified, Fig. 25.

Fig. 25
figure 25

Evaluation of the payback amounts for the retrofitting packages applied

For low intensity earthquakes (V and VI), the initial retrofitting cost is not justified. The effectiveness range of the two intervention types are between intensities VII and X for RP1 with a payback maximum at intensity VIII of 8.75 M€ (ten times the initial investment), and for RP2 with a payback maximum at intensity IX of 11.81 € (5 times the initial investment). Beyond seismic intensity IX, the retrofitting applications start losing their effectiveness because the building stock, including the unreinforced buildings, start to suffer severe damage and collapse.

8 Conclusions

The outcomes resulting from the vulnerability assessment prove the reliability of the method proposed by Vicente et al. (2011) and Ferreira (Ferreira et al. 2017a) applied to the observed characteristics and fragilities that affect structural behavior in the case of seismic events. The most vulnerable features characterizing the building stock were the connections between the various structural elements of the buildings contributing to the box-like behavior of a structure, the masonry quality, the state of conservation, and the presence of adequately stiff floor slabs that distribute and transmit the seismic load to resisting elements. Although Leiria is located in a moderate seismic hazard area, the expected level of damage for the building stock, the potential economic losses, and casualties should be reduced by means of risk management policies aimed at ensuring a sufficient seismic safety.

The hybrid method of vulnerability assessment is based on 14 different parameters that takes into account geometrical and structural characteristics, soil-structure and structure-to-structure interactions, quality of materials and construction details, conservation state. Since this method has uncertainties related to its calibration and especially to the collection of data, it is important to assess the reliability of results through a confidence factor. The strategy followed in this work allowed for the singular evaluation of the confidence class for each parameter but needs to be improved for the evaluation of a mean confidence level related to the overall vulnerability index of each building.

Bearing in mind the structural deficiencies that characterize the building stock, retrofitting strategies were aimed at mitigating seismic risk of the historical city center. The strategies properly address the most vulnerable features of the buildings in Leiria and are evaluated in a cost–benefit analysis that, through updating the vulnerability index values and computing new mean damage grades, discrete damage grades, and loss probabilities, estimates the benefits in terms of decreasing the death toll, homelessness, and collapsed and unusable buildings after a seismic event.

In conclusion, vulnerability assessment of existing structures is crucial in seismic areas to drive risk management policies and design retrofitting interventions that address observed fragilities. Through a qualitative cost–benefit analysis the evaluation of the proposed large-scale intervention allows municipalities and decision makers to make informed decisions regarding risk prevention. Interventions should be selected and designed in a way that they effectively contribute to decrease the seismic vulnerability and, in consequence, to achieve a reduction of overall damage, loss and casualty. Moreover, to be cost-efficient, the buildings to intervene (or their parts) should be wisely selected. Local authorities are able to interpret the present work on large-scale seismic analysis because its results are presented with intuitive GIS maps, thus making them aware of potential effects of their risk management policies. Moreover, outputs can be continually updated because of the integration within the GIS tool, as well as the spreadsheet database. Potential post-earthquake scenarios can be predicted for different macro-seismic intensities and their accuracy depends on the proposed calibration that takes into account the actual features of the building stock. In addition, if the results are updated with the new population data, they can provide significant information about emergency planning since the most vulnerable buildings and areas are identified, see for example Aguado et al. (2018) and Anglade et al. (2020).