You are on page 1of 80

D

R
A
F
T
User Manual for the Earthquake Loss Estimation
Tool: SELENA
Sergio Molina
NORSAR and Universidad de Alicante
Dominik H. Lang, Conrad D. Lindholm and Fredrik Lingvall
NORSAR
October 1, 2010
D
R
A
F
T
Contents
1 Introduction 1
1.1 Scope and methodology of SELENA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Copyright 5
2.1 Disclaimer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 Technical Description of SELENA 6
3.1 Basic Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.2 Provision of Seismic Demand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2.1 Probabilistic Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2.2 Deterministic Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2.3 Analysis with Real-time Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.3 Site-dependent Seismic Demand Amplication of Ground Motion . . . . . . . . . . . . 8
3.3.1 IBC-2006 (International Code Council, 2006) . . . . . . . . . . . . . . . . . . . . . 10
3.3.2 Eurocode 8 (European Committee for Standardization CEN, 2002) . . . . . . . . . 14
3.3.3 Indian Standard IS 1893 (Part 1) : 2002 (Bureau of Indian Standards, 2002) . . . 14
3.4 Structural Performance Under Seismic Action . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.4.1 The Capacity Spectrum Method (CSM) as Proposed in ATC-40 . . . . . . . . . . 17
3.4.2 The Modied Capacity Spectrum Method (MADRS) . . . . . . . . . . . . . . . . . 23
3.4.3 Improved Displacement Coecient Method (I-DCM) . . . . . . . . . . . . . . . . . 27
3.5 Fragility Curves and Damage State Probability . . . . . . . . . . . . . . . . . . . . . . . . 28
3.6 Economic Losses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.7 Humanloss Casualties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.7.1 The Basic Methodology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.7.2 The HAZUS Methodology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4 Installation 34
4.1 System Requirements and Resent Code Changes . . . . . . . . . . . . . . . . . . . . . . . 34
4.1.1 Installing the GNU Scientic Library . . . . . . . . . . . . . . . . . . . . . . . . . . 34
4.2 The Directory Structure of SELENA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.3 The SELENA m-les . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.3.1 The SELENA mex-les . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4.3.2 The SELENA oct-les . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5 Running SELENA 38
5.1 Preparation of Input Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
5.1.1 Input Files for Deterministic Analysis . . . . . . . . . . . . . . . . . . . . . . . . . 39
5.1.2 Input Files for Probabilistic Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . 40
5.1.3 Input Files for Analysis with Real-time Data . . . . . . . . . . . . . . . . . . . . . 41
5.1.4 Common Input Files for all Analysis Types . . . . . . . . . . . . . . . . . . . . . . 41
2
D
R
A
F
T
5.1.5 Input Files for the Calculation of Economic Losses . . . . . . . . . . . . . . . . . . 44
5.1.6 Input Files for the Calculation of Human Losses Casualties . . . . . . . . . . . 44
5.1.7 Mandatory Input Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
5.2 Mean Damage Ratio Computation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
5.2.1 Median Values and Condence Levels . . . . . . . . . . . . . . . . . . . . . . . . . 51
5.3 The SELENA Program Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
5.3.1 The Stand-alone SELENA Application . . . . . . . . . . . . . . . . . . . . . . . . . 51
5.3.2 The Matlab and Octave Command-line Interface . . . . . . . . . . . . . . . . . . . 51
5.3.3 The Matlab Graphical User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . 53
5.4 Dealing with Uncertainties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
5.5 Output Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
5.5.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
5.5.2 Format of the Output Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
5.5.3 Mean Damage Ratio Output Files . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
6 Examples 62
6.1 The Bucharest Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
6.2 Determistic Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
6.3 Probabilistic Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
6.4 Realtime Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
7 Plotting results in Geographic Information Systems (GIS) 63
8 Known Issues 63
9 Summary 64
Bibliography 64
A Tables 68
B Compiling the C-code 74
B.1 Tools and Libraries for Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
B.2 Building the Stand-alone Application on Linux/Unix . . . . . . . . . . . . . . . . . . . . . 75
B.3 Building the Stand-alone Application on Windows . . . . . . . . . . . . . . . . . . . . . . 75
B.4 Building the Stand-alone GUI Application on Linux/Unix . . . . . . . . . . . . . . . . . . 75
B.5 Building the Stand-alone GUI Application on Windows . . . . . . . . . . . . . . . . . . . 76
B.6 Building the Linux/Unix mex-les . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
B.6.1 Building the Windows mex-les . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
B.7 Building the oct-Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
D
R
A
F
T
Selena 1 INTRODUCTION
1 Introduction
T
HE earthquake loss estimation tool SELENA, which is described herein, provides local, state and
regional ocials with a state-of-the-art decision support tool for estimating possible losses from
future earthquakes. This forecasting capability enables users to anticipate the consequences of future
earthquakes and to develop plans and strategies for reducing risk. GIS-based software (e.g., ArcView [1])
can be utilized at multiple levels of resolution to graphically show loss results and to prepare response
strategies.
Some of the rst earthquake loss estimation studies were performed in the early 1970s following the
1971 San Fernando earthquake. These studies put a heavy emphasis on loss of life, injuries, and the
ability to provide emergency health care. More recent studies have focused on the disruption of roads,
telecommunications and other lifeline systems. The present loss estimation tool computes analytically,
based on ground shaking estimates, the degree of damage on specic construction groups and detailed as
well as gross economic losses.
Earlier the National Institute of Building Sciences (NIBS) has developed the tool HAZUS-MH [24]
for the federal emergency management agency (FEMA) in order to provide a powerful technique for
developing earthquake loss estimates. This to be used in:
anticipating the possible nature of an earthquake disaster and the scope of the emergency response
needed to cope with an earthquake disaster,
developing plans for recovery and reconstruction following a disaster, and
mitigating the possible consequences of earthquakes.
The methodology generates an estimate of the damage consequences for a city or a region based on
a scenario earthquake, i.e., an earthquake with a specied magnitude and location. The resulting loss
estimate will generally describe the scale and the extent of damage and disruption that may result from
such an earthquake. Using such computations the following information can principally be obtained by:
Quantitative estimates of losses in terms of direct costs for repair and replacement of damaged
buildings and lifeline system components; direct costs associated with loss of function (e.g., loss of
business revenue, relocation costs); casualties; people displaced from residence; quantity of debris;
and regional economic impacts.
Functionality losses in terms of loss-of-function and restoration times for critical facilities such as
hospitals, and components of transportation and utility lifeline systems and simplied analyses of
loss-of-system-function for electrical distribution and potable water systems.
Extent of induced hazards in terms of re ignitions and re spread, exposed population and building
value due to potential ooding and locations of hazardous materials.
All the system, methods, and data have been coded into a user-friendly software that operates through
a geographical information system (GIS) which is called HAZUS-MH [2]; the ESRI GIS system is used
by HAZUS-MH.
In a simplied form, the steps followed by the HAZUS methodology are:
1. Select the area to be studied. This may be a city, a county or a group of municipalities.
2. Specify the magnitude and location of the scenario earthquake. In developing the scenario earth-
quake, considerations should be given to the potential fault locations.
3. Provide additional information describing local soil and geological conditions, if available.
1
D
R
A
F
T
Selena 1 INTRODUCTION
4. Using formulas embedded in HAZUS, probability distributions are computed for damage to dierent
classes of buildings, facilities, and lifeline system components and loss-of-function estimates are
made.
5. The damage and functionality information is used to compute estimates of direct economic loss,
casualties, and shelter needs. In addition, the indirect economic impacts on the regional economy
are estimated for the years following the earthquake.
6. An estimate of the number of ignitions and the extent of re spread is computed. The amount and
type of debris are estimated. If an inundation map is provided, exposure to ooding can also be
estimated.
The earthquake-related hazards considered by the methodology in evaluating casualties, and resulting
losses are collectively referred to as potential earth science hazards (PESH). Most damage and loss caused
by an earthquake is directly or indirectly the result of ground shaking, but there are also other features
of an earthquake (such as fault rupture, liquefaction, land sliding etc.) that can cause permanent ground
displacements and have an adverse eect upon structures, roads, pipelines, and other lifeline structures
which are also considered.
Soil type can have a signicant eect on the intensity of ground motion at a particular site. The
software contains several options for determining the eect of soil type on ground motions for a given
magnitude and location.
Tsunamis and seiches are also earthquake-caused phenomena that can result in inundation or wa-
terfront damage. In the methodology, potential sites of these hazards may be identied, but they are
evaluated only if special supplemental studies are performed.
The type of buildings and facilities considered in HAZUS-MH are as follows:
General Building Stock: The commercial, industrial and residential buildings in the studied region
are not considered individually when calculating losses. Instead, they are grouped together into 36
model building types and 28 occupancy classes and degrees of damage are computed for groups of
buildings.
Essential Facilities: These include medical care facilities, emergency response facilities and schools.
Specic information is compiled for each building so the loss-of-function is evaluated in a building-
by-building basis.
Transportation lifeline systems: These include highways, railways, light rail, bus systems, ports,
ferry system and airports and they are broken in components such as bridges, stretches of roadway
or track, terminal, and port warehouses. The damage and losses are computed for each component
of each lifeline.
Utility lifeline systems: These include potable water, electric power, waste water, communications,
and liquid fuels (oil and gas) and are treated in a manner similar to transportation lifelines.
High-potential loss facilities: These include dams, nuclear power plants, or military installations
which need supplementary specic studies to be evaluated.
All results from HAZUS-MH are provided as best estimates, and no uncertainty in the results is
provided for.
The downside of these fascinating developments implemented in HAZUS-MH is that it has been so
intimately connected to the U.S. environments that it is practically impossible to apply it to the rest of
the world.
We have in the present study developed and adapted the core of the HAZUS methodology to greater
exibility compared to non-free tools, such as, ArcGIS [5].
2
D
R
A
F
T
Selena 1 INTRODUCTION
A more important extension is that a logic tree scheme with weighted input of uncertain parameters
has been incorporated, and an example of seismic damage scenarios for the city of Oslo have been
conducted and published.
1.1 Scope and methodology of SELENA
While the HAZUS approach is attractive from a scientic/technical perspective, the fact that it is tai-
lored so intimately to U.S. situations and to a specic GIS software makes it dicult to apply in other
environments and geographical regions.
Aware of the importance of a proper seismic risk estimation, the international centre for geohazards
(ICG), through NORSAR (Norway) and the University of Alicante (Spain), has developed a free software
tool in order to compute the seismic risk in urban areas using the capacity spectrum method named
SELENA (SEimic Loss EstimatioN using a logic tree Approach). The user will supply built area or number
of buildings in the dierent model building types, earthquake sources, empirical ground-motion prediction
relationships, soil maps and corresponding ground-motion amplication factors, capacity curves and
fragility curves corresponding to each of the model building types and nally cost models for building
repair or replacement. This tool will compute the probability of damage in each one of the four damage
states (slight, moderate, extensive, and complete) for the given building types. This probability is
subsequently used with the built area or the number of buildings to express the results in terms of
damaged area (square meters) or number of damaged buildings. Finally, using a simplied economic
model, the damage is converted to economic losses in the respective input currency and human casualties
in terms of dierent injury types are computed [6].
The algorithm is transparent in writing and loading the input les and getting the nal results. The
main innovation of this tool is the implementation of the computation under a logic tree scheme, allowing
the consideration of epistemic uncertainties related with the dierent input parameters to be properly
included, and the nal results are provided with corresponding condence levels. Until now the method
has been successfully applied to the city of Oslo and Naples [6, 7].
The basic approach is often called the capacity-spectrum method, because it combines the ground
motion input in terms of response spectra (see, for example, the spectral acceleration versus spectral
displacement illustrated in Figure 1) with the buildings specic capacity curve (see the example shown
in Figure 2. The philosophy is that any building is structurally damaged by its permanent displace-
ment (and not by the acceleration by itself). For each building and building type the inter-story drift
(relative drift of the stories within a multistory structure) is a function of the applied lateral force that
can be analytically determined and transformed into building capacity curves (capacity to withstand
accelerations without permanent displacements). Building capacity curves naturally vary from building
type to building type, and also from region to region reecting local building regulations as well as local
construction practice. Under the HAZUS-umbrella FEMA developed capacity curves for 36 U.S. building
types for four earthquake code regimes (reecting the variation in building regulations as a function of
time across the U.S.). These 144 capacity curves are developed analytically, but adjusted so that empir-
ical knowledge is incorporated in the curves whenever possible. The building capacity curve is dened
through three control points: Design, Yield and Ultimate capacity (Figure 2). Up to the yield point,
the building capacity curve is assumed to behave elastically linear. From the yield point to the ultimate
point, the capacity curve changes from an elastic to a fully plastic state (curved form), and the curve
is assumed to remain fully plastic past the ultimate point (linear form). A bi-linear representation (two
linear parts) is sometimes used to simplify the model shown in Figure 2. The vulnerability curves (also
called fragility curves) are developed as log-normal probability distributions of damage from the capacity
curves (see the illustration in Figure 3). The structural damage states are (as in most other proposed
schemes and neglecting the state no damage) divided into four damage states: slight, moderate, extensive,
and complete. A detailed description of these damage states are found many places. For example, the
description for light frame wood buildings are:
3
D
R
A
F
T
Selena 1 INTRODUCTION
0
0.25
0.5
0.75
1
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35
S
p
e
c
t
r
a
l

a
c
c
e
l
e
r
a
t
i
o
n

S
a

[
g
]
Spectral displacement S
d
[m]

Figure 1: The methodology is based on presenting the ground-motion response spectral ordinates (at
given damping levels) of spectral acceleration versus spectral displacement.
S
p
e
c
t
r
a
l

a
c
c
e
l
e
r
a
t
i
o
n

S
a

[
g
]

Spectral displacement S
d
[cm]

d
d
d
y
d
u
a
d
a
y
a
u
demand curve
(d
d
, a
d
) design capacity
(d
y
, a
y
) yield capacity
(d
u
, a
u
) ultimate capacity
median
median +1
median 1
Figure 2: The principle of the building specic capacity curve intersected by the load curve representing
the seismic demand.
4
D
R
A
F
T
Selena 2 COPYRIGHT
0
0.2
0.4
0.6
0.8
1
0 10 20 30 40 50 60 70 80 90 100
D
a
m
a
g
e

p
r
o
b
a
b
i
l
i
t
y

P

(
d
s

|

S
d
)
Spectral displacement S
d
[cm]

s
l
i
g
h
t
m
o
d
e
r
a
t
e
e
x
t
e
n
s
i
v
e
c
o
m
p
l
e
t
e
Figure 3: Example fragility curves showing the probabilities P(d
s
|S
d
) of being in or exceeding the dierent
damage states, d
s
, for building type C1M as given in HAZUS99.
slight: Small plaster cracks at corners of door and window openings and wall-ceiling intersections; small
cracks in masonry chimneys and masonry veneers. Small cracks are assumed to be visible with a
maximum width of less than 1/8 inch (cracks wider than 1/8 inch are referred to as large cracks).
moderate: Large plaster or gypsum-board cracks at corners of door and window openings; small diagonal
cracks across shear-wall panels exhibited by small cracks in stucco and gypsum wall panels; large
cracks in brick chimneys; toppling of tall masonry chimneys.
extensive: Large diagonal cracks across shear-wall panels or large cracks at plywood joints; permanent
lateral movement of oors and roof; toppling of most brick chimneys; cracks in foundations; splitting
of wood sill plates and/or slippage of structure over foundations.
complete: Structure may have large permanent lateral displacement or be in imminent danger of collapse
due to cripple wall failure or failure of the lateral load resisting system; some structures may slip
and fall o the foundation; large foundation cracks. Three percent of the total area of buildings
with Complete Damage is expected to be collapsed, on average.
2 Copyright
T
HE SELENA program is an open source software and the source code for the program is freely
redistributable under the terms of the GNU General Public License (GPL) as published by the Free
Software Foundation (http://www.gnu.org). See also the le COPYING which is distributed with the
SELENA program.
The SELENA program can be downloaded at: http://selena.sourceforge.net At this website you
can also nd information how to contact the authors and report bugs etc.
5
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
2.1 Disclaimer
The SELENA program is distributed in the hope that it will be useful but WITHOUT ANY WAR-
RANTY. More specically:
THE PROGRAM IS PROVIDED AS-IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OR CONDITIONS
OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL ANY
OF THE AUTHORS OF THE SELENA PROGRAM AND/OR NORSAR, NORWAY, UNIVERSIDAD DE
ALICANTE, SPAIN, BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUEN-
TIAL DAMAGES OF ANY KIND, OR DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
DATA, OR PROFITS, WHETHER OR NOT THE AUTHORS OF THE SELENA PROGRAM HAVE BEEN
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, AND/OR ON ANY THEORY OF LIABILITY
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
3 Technical Description of SELENA
I
N this section the main features of SELENA is discussed.
3.1 Basic Procedure
The HAZUS methodology covers a wide range of dierent damages and losses to buildings, lifelines,
people etc.; however, in the present version of SELENA we have only implemented the rst part of the
methodology, the estimation of damage to the general building stock, the economic and human losses
related to these physical damages. All results are provided with ranges of uncertainty facilitating the
easy computation of, e.g., median value and 16%- respectively 84%-fractiles of damage.
It has to be noted that SELENA requires quite extensive basis information within a number of input
les. These can be easily generated as tables in, for example, a spreadsheet program (e.g., MS-Excel,
OpenOce, MS-Access etc.) and exported as ASCII-table les with all required information given in the
matrices.
Since a resolution of the damage outputs on the level of individual buildings would require huge compu-
tation eorts, SELENA as most other risk estimation software tools considers the minimum geographical
unit (GEOUNIT), i.e., the census tract, as the smallest area unit. In practice, this unit is related to
building blocks or smaller city districts. The decision on the extent of each geographical unit has to be
made considering dierent aspects such as having equal soil conditions, constant surface topography or a
homogeneous level of building quality within the demarcated area. The main basis information consists in
the building inventory database (which is also somewhat dicult to generate). This type of information
sometimes is provided by local agencies or governmental institutions. In any case, a thorough investiga-
tion of the local building stock by walk-downs and on-site inspections should be conducted in order to
allow a representative classication of the prevalent building typologies. The building inventory database
should contain a maximum of details about building materials, building techniques, built area, oors of
the building, height, foundations, seismic regulations used in the construction, use of the building, num-
ber of occupants, year of construction, etc. The building information is classied according to building
type, built square meters in each one of the geographical units which form the region under study or as
an individual building if a site-specic study is going to be done. The classication of the building type
can be either done according to the HAZUS methodology (see http://www.fema.gov/hazus documents
or previous HAZUS reports) or following a user-dened classication scheme being more specic for the
available building stock.
6
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
3.2 Provision of Seismic Demand
A key point in any seismic risk assessment is the provision of seismic ground motion (level and spectral
characteristics of earthquake shaking). In order to carry out a seismic risk and loss assessment with
SELENA, the user can provide the seismic ground-motion amplitudes on three dierent ways:
provision of spectral ordinates (taken out from probabilistic shaking maps) for each geographical
unit (probabilistic analysis),
denition of deterministic earthquake scenarios (e.g., historical or user-dened events) and ap-
propriate ground-motion prediction equations in order to compute the spectral ordinates in each
geographical unit (deterministic analysis),
provision of recorded ground-motion amplitudes at the locations of seismic (strong-motion) stations
(analysis with real-time data).
Following the provisions of the international building code 2006 (IBC-2006) [8], spectral accelerations
at the three periods T = 0.01 [s] peak ground acceleration (PGA), T = 0.30 [s] (Sa
0.3
) and T = 1.00
[s] (Sa
1.0
) have to be provided in order to describe the elastic design spectrum. Most other earthquake
codes (e.g., Eurocode 8 [9]) dene the shape of the design spectrum such that only a design acceleration
value, generally the PGA, is required to scale the amplitudes of the spectrum. Consequently, in case that
Eurocode 8 design spectra are chosen for the analysis, spectral accelerations values Sa
0.3
and Sa
1.0
are
not regarded.
3.2.1 Probabilistic Analysis
The probabilistic analysis procedure denotes the use of spectral ordinates which are taken from probabilis-
tic shake maps. In addition to the acceleration values (PGA, Sa
0.3
, Sa
1.0
) for each minimum geographical
unit, the geographical coordinates of the centroid have to be provided. Probabilistic shake maps are gen-
erally developed for rock conditions such that soil amplication is not included in the spectral ordinates.
3.2.2 Deterministic Analysis
For the deterministic analysis the ground-motion parameters (PGA, Sa
0.3
, Sa
1.0
) produced by the sce-
nario earthquake are calculated by selectable ground-motion prediction relations (attenuation relations).
Since all geographical units are located in dierent distances to the assumed epicenter of the scenario
earthquake, this process is done separately for each geographical unit. A considerable number of well-
established ground-motion prediction relations is already incorporated in the SELENA code (Appendix A,
Table 19) but any user-provided relation can be easily implemented. It should be considered that all
provided prediction relations refer to rock site conditions and thus compute ground-motion amplitudes
without soil amplication since this is covered in a separate (subsequent) calculation step. Even though
the respective soil terms are provided in the code they are not considered during the analysis.
Depending on the type of design spectrum chosen for the analysis, predicted ground-motion amplitudes
are either used to dene the shape of the elastic design spectrum (e.g., IBC-2006) or only to scale the
amplitudes of the spectrum (e.g., Eurocode 8) which later represents the seismic demand for the capacity
spectrum method (CSM) procedure. As Table 1 illustrates, all predened ground-motion prediction
equations can be used to derive mean values of ground-motion amplitudes as well as their 1 (standard
deviation) values in order to account for aleatoric uncertainty.
Since each ground-motion prediction equation is dependent on a particular distance, SELENA au-
tomatically computes four dierent types of distances: epicentral distance R
epi
, hypocentral distance
R
hypo
, Joyner-Boore distance R
jb
(shortest distance to the vertical surface projection of the fault
rupture plane), and the shortest distance to the subsurface fault rupture plane R
rup
(see Figure 4).
7
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
Figure 4: Schematic illustration of the dierent distance types.
Thereby, the expected value of the surface fault rupture length, L, is based on the relationship by
Wells and Coppersmith [10]:
log
10
(L) = 3.55 + 0.74M for strike-slip faults (1)
log
10
(L) = 2.86 + 0.63M for reverse faults (2)
log
10
(L) = 3.22 + 0.69M for all other fault types (3)
where L is the rupture length in [km] and M is the moment magnitude of the earthquake.
3.2.3 Analysis with Real-time Data
In case of an analysis with real-time data, a major problem consists in the fact that the locations for
which ground-motion data is available will certainly not comply with the center points of the dened
geographical units (i.e., centroids). Consequently, the provided spectral ordinates at these locations have
to be assigned to the centroids in a somehow reliable way. The procedure applied here is schematically
illustrated in Figure 5. Basically it is checked which of the available points (here the nodes of an equally-
spaced grid pattern) are within a 5 km-radius around each centroid. If at least 5 points meet this criterion
the mean value and corresponding 16%- resp. 84%-fractiles of the spectral ordinates of all stations are
computed and assigned to the respective centroid. If less than 5 points are within this 5 km-radius, a
new circle of 10 km diameter is drawn. Given that the location of a centroid is more or less identical
with the location of one recording station, its spectral ordinates are directly assigned to the centroid
without further processing. It should be regarded, that the provided spectral ordinates already cover soil
amplication eects as they are realistic ground-motion data recorded at the ground surface. Therefore
any additional consideration of soil amplication has to be avoided. [In practice, this means that the
SELENA soil input les (i.e., soilcenteri.txt) do not contain soil class indecies other than those for
rock, i.e., 2 for IBC-2006, 1 for Eurocode 8].
3.3 Site-dependent Seismic Demand Amplication of Ground Motion
In case that sedimentary soil materials are present at a site, the seismic ground motion at the ground
surface is modied both in amplitude and frequency content. Respective amplication factors and/or
corner periods which basically describe shape of the design spectra for the dierent soil classes are given
in the corresponding code provisions. Currently, the procedures of IBC-2006, Eurocode 8 (Type 1 and
8
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
Author(s) (year)
Target ground-motion parameter
mean value (mv) mv+1 mv - 1
Boore et al. [11], Boore et al. [12], Boore et al. [13] * * *
Ambraseys et al. [14] * * *
Toro et al. [15] * * *
Campbell and Bozorgnia [16]), Campbell [17] * * *
Campbell and Bozorgnia [18] * * *
Abrahamson and Silva [19] * * *
Sabetta and Pugliese [20] * * *
Ambraseys et al. [21] * * *
Akkar and Bommer [22] * * *
Sadigh et al. [23] * * *
zbey et al. (2003) * * *
Spudich et al. [24] * * *
Bommer et al. [25] * * *
Atkinson and Boore [26] * * *
Zonno and Montaldo [27] * * *
Schwarz et al. [28], Ende and Schwarz [29] * * *
Ambraseys and Douglas [30], Douglas [31],
Ambraseys and Douglas [32] * * *
Chapman [33] * * *
Crouse and McGuire [34] * * *
G ulkan and Kalkan [35] * * *
Lussou et al. [36] * * *
Dahle et al. [37] * * *
Bommer et al. [38] * * *
Marmureanu et al. [39] * * *
Sharma et al. [40] * * *
Table 1: Selection of the empirical ground-motion prediction methods which are implemented in the
current SELENA-version (see the m-le att sub.m or the C-le att sub.c distributed with SELENA).
Figure 5: Spectral ordinates at the sites of randomly-distributed recording stations are assigned to the
centers of the geographical units (centroids).
9
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
0
S
p
e
c
t
r
a
l

a
c
c
e
l
e
r
a
t
i
o
n

S
a

[
m
/
s
2
]

Period T [s]

T
A
T
AV
T
VD
PGA
Sa
0.3
Sa
1.0
damping = 5 %
response spectrum

Figure 6: Standard shape of the response spectrum.
Type 2), and Indian standard IS 1893 [41] are incorporated while more will follow in upcoming SELENA-
versions.
3.3.1 IBC-2006 (International Code Council, 2006)
The methodology characterizes ground shaking using a standardized response spectrum shape as given
in IBC-2006 [8], which consists of four parts: PGA, a region of constant spectral acceleration at periods
from zero seconds to T
av
, a region of constant spectral velocity between periods from T
av
to T
vd
, and a
region of constant spectral displacement for periods of T
vd
and beyond (see Figure 6).
The region of constant spectral acceleration is dened by the constant Sa at 0.3 s (Sa
1.0
). The region
of constant spectral velocity has Sa proportional to 1/T and is anchored to the constant Sa at 1.0 s
(Sa
1.0
). In general, the elastic design spectrum Sa(T) is dened by the following equations:
Sa(T) = Sa
0.3
(0.4 +T/T
A
) for T < T
A
(4)
Sa(T) = Sa
0.3
for T < T < T
AV
(5)
Sa(T) = Sa
1.0
/T for T
AV
< T < T
vd
(6)
Sa(T) = Sa
1.0
T
vd
/T
2
for T
vd
< T < 10 s (7)
The period T
av
is based on the intersection of the region of constant spectral acceleration and constant
spectral velocity and its value varies depending on the values of spectral acceleration that dene these
two intersecting regions:
T
av
= Sa
1.0
/Sa
0.3
(8)
10
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
The period T
a
representing the left corner period of the spectral plateau can be determined as follows:
T
a
= 0.2T
AV
= 0.2(Sa
1.0
/Sa
0.3
) (9)
The constant spectral displacement region has spectral acceleration proportional to 1/T
2
and is anchored
to the spectral acceleration value at the period T
av
, where constant spectral velocity transitions to constant
spectral displacement.
The period T
vd
is based on the reciprocal of the corner frequency f
c
, which is proportional to stress
drop and seismic moment. This frequency is estimated from the Joyner and Boore [42] relationship as a
function of moment magnitude:
T
vd
=
1
f
c
= 10
(M5)/2
(10)
where f
c
is the corner frequency and M is the moment magnitude. When the moment magnitude is not
known (probabilistic earthquake scenario), the period T
vd
is assumed to be 10 seconds (M = 7.0).
In order to be able to describe the elastic design spectra (for rock: site class B) in case that the PGA
is given, the following expressions have to be regarded:
Sa
0.3
= Sa
as
= 2.5a
pga
(11)
Sa
1.0
= Sa
sl
= a
pga
(12)
Amplication of ground shaking to account for local site conditions is based on the site classes (see
Table 2) and soil amplication factors as given by the IBC-2006 provisions. These code provisions do not
Site
site class description
shear-wave velocity
class v
s,30
[m/s]
A Hard rock, eastern U.S. sites only > 1500
B Rock 7601500
C Very dense soil and soft rock 360760
D Sti soil 180360
E Soft soil, prole with > 3 m of soft clay dened as soil
with plasticity index PI> 20, moisture content w > 40% < 180
F Soils requiring site-specic evaluations
Table 2: NEHRP site classication [43] as applied by IBC-2006 [8].
provide specic soil amplication factors for PGA or PGV. The methodology amplies rock (site class
B) PGA by the same factor as that specied in Table 3 for short period (0.3 s) spectral acceleration, as
Site Class B Site Class
Spectral Acceleration A B C D E
Short-Period, Sas [g] Short-Period Amplication Factor, F
A
0.25 0.8 1.0 1.2 1.6 2.5
(0.25, 0.50] 0.8 1.0 1.2 1.4 1.7
(0.50, 0.75] 0.8 1.0 1.1 1.2 1.2
(0.75, 1.0] 0.8 1.0 1.0 1.1 0.9
> 1.0 0.8 1.0 1.0 1.0 0.9
1-Second Period,Sal [g] 1-Second Period Amplication Factor, F
V
0.1 0.8 1.0 1.7 2.4 3.5
(0.1, 0.2] 0.8 1.0 1.6 2.0 3.2
(0.2, 0.3] 0.8 1.0 1.5 1.8 2.8
(0.3, 0.4] 0.8 1.0 1.4 1.6 2.4
> 0.4 0.8 1.0 1.3 1.5 2.4
Table 3: Site amplication factors as given in IBC-2006 [8].
expressed in the following expression:
a
pga
i
= a
pga
F
Ai
(13)
11
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
where a
pga
i
is the PGA for site class i (in units of [g]); a
pga
is that for site class B (in units of [g]) and F
Ai
is the short period amplication factor for site class i, for spectral acceleration S
as
. The construction of
demand spectra including soil eects is done using the following equation for short periods:
S
asi
= S
as
F
ai
(14)
and for long periods:
S
ali
= S
al
F
vi
(15)
while the period T
AVi
, which denes the transition period from constant spectral acceleration to constant
spectral velocity is a function of the site class. It can be determined by the following equation:
T
AVi
=
S
asi
S
as
F
vi
F
ai
(16)
where:
S
asi
: short-period spectral acceleration for site class i (in units of [g])
S
as
: short-period spectral acceleration for site class B (in units of [g])
F
Ai
: short-period amplication factor for site class i and for spectral acceleration S
as
S
ali
: 1-second (long) period spectral acceleration for site class i (in units of [g])
S
al
: 1-second (long) period spectral acceleration for site class B (in units of [g])
F
vi
: short-period amplication factor for site class i and for spectral acceleration S
al
T
avi
: transition period between constant spectral acceleration and constant spectral velocity for site
class i (in [s]).
Note that the period T
vd
, which denes the transition period from constant spectral velocity to constant
spectral displacement, is not a function of site class [see Eq (10)].
For the evaluation of structural damage it is more convenient to plot the acceleration response spec-
trum as a function of the spectral displacement (rather than the period). This could be achieved due to
the relation between the dierent spectral parameters:
Sa

= Sv = Sd (17)
where is the angular (natural) frequency of the oscillator (i.e., = 2f, where f is the frequency in
[Hz]).
The nal result of this process is the computation of a 5% damped response spectrum at the center
of each geographical unit (where values of ground motion were computed) or at the specic site under
study. In the following, this will be done exemplary for selected site classes according to the IBC 2006
provisions, i.e., NEHRP site classes AE.
Example 3.1 Generation of elastic demand spectra for NEHRP site classes B, C and D
Given parameters:
PGA for rock site conditions (site class B): a
PGA
b
= 0.20 g
12
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
Sa (0.3 s) for rock site conditions (site class B): Sa
0.3b
= 0.50 g
Sa (1.0 s) for rock site conditions (site class B): Sa
1.0b
= 0.20 g
Steps:
1. Calculation of spectral parameters for soil demand spectra: In case that Sa
0.3B
and Sa
1.0B
can
not be derived by spectral attenuation equations, both can be provided by: Sa
0.3
= S
as
= 0.50 g
[Eq. (11)] and Sa
1.0
= S
al
= 0.20 g [Eq. (12)].
2. Determination of site amplication factors for site classes (according to Table 3).
Site amplication factors for Site Class
S
as
= 0.50 g resp. S
al
= 0.20 g B C D
F
a
1.0 1.2 1.4
F
v
1.0 1.6 2.0
3. Calculation of short-period and long-period spectral accelerations as well as transition period T
avi
Parameter
Site Class
B C D
a
pga
i
= a
pga
F
ai
0.20 g 0.24 g 0.28 g
S
asi
= S
as
F
ai
0.50 g 0.60 g 0.70 g
S
ali
= S
al
F
vi
0.20 g 0.32 g 0.40 g
0.40 s 0.53 s 0.57s
0.08 s 0.106 s 0.114 s
3.16 s (for M 6.0), 5.62 s (for M 6.5), 10.0 s (for M 7.0)
4. Generation of elastic demand spectrum (damping = 5%):
0
0.2
0.4
0.6
0.8
1
0 0.5 1 1.5 2 2.5
S
p
e
c
t
r
a
l

a
c
c
e
l
e
r
a
t
i
o
n

S
a

[
g
]

Period T [s]

Site Class: B
C
D
0
0.2
0.4
0.6
0.8
1
0 10 20 30 40 50 60
S
p
e
c
t
r
a
l

a
c
c
e
l
e
r
a
t
i
o
n

S
a

[
g
]

Spectral displacement S
d
[cm]

Site Class: B
C
D
13
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
3.3.2 Eurocode 8 (European Committee for Standardization CEN, 2002)
For the description of seismic action, two dierent types of design spectra are provided within Eurocode
8 [9]. This mainly in order to account for the diering level of seismic hazard in Europe and the dierent
earthquakes susceptible to occur. In case that earthquakes with a surface-wave magnitude M
s
> 5.5 are
expected it is suggested to use Spectrum Type 1, else (M
s
5.54) Type 2. The question which spectrum
type to choose for a specic region should be based upon (...) the magnitude of earthquakes that are
actually expected to occur rather than conservative upper limits dened for the purpose of probabilistic
hazard assessment.
For the sake of completeness both spectrum types are incorporated in the current version of SELENA
even though scenario earthquakes with magnitudes smaller than 5.5 are not expected to cause considerable
structural damages to the general building stock.
Both types of the horizontal design spectrum are dened by the following expressions:
Sa(T) = a
g
S
_
1 +
T
TB
(2.5 1)
_
for T < T
B
(18)
Sa(T) = a
g
S2.5 for T
B
< T < T
C
(19)
Sa(T) = a
g
S2.5
_
1 +
TC
T

for T
C
< T < T
D
(20)
Sa(T) = a
g
S2.5
_
1 +
TCTD
T
2

for T
D
< T < 4 s (21)
where:
a
g
: design ground acceleration (here: PGA) on soil type A ground,
T
B
, T
C
: corner periods of the constant spectral acceleration branch (plateau),
T
D
: corner period dening the beginning of the constant displacement range,
S: soil factor (see Table 4),
: damping correction factor ( = 1 for 5% viscous damping).
The shape of the design spectrum is thus determined by the corner periods, soil factor, and the level
of input ground motion. Both, corner periods T
B
, T
C
and T
D
as well as soil factor S are dependent
on ground type which is mainly distinguished by the average shear-wave velocity of the uppermost 30
m v
s,30
into 5 dierent soil classes (Table 4). Both, soil factor and corner periods for the dierent soil
classes are given in Table 5 and Table 6 for Type 1 and Type 2 design spectra, respectively. Figure 7
illustrates the corresponding sets of normalized elastic design spectra.
3.3.3 Indian Standard IS 1893 (Part 1) : 2002 (Bureau of Indian Standards, 2002)
The construction of the horizontal design spectra following the provisions of the Indian standard IS
1893 (Part 1) : 2002 [41] can be compared with the procedure of Eurocode 8. The amplitude level of
the spectrum solely is dependent on the value for peak ground acceleration (PGA). The shape of the
horizontal design spectrum is thus dened by the following expressions:
Sa(T) = a
g
S
_
1 +
T
TB
(2.5 1)
_
for 0 T < T
B
(22)
Sa(T) = a
g
S2.5 for T
B
< T < T
C
(23)
Sa(T) = a
g
S2.5
_
1 +
TC
T

for T
C
< T < 4.0s (24)
(25)
where:
14
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
Ground type Description of stratigraphic prole
Shear wave velocity
v
s,30
[m/s]
A
Rock or rock-like geological formation,
> 800
incl. at most 5 m of weaker material at the surface
B
Deposits of very dense sands, gravel, or very sti clay
360-800 (at least several tens of m in thickness) characterized by
a gradual increase of mechanical properties with depth
C
Deep deposits of dense or medium-dense sand, gravel or
180-360
sti clay with thickness from several tens
to many hundreds of m
D
Deposits of loose-to-medium cohesionless soil
< 180 (with or without some soft cohesive layers), or of predominantly
soft-to-rm cohesive soil
E
Soil prole consisting of a surface alluvium layer with vs,30
n.a values of type C or D and thickness H varying between
5-20 m underlain by stier material with v
s,30
> 800 m/s.
Table 4: Ground types.
Ground type Soil factor S T
B
[s] T
C
[s] T
D
[s]
A 1.00 0.15 0.40 2.00
B 1.20 0.15 0.50 2.00
C 1.15 0.20 0.60 2.00
D 1.35 0.20 0.80 2.00
E 1.40 0.15 0.50 2.00
Table 5: Values of the parameters describing Eurocode 8 Type 1 spectra.
Ground type Soil factor S T
B
[s] T
C
[s] T
D
[s]
A 1.00 0.05 0.25 1.20
B 1.35 0.05 0.25 1.20
C 1.50 0.10 0.25 1.20
D 1.80 0.10 0.30 1.20
E 1.60 0.05 0.25 1.20
Table 6: Values of the parameters describing Eurocode 8 Type 2 spectra.
15
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
0
1
2
3
4
5
6
0 0.5 1 1.5 2 2.5 3 3.5 4
N
o
r
m
a
l
i
z
e
d

s
p
e
c
t
r
a
l

a
c
c
e
l
e
r
a
t
i
o
n
Period T [s]

Type 1
Ground type: A
B
C
D
E
0
1
2
3
4
5
6
0 0.5 1 1.5 2 2.5 3 3.5 4
N
o
r
m
a
l
i
z
e
d

s
p
e
c
t
r
a
l

a
c
c
e
l
e
r
a
t
i
o
n
Period T [s]

Type 1
Ground type: A
B
C
D
E
Figure 7: Elastic design spectra of Type 1 and Type 2 for ground types AE (prEN 1998-1:200x).
a
g
: design ground acceleration (here: PGA),
T
B
, T
C
: corner periods of the constant spectral acceleration branch (plateau),
T
D
: corner period dening the beginning of the constant displacement range,
: damping correction factor ( = 1 for 5% viscous damping).
The periods T
B
and T
C
are the only parameters which depend on the soil conditions. An explicit soil
amplication factor is not dened. Table 7 describes the three dierent soil types and assigns their
control periods. Unfortunately, no characteristic values of shear wave velocities v
s,30
are assigned to the
Spoil type Description of stratigraphic prole
Shear wave velocity
T
B
[s] T
C
[s]
v
s,30
[m/s]
I
Rock or Hard Soil:
> 400 0.10 0.40
well graded gravel and sand gravel mixtures with or without
clay binder, and clayey sands poorly graded or sand clay
mixtures (GB, CW, SB, SW, and SC) having N > 30)
II
Medium Soils:
200-400 0.10 0.55
a) all soils with 10 < N < 30
b) poorly graded sands or gravelly sands with little
or no nes (SP) with N > 15
III
Soft Soils:
< 200 0.10 0.67
all soils other than SP with N < 10
Table 7: Soil types, deduced ranges of shear wave velocities as well as corner periods of the horizontal
design spectra. N is the standard penetration value and values of shear wave velocities, v
s,30
, are not
provided by the Indian standard IS 1893 (Part 1) [41]; ranges of v
s,30
are derived by comparing the
standard penetration values with soil classication schemes of other earthquake codes (e.g., IBC-2006;
Turkish code TMPS [44]) providing both values of N and v
s,30
.
soil classes thus standard penetration test (SPT) values N are the only tangible parameters which allow
a classication of the soil conditions. A comparison with dierent soil classication schemes (e.g., IBC-
2006; Turkish seismic code TMPS [44]) providing both SPT-values N and ranges of shear wave velocities
v
s,30
enabled a coarse allocation of v
s,30
ranges to the three soil classes. Normalized elastic (R = 1.0)
design spectra for soil types IIII are reproduced in Figure 8.
16
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
0
1
2
3
4
0 0.5 1 1.5 2 2.5 3 3.5 4
N
o
r
m
a
l
i
z
e
d

s
p
e
c
t
r
a
l

a
c
c
e
l
e
r
a
t
i
o
n
Period T [s]

IS 1893 (Part 1) : 2002
Soil type: I
II
III
Figure 8: Elastic design spectra for Soil Types I-III [IS 1893 (Part 1) : 2002] [41].
Note: Since most earthquake codes adopt a comparable procedure in order to generate the design
spectra as the one described in Eurocode 8, any new set of site-specic design spectra can be easily
implemented by the user itself.
3.4 Structural Performance Under Seismic Action
In order to determine the seismic performance of a building, the spectral displacement along its capacity
curve must be determined that is consistent with the seismic demand and at the same time being reduced
for nonlinear eects. Currently a number of dierent methodologies are available in order to identify the
so-called performance point on the capacity spectrum. In the following the CSM as proposed by ATC-
40 [45] and FEMA 273 [46] , a recent modication of this procedure, the MADRS method, and the
displacement coecient method (DCM) of FEMA-356 [47] with the improvements proposed in FEMA-
440 [48] [referred henceforth as improved displacement coecient method(I-DCM)] will be described to
determine the performance point and thus to establish the basis in order to estimate the structural
damage state under an estimated seismic demand. All three procedures are implemented in SELENA,
such that the user can choose which one to use.
3.4.1 The Capacity Spectrum Method (CSM) as Proposed in ATC-40
The building response (e.g., peak displacement) is determined by the intersection of the seismic demand
spectrum and the building capacity curve. The demand spectrum is based on the PESH input spectrum
reduced for eective damping (when eective damping exceeds the 5% damping level of the PESH input
spectrum).
The elastic response spectra provided as a PESH input applies only to buildings that remain elastic
17
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
during the entire ground shaking time history and have elastic damping values equal to 5%. This is
generally not true on both accounts. Therefore, elastic response spectra are modied in case of:
a) buildings with elastic damping not equal to 5%, and
b) buildings pushed beyond their elastic limits and thus dissipating hysteretic energy.
Modications are represented by reduction factors through which the spectral ordinates are divided
to obtain the damped demand spectra. The methodology reduces demand spectra for eective damping
greater than 5% based on statistically-based formulas of Newmark and Hall [49]. These relationships
estimate elastic response spectra at dierent damping ratios B (expressed as a percentage) and represent
all site classes (soil types) distinguishing between domains of constant acceleration and constant velocity.
Ratios of these formulas are used to develop an acceleration-domain (short-period) reduction factor RA
and a velocity-domain (1-second spectral acceleration) reduction factor RV, in order to modify the 5%-
damped elastic response spectra. These reduction factors are based on eective damping B
e
:
R
a
(B
e
) =
2.12
3.21 0.68 log(B
e
)
(26)
R
v
(B
e
) =
1.65
2.31 0.41 log(B
e
)
(27)
where B
e
is the eective damping given by the expression:
B
e
= B
e
+B
h
(28)
and where B
e
is the elastic damping and B
h
is the hysteretic damping, which is a function of the yield
and ultimate capacity points (see Figure 2 in ATC-40 [45]) as follows:
B
h
= 63.7
_
A
yi
A
u

D
yi
D
u
_
(29)
where is a degradation factor that denes the eective amount of hysteretic damping as a function of
earthquake duration and energy-absorption capacity of the structure during cyclic earthquake load (see
HAZUS documents, Table 5.18 in [2]), and A
yi
and D
yi
are obtained through an iterative process as a
part of the capacity curve bilinearization.
Following the recommendations of Newmark and Hall [49], Be is the elastic (pre-yield) damping of
the model building type, which is:
5% for mobile homes (MH),
57% for steel buildings (S),
7% for concrete (C) and pre-cast concrete buildings (P),
710% for reinforced masonry buildings (RM),
10% for un-reinforced masonry (URM) and masonry buildings (M),
1015% for wood buildings (W).
The methodology recognizes the importance of the duration of ground shaking on building response by
reducing the eective damping (i.e., -factors) as a function of shaking duration. Dependent on the
magnitude of the scenario earthquake, the eective damping is based on the assumption of dierent
ground shaking durations:
magnitude M 5.5: short duration
18
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
magnitude 5.5 < M < 7.5: moderate duration
magnitude M 7.5: long duration
The new demand spectral acceleration Sa(T) in units of gravity [g] is dened at short periods (acceleration
domain), long periods (velocity domain), and very long periods (displacement domain) using the 5%
damped response spectrum and dividing by the before mentioned factors following the expressions:
Sa(T) = Sa
asi
(0.4 +T/T
A
)/R
a
(B
e
) for 0 < T < T
a
(30)
Sa(T) = Sa
asi
/R
a
(B
e
) for T
a
< T < T
avb
(31)
Sa(T) = (Sa
ali
/T)/R
v
(B
e
) for T
AVb
< T < T
vd
(32)
Sa(T) = (Sa
ali
T
vd
/T
2
)/R
a
(B
e
) for T > T
vd
(33)
where:
S
ASi
: 5% damped, short-period spectral acceleration for site class i (in [g])
S
sli
: 5% damped, 1-second (long) period spectral acceleration for site class i (in [g])
B
tvd
: value of eective damping at the transition period T
vd
T
avb
: transition period between acceleration and velocity domains as a function of the eective damping
at this period which is dened by the equation:
T
avb
= T
avi
R
A
(B
tavb
)
R
B
(B
tavb
)
(34)
where:
T
avi
: transition period between 5%-damped constant spectral acceleration and 5%-damped constant
spectral velocity for site class i
B
tavb
: value of eective damping at the transition period T
avb
.
The transition period T
vd
is independent of eective damping and only depends on the moment magni-
tude, as previously said.
Example 3.2 Performance point calculation between inelastic demand spectra for site classes B, C and
D and a given capacity curve by the Capacity spectrum method (CSM) described in ATC-40 Chapter
2.4.1 [45]
Steps:
1. Determination of the structures yield capacity and ultimate capacity:
19
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
0
0.2
0.4
0.6
0.8
1
0 10 20 30 40 50 60
S
p
e
c
t
r
a
l

a
c
c
e
l
e
r
a
t
i
o
n

S
a

[
g
]

Spectral displacement S
d
[cm]

(D
y
, A
y
)
(D
u
, A
u
)
capacity curve
e.g.,: capacity curves as given in HAZUS, here: C1M
for moderate-code design
yield capacity point: Ay = 0.104 g, Dy = 0.58
in. = 1.47 cm.
ultimate capacity point: Au = 0.312 g, Du =
6.91 in. = 17.55 cm
2. Determination of eective damping B
e
by calculating hysteretic damping B
h
according to Ta-
ble 5.18 in HAZUS99 [50]: degradation factor, , depending on earthquake duration and energy-
absorption capacity of the structure during cyclic earthquake load
moderate duration
moderate-code design
building type C1M
_
_
_
= 0.4
B
h
= 63.7
_
A
y
A
u

D
y
D
u
_
= 4%
B
e
= 7.0%
B
e
= B
h
+B
e
= 11.1%
3. Calculation of reduction factors R
a
and R
v
, short-period and long-period spectral accelerations as
well as transition period T
avi
Parameter
Site Class
B C D
R
a
(B
e
) =
2.12
3.210.68 log(B
eff
)
[Eq. (26)] 1.35
R
v
(B
e
) =
1.65
2.310.41 log(B
eff
)
[Eq. (27)] 1.35
S
asbi
= S
asi
/R
a
[Eq. (31)] 0.37 g 0.44 g 0.52 g
S
albi
= (S
ali
/T)/R
V
[Eq. (32)] 0.16 g 0.26 g 0.32 g
S
avb
= S
avi
Ra
Rv
[Eq. (34)] 0.43 g 0.57 g 0.62 g
4. Generation of reduced (inelastic) demand spectrum (damping = 11.1%):
20
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
0
0.2
0.4
0.6
0.8
1
0 10 20 30 40 50 60
S
p
e
c
t
r
a
l

a
c
c
e
l
e
r
a
t
i
o
n

S
a

[
g
]

Spectral displacement S
d
[cm]

Site Class: B
demand spectra:
B
e
= 5 %
B
eff
= 11.1 %
0
0.2
0.4
0.6
0.8
1
0 10 20 30 40 50 60
S
p
e
c
t
r
a
l

a
c
c
e
l
e
r
a
t
i
o
n

S
a

[
g
]

Spectral displacement S
d
[cm]

Site Class: C
demand spectra:
B
e
= 5 %
B
eff
= 11.1 %
0
0.2
0.4
0.6
0.8
1
0 10 20 30 40 50 60
S
p
e
c
t
r
a
l

a
c
c
e
l
e
r
a
t
i
o
n

S
a

[
g
]

Spectral displacement S
d
[cm]

Site Class: D
demand spectra:
B
e
= 5 %
B
eff
= 11.1 %
1. Calculation of the spectral accelerations and spectral displacements at the site in question taking
into account soil response, so that the elastic response spectrum can be generated.
2. Creation or selection of a capacity curve for the respective building type reecting the buildings
performance under an increasing, laterally applied (earthquake) load.
3. Determination of eective damping B
e
by specifying elastic damping B
e
and by computing the
hysteretic damping B
h
. Based on this the calculation of both reduction factors R
A
and R
V
can be
realized.
4. Reduction of the elastic response spectrum by reduction factors R
A
and R
V
to account for the
increased damping that occurs at higher levels of ground motion and consequently building response
(non-linear behavior).
5. Superposition of the building capacity curve with the modied (inelastic) response spectrum (de-
mand curve). The resulting building displacement is estimated from the intersection of the building
capacity curve and the response spectrum (performance point; see also Figure 9).
6. The estimated building displacement is later used to dene the damage degree at the intercept of
the fragility curve and the damage probability curve (see Figure 10).
21
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
S
p
e
c
t
r
a
l

a
c
c
e
l
e
r
a
t
i
o
n

S
a

[
g
]

Spectral displacement S
d
[cm]

performance point
(d
p
, a
p
)
PESH spectrum (elastic)
reduced spectrum (inelastic)
capacity curve
Figure 9: Estimation of building displacement from a given PESH input.
0
0.2
0.4
0.6
0.8
1
D
a
m
a
g
e

p
r
o
b
a
b
i
l
i
t
y

P

(
d
s

|

S
d
)
Spectral displacement S
d
[cm]

no damage
slight
moderate
extensive
complete
d
p
d
p
expected spectral
displacement
damage state: slight
moderate
extensive
complete
Figure 10: The expected displacement (obtained from the performance point) is overlaid with the fragility
curves in order to compute the damage probability in each one of the dierent damage states.
22
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
3.4.2 The Modied Capacity Spectrum Method (MADRS)
The conventional capacity spectrum method (ATC-40 [45]) uses the secant period as the eective linear
period in determining the maximum displacement (performance point). This assumption results in the
maximum displacement occurring at the intersection of the capacity curve for the structure with the
demand curve for the eective damping in ADRS format. However it has been shown in several studies
that this method can not be used with a non-IBC response spectrum and that it does not provide an
accurate performance point in some cases. Later, some improvements of the method have been published
in FEMA 440 [48]. This revised methodology has some advantages. First, it provides the engineer with
a visualization tool by facilitating a direct graphical comparison of capacity and demand. Second, there
are very eective solution strategies for equivalent linearization that rely on a modied ADRS demand
curve (MADRS) that intersects the capacity curve at the maximum displacement. As it is also explicitly
stressed in FEMA 440 the user must recognize that the results are an estimate of median response and
imply no factor of safety for structures that may exhibit poor performance and/or large uncertainty in
behavior. Furthermore it should be noted that the results of the MADRS method as described in the
following may not be reliable for extremely high ductility values, e.g., greater than 10 to 12.
The MADRS method basically relies on the determination of eective damping,
e
, and eective
period, T
e
, with which a maximum spectral displacement can be derived. This in turn matches with the
intersection point of the radial eective period (radiating line from the origin in the Sa-Sd-domain) and the
ADRS demand for the eective damping (Figure 11). The eective period of the improved procedure T
e
Figure 11: Modied acceleration-displacement response spectrum (MADRS) for use with secant period
T
sec
. Figure taken from FEMA 440 [48].
is generally shorter than the secant period T
sec
dened by the point on the capacity curve corresponding
to the maximum displacement d
max
. The eective acceleration a
e
is not meaningful since the actual
maximum acceleration a
max
must lie on the capacity curve and coincide with the maximum displacement
d
max
. Multiplying the ordinates of the ADRS demand corresponding to the eective damping
e
by the
modication factor:
M =
a
max
a
e
(35)
results in the modied ADRS demand curve (MADRS) that may now intersects the capacity curve at
the performance point. Since the acceleration values are directly related to the corresponding periods,
the modication factor can be calculated as:
M =
_
T
e
T
sec
_
2
=
_
T
e
T
0
_
2
_
T
0
T
sec
_
2
(36)
23
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
where
_
T
0
T
sec
_
2
=

1 ( 1)

(37)
and where the post-elastic stiness, , and the ductility demand, , are:
=
apiay
dpidy
ay
dy
(38)
and
=
d
pi
d
y
, (39)
respectively.
Equivalent linearization procedures applied in practice normally require the use of spectral reduction
factors to adjust an initial response spectrum to the appropriate level of eective damping
e
. These
factors are a function of the eective damping and are termed damping coecients B(
e
). They are
used to adjust spectral acceleration ordinates as follows:
(Sa)

=
(Sa)
5%
B(
e
)
(40)
where
B(
e
) =
4
5.6 log(
e
)
(41)
with
e
given in [%].
Since the eective period T
e
and the eective damping
e
are both functions of ductility demand,
the calculation of a maximum displacement using equivalent linearization is not direct and requires an
iterative procedure (Figure 11).
Both, eective damping and period are strongly dependent on the buildings inelastic behavior. Within
FEMA 440 [48] three dierent inelastic hysteretic systems have been studied including bilinear hysteretic,
stiness degrading and strength degrading behavior. The procedure incorporated in SELENA and the
following description is based on the stiness degrading hysteretic model. The eective viscous damping
e can be calculated by the following equations dependent on ductility demand. Values of the coecients
A to F can be found in Table 8.

e
= A( 1)
2
+B( 1)
3
+
0
for < 4.0 (42)

e
= C +D( 1) +
0
for 4.0 4.0 (43)

e
= E
_
F(1)1
F(1)
2
T
eff
T0
_
for > 6.5 (44)
The eective period values, T
e
, are to be computed using the following equations. Values of the
[%] A B C D E F
0 5.1 -1.1 12 1.4 20 0.62
2 5.3 -1.2 11 1.6 20 0.51
5 5.6 -1.3 10 1.8 20 0.38
10 5.3 -1.2 9.2 1.9 21 0.37
20 4.6 -1.0 9.6 1.3 23 0.34
Table 8: Coecients in order to calculate eective damping values
e
.
24
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
coecients G to L can be found in Table 9.
T
e
= [G( 1)
2
+H( 1)
3
+ 1]T
0
for < 4.0 (45)
T
e
= [I +J( 1) + 1]T
0
for 4.0 4.0 (46)
T
e
=
_
K
__
1
1+L(2)
1
_
+ 1
_
T
0
for > 6.5 (47)
[%] G H I J K L
0 0.17 -0.032 0.10 0.19 0.85 0.00
2 0.18 -0.034 0.22 0.16 0.88 0.02
5 0.18 -0.037 0.15 0.16 0.92 0.05
10 0.17 -0.034 0.26 0.12 0.97 0.10
20 0.13 -0.027 0.11 0.11 1.00 0.20
Table 9: Coecients in order to calculate eective damping values T
e
.
In order to nd the performance point (d
i
, a
i
), FEMA 440 [48] provides three alternative procedures,
which all are based on reducing the initial ADRS demand spectrum by the eective viscous damping

e
. One of these procedures consists in the automated derivation of a locus of possible performance
points. This by generating a number of modied ADRS (MADRS) demand spectra for dierent values
of ductility demand . As Figure 12 illustrates, the performance point is dened by the intersection of
the capacity spectrum and the line being described by all respective performance points on the dierent
MADRS curves. In the following, the single steps of the method are subsequently described taking up
the previous example with the given capacity curve and NEHRP site class C.
Figure 12: Finding the performance point (red star) using the modied acceleration-displacement response
spectrum (MADRS). Figure taken from FEMA 440 [48].
Example 3.3 Performance point calculation following the MADRS method (Chapter 2.4.2 in [48])
Steps:
25
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
1. Selection of a spectral representation of the ground motion of interest with an initial damping
i
(i.e., normally 5%) and conversion into an ADRS elastic design spectrum for NEHRP site class
C (see Example 3.2).
2. Generation or selection of a capacity curve capacity curve described by yield (a
y
, d
y
) and ulti-
mate capacity points (a
u
, d
u
); in case of a generated capacity curve, the development of a bilinear
representation has to be conducted (ATC-40 [45]) here: capacity curve as given in HAZUS for
model building type C1M and moderate-code seismic design level (ses HAZUS [2], Table 5.7 b):
a
y
= 0.1044 g, d
y
= 0.58 in. = 1.47 cm, a
u
= 0.312 g, and d
u
= 6.91 in. = 17.55 cm.
3. Calculation of eective damping,
e
, and modication factor, M for integer increments of ductility
( = 2, 3, 4, . . .) initial (elastic) period T
0
( = 1): T
0
= 2
_
d
y
/a
y
0.7542 s post-elastic
stiness parameter: =
a
pi
ay
d
pi
dy
ay
dy
= 0.1828 [Eq. (38)]
Parameter
Ductility
2 3 4 5 6 7
d
pi
= dy [m] [Eq. (39)] 0.0294 0.0441 0.0588 0.0735 0.0882 0.1029

e
[%] [Eqs. (42)-(44)] 8.686 15.606 18.740 20.143 21.546 22.654
T
e
[sec] [Eqs. (45)-(47)] 0.836 0.997 1.109 1.194 1.278 1.332
Tsec [sec] [Eq. (37)] 0.981 1.118 1.212 1.282 1.335 1.378
B(
e
) [Eq. (41)] 1.163 1.402 1.499 1.540 1.581 1.613
M =

T
eff
Tsec

2
[Eq. (36)] 0.727 0.795 0.838 0.867 0.916 0.935
4. Adjustment of the initial ADRS to the eective damping
e
reduction of spectral acceleration
ordinates (Sa)
5%
by damping coecients B for all considered ductility values : (Sa)

=
(Sa)
5%
B(
eff
)
[Eq. (40)]
5. Multiplication of the ADRS for
e
by the modication factor M reduction of spectral acceleration
ordinates (Sa)

by damping coecients M for all considered ductility values .


6. Generation of possible performance point by the intersection of radial secant period T
sec
with
the MADRS for all considered ductility values Determination of performance point by the
intersection of the locus line with the capacity spectrum:
26
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
0
0.2
0.4
0.6
0.8
0 10 20 30
S
p
e
c
t
r
a
l

a
c
c
e
l
e
r
a
t
i
o
n

S
a

[
g
]

Spectral displacement S
d
[cm]

a
p
d
p
T
0

(=1)
T
sec

(=2)
T
sec

(=3)
...
T
sec

(=7)
ADRS: =1
MADRS: =2
...
=7
locus of possible
performance points
3.4.3 Improved Displacement Coecient Method (I-DCM)
The displacement coecient method modies the displacement demand of the equivalent linear single
degree of freedom (SDOF) system by multiplying it by a series of coecients in order to generate an
estimate of the maximum displacement demand of the nonlinear oscillator. The process begins with the
generation of the capacity curve of the nonlinear oscillator. The eective period of the system is then
computed as (Figure 13):
T
e
= 2

D
y
A
y
(48)
When plotted on an elastic response spectrum representing the seismic ground motion, as peak spectral
acceleration, S
a
, vs. period, T, the spectral acceleration demand of the equivalent linear SDOF system,
S
el
a
, can be computed (Figure 13). The peak elastic spectral displacement demand, S
el
d
is then directly
related to the S
el
a
by:
S
el
d
=
T
2
e
4
2
S
el
a
(49)
The target displacement,
t
, is then computed as:

t
= C
1
C
2
S
el
d
(50)
where:
C
1
= Modication factor to relate the expected maximum displacement demand of a nonlinear oscillator
with elastic-perfectly-plastic (EPP) hysteretic properties to the peak displacement demand of the
linear oscillator,
27
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
D
y
S
a
(D , A )
y y
T = 2
e
Demand Curve
T
e
Period, T
S
a
el
= C C S
t 1 2 a
el
4
2
T
e
2
Capacity Curve
A
y
S
d
Figure 13: Schematic illustraion of process I-DCM which is used to compute the target displacement
demand of a nonlinear oscillator for a given capacity curve and response (demand) spectrum
.
C
2
= Modication factor to represent the eect of pinched hysteretic shape and stiness degradation
on the maximum displacement response.
The coeceints C
1
and C
2
can be computed using the approximation relationships given in FEMA-
440 [48]:
C
1
= 1 +
R1
aT
2
e
(51)
C
2
= 1 +
1
800
(
R1
Te
)
2
(52)
where
R = Ratio of elastic strength demand to the calculated strength capacity; R=S
el
a
/A
y
,
a = Equation constant; a is equal to 130, 90, and 60 for NEHRP site classes B, C, and D, respectively.
Table 10 summarizes the assumed values for the parameter a for dierent site classes and spectral
shapes.
3.5 Fragility Curves and Damage State Probability
The conditional probability of being in, or exceeding a particular damage state, d
s
, given by the spectral
displacement S
d
(or other seismic demand parameter) is dened by the following equation:
P(ds|S
d
) =
_
1

ds
ln
_
S
d

S
d,ds
__
(53)
where

S
d,ds
: median value of spectral displacement at which the building reaches the threshold of damage
state ds,
28
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
Spectral shape Soil type a
IBC A 130
B 130
C 90
D 60
E 60
Eurocode I and II A 130
B 90
C 60
D 60
E 60
Indian Code I 90
II 60
III 60
Table 10: Assumed values for the parameter a for dierent site classes and spectral shapes.

ds
: is the standard deviation of the natural logarithm of spectral displacement for damage state ds,
(): is the standard normal cumulative distribution function.
In HAZUS99, for instance, both mean displacement threshold of damage state and its corresponding
standard deviation
ds
are table values (see Table 5.9) which depend on the model building type and its
seismic design level. However, it should be regarded that the parameters dening the fragility functions
for a certain building type are closely connected to its respective capacity curve.
Cumulative probabilities are dened to obtain discrete probabilities of being in each of the ve dierent
damage states (Figure 14).
The nal damage results are given as absolute square meters of the respective damaged building type,
so that users are able to present and further process these results using a spreadsheet program (MS Excel,
OpenOce, etc.) or any other software applications in any desired format (e.g., as percentage of built
area [m
2
] normalized by the total built area in each geographical unit or by the total built area in the
studied region, i.e., summed all geographical units). Nonetheless, results can also be given as absolute
numbers of damaged buildings.
3.6 Economic Losses
The SELENA software can also estimate the total amount of economic losses (in any input currency) in
any geographical unit caused by the structural damage.
The economic losses for building repair (and in case of complete damage for replacement) are computed
in the following way:
L
eco
= C
r
Not

i=1
Nbt

j=1
Nds

k=1
A
i,j
P
j,k
C
i,j,k
(54)
where N
ot
is the number of occupation types, N
bt
is the number of building types, N
ds
is the number of
damage states, and where
C
r
: regional cost multiplier (currently is set to 1.0, but can have dierent values for each geographical
unit in order to take into account the geographic cost variations),
A
i,j
: built area of the model building type j in the occupancy type i (in [m
2
])
29
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
0
0.05
0.1
0.15
0.2
0.25
0.3
0.35
0.4
0.45
0.5
D
i
s
c
r
e
t
e

d
a
m
a
g
e

p
r
o
b
a
b
i
l
i
t
y

P
Damage state ds

none slight moderate extensive complete
Figure 14: Discrete damage probabilities derived from the cumulative damage probabilities for an ex-
pected displacement as illustrated in Figure ??.
P
j,k
: damage probability of a structural damage k (slight, moderate, extensive or complete) for the
model building type j,
C
i,j,k
: cost of repair or replacement (by [m
2
]) in the input currency of structural damage k for occupancy
type i and model building type j (provided by input les eloss .txt).
In the current version of SELENA only the direct economic losses caused by structural damage
are computed. Those being caused by non-structural damage (acceleration sensitive damage) are not
considered. The absolute values for building repair costs in the dierent damage states will be determined
by the user. HAZUS expresses the cost of damage for damage states slight, moderate and extensive as a
percentage of the complete damage state:
slight damage: 2% of complete damage,
moderate damage: 10% of complete damage,
extensive damage: 50% of complete damage.
These relationships are consistent with those damage ratios given in ATC-13 [51]. However, more reliable
or suitable values can be dened by the user.
It should be regarded that economic losses will only be calculated by SELENA if the user chooses the
analysis type dependent on damaged building area. In case of an analysis dependent of the number of
damaged buildings, no economic losses are computed.
30
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
3.7 Humanloss Casualties
The methodology applied in order to calculate the number of human casualties follows basically the
HAZUS approach but is somewhat simplied using the formulas given by Coburn and Spence [52]:
K = K
s
+K

+K
2
(55)
where
K
s
: number of casualties due to structural damage
K

: number of casualties due to non-structural damage


K
2
: number of casualties due to follow-on hazards, such as landslides, res, etc.
The above equation can also be modied such that the level of injury (severity) is considered:
K
i
= K
s
i
+K

i
+K
2i
(56)
where i is representing the level of severity, ranging from light injuries (i = 1), moderate injuries (i = 2),
heavy injuries (i = 3), to death (i = 4). A more detailed description of the severity levels is given
in Table 11. However, the loss model applied in the current version of SELENA is only considering
the direct human losses caused by structural damage not due to non-structural damage or follow-on
hazards. By using SELENA, the number of human losses (casualties) can be computed using two dierent
Injury Level Description Examples
Severity 1
Injuries requiring basic medical aid that - sprains
could be administered by paraprofessionals. - severe cuts requiring stitches
These types of injuries would require bandages or - minor burns (rst or second degree on a
observation.* small part of the body)
- bumps on the head without loss of consciousness
Severity 2
Injuries requiring a greater degree of - bump on the head that causes loss of consciousness
medical care and use of medical - fractured bones
technology such as x-rays or surgery, but not expected - dehydration or exposure
to progress to a life threatening status.
Severity 3
Injuries that pose an immediate life - punctured organs
threatening condition if not treated - other internal injuries
adequately and expeditiously. - spinal column injuries
- crush syndrome
Severity 4
instantaneously killed or
mortally injured.
Table 11: Injury Classication Scale according to HAZUS. *Injuries of lesser severity which can be self
treated are not covered by HAZUS.
methodologies:
1. Basic methodology in case that no detailed information on population distribution is available
or can not be inferred from available data,
2. HAZUS methodology in case that detailed information on population distribution is available.
In order to also cover extreme cases of occupancy which are strongly dependent on the time of the
day (i.e., school occupancy only during daytime), the number of casualties will be computed for three
dierent times of the day:
1. nighttime scenario (called 02:00 am): i.e., earthquake striking during nighttime.
31
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
2. daytime scenario (called 10:00 am): i.e., earthquake striking during day time.
3. commuting time scenario (called 05:00 pm): i.e., earthquake striking during the commuting time
(rush hour).
These scenarios are expected to generate the highest casualty numbers for the population at home (night-
time), the population at work/education (daytime), and the population during rush hour, respectively.
3.7.1 The Basic Methodology
The number of casualties due to direct structural damage for any given structural type, level of building
damage, and injury severity can be calculated by:
K
s
i
= {Injuries (severity i)} =
Nbt

j=1
Nds

k=1
C
csr
i,j
P
j,k
N
pop
j
(57)
where:
C
csr
i,j
: casualty rate of severity i for damage state j as provided by input les injury1.txt to injury4.txt
(these statistical values have to be provided by local authorities),
P
j,k
: structural damage probability for the kth damage type (k = 1 slight, k = 2 moderate, k = 3
extensive, k = 4 complete or complete with collapse) for the jth model building type.
N
pop
j
: number of people in the jth model building type.
The total number of people in all buildings of the j:th model building type (MBT), for one geographical
unit (i.e., census tract) at a specic time period (time of the day), is computed in a simplied way:
N
pop
j
= N
tp
C
po
C
ombt
j
(58)
where N
tp
is the total number of people living in the respective geographical unit provided by input le
population.txt, C
po
is the percentage of people staying indoors or outdoors dependent on the time
of the day provided by input le poptime.txt (compare to Table 12), and C
ombt
j
is the percentage of
occupancy class for the jth model building type (MBT) provided by input le ocupmbtp.txt.
Occupancy type night (2:00 am) day (10:00 am) commuting (5:00 pm)
INDOOR 98% 90% 36%
OUTDOOR 2% 10% 64%
Sum

100% 100% 100%


Table 12: Population percentages indoors and outdoors dependent on the time of the day. Note that
these values are strongly dependent on the country and its cultural peculiarities and consequently may
vary considerably.
3.7.2 The HAZUS Methodology
The total population of each census tract is classied into ve dierent groups:
1. residential population,
2. commercial population,
32
D
R
A
F
T
Selena 3 TECHNICAL DESCRIPTION OF SELENA
3. education population,
4. industrial population,
5. hotel population.
The default population distribution is calculated for the three times of the day for each census tract.
Table 13 provides the relationships used to determine the default distribution. Each element of the table
Distribution of people in census tract
Occupancy 2:00 am 2:00 pm 5:00 pm
Indoors
residential (0.999) 0.99 (NRES) (0.70) 0.75 (DRES) (0.70) 0.50 (NRES)
commercial (0.999) 0.02 (COMW) (0.99) 0.98 (COMW) + 0.98 [0.50(COMW) +
(0.80) 0.20 (DRES) + 0.10 (NRES) + 0.70 (HOTEL)]
0.80 (HOTEL) + 0.80 (VISIT)
educational (0.90) 0.80 (AGE 16) + 0.80 (COLLEGE)
(0.80) 0.50 (COLLEGE)
industrial (0.999) 0.10 (INDW) (0.90) 0.80 (INDW) (0.90) 0.50 (INDW)
hotels 0.999 (HOTEL) 0.19 (HOTEL) 0.299 (HOTEL)
Outdoors
residential (0.001) 0.99 (NRES) (0.30) 0.75 (DRES) (0.30) 0.50 (NRES)
commercial (0.001) 0.02 (COMW) (0.01) 0.98 (COMW) + 0.02 [0.50 (COMW) +
(0.20) 0.20 (DRES) + 0.10 (NRES) + 0.70 (HOTEL)] +
0.20 (VISIT) + 0.50(1-PRFIL)
0.50 (1-PRFIL) 0.05 (POP) [0.05 (POP) + 1.0 (COMM)]
educational (0.10)0.80 (AGE 16) + (0.20) 0.50 (COLLEGE)
0.20 (COLLEGE)
industrial (0.001) 0.10 (INDW) (0.10) 0.80 (INDW) (0.10) 0.50 (INDW)
hotels 0.001 (HOTEL) 0.01 (HOTEL) 0.001 (HOTEL)
Table 13: Default relationships for estimating population distribution (taken from HAZUS) where POP
is the census tract population taken from HAZUS, DRES is daytime residential population inferred from
census, NRES is nighttime residential population inferred from census data, COMM is the number of people
commuting inferred from census data COMW is the number of people employed in the commercial sector
INDW is the number of people employed in the industrial sector GRADE is the number of students in grade
school (usually under 17 years old) COLLEGE is the number of students on college and university campuses
in the census tract (over 17 years old), HOTEL is the number of people staying in hotels in the census
tract, PRFIL is a factor representing the proportion of commuters using automobiles, inferred from prole
of the community (0.60 for dense urban areas, 0.80 for less dense urban or suburban areas and 0.85 for
rural). Default value is 0.80. VISIT is the number of regional residents who do not live in the study area,
visiting the census tract for shopping and entertainment. Default is set to zero.
contains two multipliers of which the second one indicates the fraction of a population component (e.g.
NRES) present in an occupancy type at a particular scenario time. The rst multiplier (given in brackets)
divides this population component into indoor and outdoor occupancy. For example: At 02:00 am, the
default is that 99% of the nighttime residential population (NRES) will be in residential occupancy while
99.9% of those will be indoors. If more detailed information is available on these issues, these factors can
be changed in the m-le humanlosshz.m. The methodology takes into account a wider range of causal
relationships in the casualty modeling. It is an extension of the model proposed by Stojanovski and
Dong [53].
By using an event tree as shown in Figure 15 and multiplying the population in each of the occupancy
types and model building types by the damage probabilities and casualty rates, the total number of
casualties for each severity level can be estimated. Figure 15 is illustrating an event tree for indoor
casualties (but also outdoor casualties are contemplated within this methodology). The outdoor casualty
model tries to quantify the number of casualties outside of buildings due to falling materials with respect
33
D
R
A
F
T
Selena 4 INSTALLATION
Figure 15: Indoor casualty event tree model (taken from HAZUS). Bridge casualties are currently not
implemented in SELENA.
to areas where people congregate such as sidewalks. To accomplish this, the number of people on sidewalks
or similar exterior areas is estimated from Table 13. The table is designed to prevent double counting of
casualties from outdoor falling hazards with building occupancy casualties.
4 Installation
I
N this section the details for intalling SELENA is treated, both for Windows stystems and POSIX
(Linux/Unix) systems.
4.1 System Requirements and Resent Code Changes
There has been a change in the system requirements from version 4.x to version 5.x (and above) of
SELENA. Starting with version 5.0.0 of SELENA, the Matlab m-code has been translated into C-code
which allows SELENA to run without using Matlab; it is, however, still possible to use SELENA from
Matlab. Furthermore, the m-code has been changed in such way that it now can run without any special
Matlab Toolboxes (which was required before) and it now also now runs using the free (open source)
Matlab clone Octave (http://www.gnu.org/software/octave/).
In order to avoid Matlab toolbox dependencies, SELENA now uses the open source GNU Scientic
Library (GSL) which is available for most systems, such as, Linux/Unix, MacOS, and Windows. Another
change is that SELENA previously used some input les in Matlabs binary mat-format. This has now
been changed and SELENA now only uses input les in a plain (ascii) text format.
4.1.1 Installing the GNU Scientic Library
The GNU Scientic Library can be found here: http://www.gnu.org/software/gsl/
The GSL for Windows must be installed in a directory where Matlab/Octave or the stand-alone bi-
nary selena.exe can nd it. The easiest way is just to copy the libgsl.dll and libgslcblas.dll les to
C:\WINDOWS\System32\ These les can be found at: http://gnuwin32.sourceforge.net/packages/gsl.htm
or in the dll/bin folder (see also Section B.1).
For Linux, the GSL is probably included in the package system for your Linux distribution so that
34
D
R
A
F
T
Selena 4 INSTALLATION
you can use your package installer (yast, emerge etc.) to install it. For example, on a Gentoo Linux
distribution just type,
# emerge gsl
If GSL is not included in your Linux distributions package manager system then you can install it from
source which is described at the GSL webpage.
4.2 The Directory Structure of SELENA
Unpacking the compressed (zip) le onto your computer automatically creates the main folder SELENA
under which a number of sub-folders can be found:
examples src
gnumex userman
include m_files
dll mexopts
The dll folder contain Windows specic les (for GSL) which is needed for building the Windows
binaries (both stand-alone application and the mex/oct-les). The examples folder contain some example
input les which can be used to test SELENA, the m files folder contain the m-les and the mex/oct-
les Matlab/Octave (e.g., the mex/oct les must be copied from the src after compilation). The src
contain the C-source les (and Makeles) for both the stand-alone application and the mex/oct-les, and
the include folder contain the header les for C-code. The mexopts folder contain two bat-les which
is used when building the mex-les using the MinGW compiler, and nally, the userman folder contain
various les for the user manual.
The main folder also contain the four text:
COPYING build_mexfiles.m
Make.inc build_mexfiles_mingw.m
README.txt build_mexfiles_win.m
README_INSTALL_MinGW_Windows.txt build_oct_files.m
README_SVN.txt
where the two m-les, build mexfiles mingw.m and build mexfiles win.m, are for building the
mex-les using Windows, build oct files.m is for building the oct-les (on all systems) and Make.inc
is a le for setting compiler options for Linux/Unix. Furthermore the README.txt is a quick guide on
how to install and run SELENA (and the README SVN.txt contains some information for developers on
setting svn keywords). Also for license information see the COPYING le. For more build and compilation
instructions, see Appendix B.
4.3 The SELENA m-les
The SELENA comprises 34 dierent m-les les (*.m) which are consecutively accessed during the pro-
gram sequence. Their respective functions and tasks are briey described below:
selena gui.m core le that starts the graphical user interface (calling for startwin.m).
selena.m core le (the command line interface of SELENA).
startwin.m initialization of the window environment in order to choose between a probabilistic, a de-
terministic or an analysis based on real-time data.
dettool.m Function (called by startwin.m) to initialize the window environment for a deterministic
analysis.
35
D
R
A
F
T
Selena 4 INSTALLATION
probtool.m Function (called by startwin.m) to initialize the window environment for a probabilistic
analysis.
realtool.m Function (called by startwin.m) to initialize the window environment for an analysis with
real-time data (grid pattern shaking scenario).
computetool.m Function (called by dettool.m) which starts the main processes of a seismic risk com-
putation for a deterministic earthquake.
computetoolp.m Function (called by probtool.m) which starts the main processes of a seismic risk
computation based on a probabilistic shake map.
computetoolr.m Function (called by realtool.m) which starts the main processes of a seismic risk
computation based on real-time data.
gmotion.m Function which gets the ground motion at the center of each geographical unit from a de-
terministic earthquake (numerous attenuation relationships are provided, while new attenuation
relations can be easily implemented) and computes ground-motion amplication using the factors
as e.g., given in IBC-2006 [8] (called by computetool.m)
att sub.m Function with attenuation relationships from dierent authors which provides the ground-
motion values (units of [g]) for PGA, Sa at 0.3s and Sa at 1.0s (called by gmotion.m).
dtorry.m Function used to compute the closest distance from a point (latitude, longitude) to a segment
(lat1, lon1)-(lat2, lon2) (called by gmotion.m).
gmotionp.m Function which amplies the ground motion at the center of each geographical unit from
probabilistic shaking maps using the factors as e.g., given in IBC-2006.
gridtogeounit.m Function selecting the concerning nodes of the grid pattern, making a statistical eval-
uation of their ground-motion ordinates (mean value, standard deviation), and assigning them to
the centers of the geographical units (called by computetoolr.m).
damagep.m Function which computes the probability of damage for the building stock using the capacity
spectrum method (called by computetool.m, computetoolp.m, and computetoolr.m)
spectralshape.m Computation of spectral ground-motion ordinates following dierent code provisions,
e.g., IBC-2006 (called by damagep.m)
csm.m Performance point calculation based on the traditional capacity spectrum method (CSM) fol-
lowing ATC-40 [45] (Procedure A) (called by damagep.m).
madrs.m Performance point calculation by using the modied capacity spectrum method (MADRS)
following FEMA 440/ATC-55 (called by damagep.m).
curveintersect.m Function which nds the intersection points of two curves in the X-Y plane (called
by csm.m and madrs.m).
local parseinputs.m Script used by curveintersect.m.
mminvinterp.m 1-D inverse interpolation (called by curveintersect.m)
squaredam.m fFnction which computes the absolute square meters of damaged built area for each
model building type in each geographical unit (called by computetool.m, computetoolp.m, and
computetoolr.m)
numdam.m Function which computes the absolute number of damaged buildings for each model building
type in each geographical unit (called by computetool.m, computetoolp.m, and computetoolr.m)
36
D
R
A
F
T
Selena 4 INSTALLATION
losssqm.m function which computes the total economic losses due to structural damage (called by
computetool.m, computetoolp.m, and computetoolr.m).
tree.m Function used to t the damage estimation results coming from each branch of the logic tree to
a normal distribution function; computes median (mean) value and 16% and 84% fractiles (called
by computetool.m, computetoolp.m, and computetoolr.m).
treeloss.m Function used to t the economic loss results coming from each branch of the logic tree to
a normal distribution function; computes median (mean) value and 16% and 84% fractiles (called
by computetool.m, computetoolp.m, computetoolr.m).
meanest.m Function to compute (estimate) the mean and the variance from a set of data when the vari-
ance is unknown. The condence intervals are therefore obtained using the Student t-distribution
for a chosen alpha (0.16 and 0.84) (16% and 84% fractiles)
1
This function is used by tree.m,
treemdr.m and treeloss.m.
wfigmngr1.m Function to manage SELENA windows.
wfighelp1.m Function to manage SELENA help in main window.
wfigobj1.m Function to manage objects in windows.
humanloss.m Function to compute the number of human casualties according to the basic methodology
(called by computetool.m , computetoolp.m , and computetoolr.m).
humanlosshz.m Function to compute the number of human casualties according to the HAZUS-methodology
(called by computetool.m , computetoolp.m , and computetoolr.m).
distance.m Function which computes the distance between points on a sphere.
deg2km.m Function that converts distance from degrees to kilometers.
km2deg.m Function that converts distance from kilometers to degrees.
4.3.1 The SELENA mex-les
The mex-les currently implemented in SELENA are:
att_sub.mex* gsl_interpolate.mex* madrs.mex* tinv.mex*
csm.mex* humanloss.mex* meanest.mex* tree.mex*
curveintersect.mex* humanlosshz.mex* normcdf.mex* treeloss.mex*
damagep.mex* imp_dcm.mex* numdam.mex* treemdr.mex*
gmotion.mex* interp1.mex* spectralshape.mex*
gmotionp.mex* losssqm.mex* squaredam.mex*
These les have the same functionality as the corresponding m-les but runs much faster. The le
extension of the mex-les depends of which architecture you are using; Windows 32-bit has the extension
.mexw32, Linux x86 .mexlx, Linux x86 64 .mexa64, Intel MacOS X .mexmaci etc. The biniary
packages for SELENA comes with pre-compiled mex-les for Windows 32-bit and Linux 32 and 64 bit.
These les can be found in the m files folder and to use them one just need to set the Matlab path
using the menu in the Matlab GUI or with (add your path),
>> addpath(/home/<the user>/selena/m_files)
1
For dierent alpha please change the value in the function callback.
37
D
R
A
F
T
Selena 5 RUNNING SELENA
which also can be added to your startup.m le to permanently add the path.
There are also m-les available in the same folder which can be useful for evaluating and testing the
code (easy to add plots, print intermediate results etc.) If Matlab nds a mex-les with the name as an
m-le then the mex-le will take precedece so to use the m-les one need to remove the mex-les from
the m files folder. Note, however, that the gsl interpolate.mex le is mandatory to use since it calls
the interpolation routines in the GNU Scientic Library (which is used by SELENA).
4.3.2 The SELENA oct-les
The oct-les currently implemented in SELENA are:
att_sub.oct gmotion.oct imp_dcm.oct tree.oct
csm.oct gsl_interpolate.oct madrs.oct treemdr.oct
curveintersect.oct humanloss.oct spectralshape.oct
damagep.oct humanlosshz.oct squaredam.oct
Note that there are no binary oct-le distributed with SELENA since they often need to be build for
the particular version of Octave that is used. See Appendix B for build instructions.
5 Running SELENA
T
O run SELENA, a certain number of les containing the input data have to be prepared. These
input les have to be available in the input folder. Note that a selection of necessary input les
already exist in the examples folder and preferably can be modied for any new analysis run. The input
les needs to be prepared in ASCII-format and provided as plain text les (*.txt). In addition, a number
of input les are required which either contain xed parameter values (variables) or which include the
spectral acceleration and displacement values of the single capacity curves. Input les containing the
xed parameter values (e.g., ec8t1.txt) will normally not be modied by the user and should be kept
as they are. In the following, the format of the dierent input les will be explained separately in more
detail. Their order conforms to SELENAs sequence of prompting the dierent inputs.
Note that the results of any new analysis with SELENA will be written into a sub-folder called output.
The user has to be careful when running SELENA a second time, since the sub-folder output is auto-
matically recreated and so all les of previous runs will be overwritten.
The contents of the input folder can, for example, look like this:
attenuation.txt elosscd1.txt indcasratec.txt injury4.txt population.txt
builtarea.txt elossed1.txt indcasratecc.txt newconstruction.txt soilcenter1.txt
capacity1.txt elossmd1.txt indcasratee.txt ocupmbt_files/ soilcenter2.txt
capcurves/ elosssd1.txt indcasratem.txt ocupmbtp.txt soilcenter3.txt
collapserate.txt fragility1.txt indcasrates.txt outcasratec.txt soilfiles.txt
cpfile.txt header.txt injury1.txt outcasratee.txt ubcampfact.txt
earthquake.txt headermdr.txt injury2.txt outcasratem.txt vulnerfiles.txt
ecfiles.txt headerocc.txt injury3.txt poptime.txt
where the sub-folder capcurves contain the capacity curve les, such as,
capc_C1M-pre.txt capc_C2M-pre.txt capc_C3M-pre.txt
and the sub-folder ocupmbt files contain, for example,
ocupmbt1.txt ocupmbt2.txt ocupmbt3.txt
The input les are described in Section 5.1.
38
D
R
A
F
T
Selena 5 RUNNING SELENA
5.1 Preparation of Input Files
5.1.1 Input Files for Deterministic Analysis
For a deterministic analysis 5 dierent input les are required.
cpfile.txt: see Section 5.1.4: Common input les for all analysis types.
earthquake.txt: Input le containing the information about the earthquake to be used in the seismic
risk study. This le includes dierent earthquakes with corresponding weights to be run by the logic tree
methodology.
Format:
%Earthquake scenarios information
%1st column is the weight for the logic tree scheme:weight
%2nd column is latitude in degrees:lat
%3rd column is longitude in degrees:lon
%4th column is focal depth in km:depth
%5th column is Ms magnitude:Ms
%6th column is Mw magnitude:Mw
%7th column is fault orientation in degrees from North:strike
%8th column is dip angle in degrees:dip
%9th column is fault mechanism:strike-slip/normal(1);reverse(2);all(3)
%10th column is the numerical code for the spectral shape, e.g. 1 for IBC-2006
0.33 59.90 10.90 20.00 5.50 5.50 0.00 90.00 2 1
0.34 59.90 10.90 20.00 6.00 6.00 0.00 90.00 2 1
0.33 59.90 10.90 20.00 6.50 6.50 0.00 90.00 2 1
where weight is the weight for the logic tree scheme, lat is the latitude in degrees, lon is th longitude
in degrees, depth is the focal depth in [km], Ms is the surface wave magnitude M
s
, Mw is the moment
magnitude M
w
, strike is the fault orientation in degrees from North, dip is the dip angle in degrees,
fault is the fault mechanism: 1 - strike-slip/normal; 2 - reverse; 3 all, sshape is the numerical code for
the spectral shape as given in spectralshape.m and spectralshape.c (see Table 14)
soilfiles.txt: see Section 5.1.4: Common input les for all analysis types
attenuation.txt: Input le containing the labels of the dierent empirical ground-motion prediction
equations (short: att. rel.) to be used in the study and its corresponding weights for the logic tree
methodology.
Format:
%Ground motion information.
%1st column is weight: weight
%2nd column is the label of PGA att.rel.: PGA
%3rd column is the label of Sa at 0.3 s att.rel.: Sa03
%4th column is the label of Sa at 1.0 s att.rel.: Sa10
0.6 22 322 1022
0.2 23 323 1023
0.2 24 324 102
where: weight is the weight for the logic tree scheme, PGA is the label of the applied att.rel. in order
to determine PGA (see Table 19), Sa03 is the label of the applied att.rel. in order to determine Sa at 0.3
s (see Table 19), Sa10 is the label of the applied att.rel. in order to determine Sa at 1.0 s (see Table 19),
In the sample le above, the ground-motion prediction equations by Ambraseys et al. [21] are used in
order to derive:
the mean values of PGA (no=22 in the att sub function), Sa at 0.3 s (no=322), and Sa at 1.0 s
(no=1022) weighted 0.6,
the mean values plus standard deviation of PGA (23), Sa at 0.3 s (323), and Sa at 1.0 s (1023)
weighted 0.2, and
39
D
R
A
F
T
Selena 5 RUNNING SELENA
the mean values minus standard deviation of PGA (24), Sa at 0.3 s (324), and Sa at 1.0 s (1024)
weighted 0.2.
Note: For each attenuation relationship periods at 0 s (PGA), 0.3 s and 1.0 s should be given with the
same weights since each computation will need the ground-motion values at these three periods.
vulnerfiles.txt: see Section 5.1.4: Common input les for all analysis types.
ecfiles.txt: see Section 5.1.4: Common input les for all analysis types.
5.1.2 Input Files for Probabilistic Analysis
For a probabilistic analysis 4 dierent input les are required.
cpfile.txt: see Section 5.1.4: Common input les for all analysis types.
shakefiles.txt: Input le referring to the sub-les of the probabilistic ground-motion information
shakecenter(i).txt (2nd column), indicating their corresponding weight for the logic tree methodology
(1st column) and referring to the numerical code for the spectral shape (3rd column) as given in Table 14
and implemented in the les spectralshape.m and spectralshape.c.
Index Site classication scheme Site classes
1 United States: IBC-2006 [8] A-E (Table 15)
2 Eurocode 8: Type 1 (CEN, 2002) AE (Table 16)
3 Eurocode 8: Type 2 (CEN, 2002) AE (Table 16)
4 India: IS 1893 (Part 1) : 2002 [41] IIII (Table 17)
Table 14: Indexing of the incorporated site classication schemes.
Format:
0.60 shakecenter1.txt 1
0.20 shakecenter2.txt 1
0.20 shakecenter3.txt 1
Each shakecenter(i).txt le contains the spectral ground-motion values PGA, spectral acceleration
Sa at 0.3 seconds, and spectral acceleration Sa at 1.0 seconds for each geographical unit (center coordi-
nates) while i indicates the number of the dierent regarded probabilistic shakecenter. All values are for
rock and in % of g. Note that the coordinates of the centroids have to be externally assigned in a GIS
program.
Format of the sub-le shakecenter(i).txt:
%GEOUNIT Lat Lon Soil PGA Sa_03 Sa_10
0100100001 59.914 10.719 2 0.2548 0.3160 0.0866
0100100002 59.916 10.711 2 0.2548 0.3160 0.0866
0100100003 59.919 10.707 2 0.2548 0.3160 0.0866
0100100004 59.916 10.698 2 0.2548 0.3160 0.0866
01001...
in which:
GEOUNIT is the label for the identication of the geographical unit, Lat is the label for the geographical
coordinates (degree of latitude), Lon is the label for the geographical coordinates (degree of longitude),
Soil is the label for the for the soil type in each geographical unit.
soilfiles.txt: see Section 5.1.4: Common input les for all analysis types.
40
D
R
A
F
T
Selena 5 RUNNING SELENA
vulnerfiles.txt: see Section 5.1.4: Common input les for all analysis types.
ecfiles.txt: see Section 5.1.4: Common input les for all analysis types.
5.1.3 Input Files for Analysis with Real-time Data
For an analysis with real-time data 4 dierent input les are required.
cpfile.txt: see Section 5.1.4: Common input les for all analysis types.
realtimefile.txt: Input le referring to the names of the sub-les realtimegrid.txt (1st col-
umn), the moment magnitude, M
w
, of the respective earthquake (2nd column) and referring to the
numerical code for the spectral shape (3rd column) as given in Table 14 and described in the le(s)
spectralshape.m/spectralshape.c (here: 1 for IBC-2006).
Format:
realtimegrid.txt 6.0 1
The sub-le realtimegrid.txt contains the information of Peak Ground Acceleration (PGA), spectral
acceleration Sa at 0.3 s, and spectral acceleration Sa at 1.0 s at the equally-spaced points of a grid pattern.
These have to be provided by the user for example by real-time shake maps.
Format of the sub-le realtimegrid.txt:
%Lat Lon PGA Sa03 Sa10
59.80 10.60 0.0819 0.1617 0.0394
59.80 10.61 0.0832 0.1642 0.0399
59.80 10.62 0.0846 0.1669 0.0405
59.80 10.63 0.0861 0.1697 0.0411
...
Note: Given that soil eects are already included in the available real-time shake maps then the soil
types in input les soilcenter(i).txt have to be set as rock (2) so that the ground-motion ordinates
are not amplied a second time. In case that the available real-time shake maps are conned to rock
then the soil types in input les soilcenter(i).txt have to be set as normal.
soilfiles.txt: see Section 5.1.4: Common input les for all analysis types.
vulnerfiles.txt: see Section 5.1.4: Common input les for all analysis types.
ecfiles.txt: see Section 5.1.4: Common input les for all analysis types.
5.1.4 Common Input Files for all Analysis Types
cpfile.txt: Input le which decides on the type of analysis method to be used in order to calculate the
performance point and whether the damage results are dependent on number of damaged buildings or
damaged building area.
Format:
% 1st column is the type of analysis method used (1-CSM; 2-MADRS; 3-I-DCM)
% 2nd column is the type of damage results (1-square meters; 2-nr of buildings)
% 3rd column is the human losses method (1-basic method; 2-HAZUS method)
2 1 2
soilfiles.txt: Input le referring to the names of the sub-les soilcenter(i).txt and indicating
their corresponding weight for the logic tree methodology.
Format:
41
D
R
A
F
T
Selena 5 RUNNING SELENA
0.33 soilcenter1.txt
0.34 soilcenter2.txt
0.33 soilcenter3.txt
with i indicating the number of the dierent regarded soil columns.
Each soilcenter(i).txt le contains the information about the geographical coordinates of the
center of each geographical unit in which the studied region had been divided as well as a column with
the soil type associated to that specic geographical unit.
The soil column will be labeled with a code following the soil classication scheme applied by the user.
Currently, four dierent classication schemes are available which have to be appointed in the respective
input le earthquake.txt, shakefiles.txt, or realtimefile.txt by an index (Table 14).
Code NEHRP site class Site class description Shear-wave velocity v
s,30
[m/s]
1 A hard rock > 1500
2 B Rock 760-1500
3 C very dense soil and soft rock 360-760
4 D sti soil 180-360
5 E soft soil < 180
Table 15: Site classication according to the NEHRP provisions [43] used by the International Building
Code IBC-2006 [8].
Code Ground type Site class description
Shear-wave velocity
v
s,30
[m/s]
1 A rock or rock-like formation > 800
2 B very dense sands, gravel or very sti clay 360-800
3 C deep deposits of dense or medium-dense sand, 180-360
gravel of sti clay
4 D deposits of loose-to-medium cohesionless soil, < 180
or of soft-to-rm cohesive soil
5 E soil prole of a surface alluvium layer of C or D and n.a.
H = 5-20 m underlain by A
Table 16: Site classication according to Eurocode 8 (CEN, 2002).
Code Ground type Site class description Shear-wave velocity v
s,30
[m/s]
1 I rock or hard soil > 400
2 II medium soils 200-400
3 III soft soils < 200
Table 17: Site classication according to the Indian standard IS 1893 (Part 1) : 2002 [41].
The center coordinates must be dened independently of SELENA. [If unknown: when the shapeles
of all the geographical units have been created in ArcView, the center of each geographical unit is easily
obtained using the internal scripts of ArcView.]
Format of the sub-le soilcenter(i).txt:
%GEOUNIT Lat Lon Soil
0100100001 59.91401 10.71870 2
0100100002 59.91562 10.71144 2
01001...
42
D
R
A
F
T
Selena 5 RUNNING SELENA
where GEOUNIT is the label for the identication of the geographical unit, Lat is the label for the
geographical coordinates (degree of latitude), Lon is the label for the geographical coordinates (degree of
longitude), Soil is the label for the for the soil type in each geographical unit.
In the sample le the GEOUNIT column has a string format of 10 characters since it was created to t
the HAZUS input les, however the SELENA code accepts any integer numerical format. Coordinates
must be provided in geographical coordinates for the representation in ArcView and can be used later to
prepare maps in other coordinate systems.
The respective soil amplication factors (and corner control periods) in order to construct the response
spectra for the dierent soil types are provided by input les ubcampfact.txt (for NEHRP site classes
as given in IBC-2006, Table 15) and ec8t1.txt (for site classes of Eurocode 8 Type 1, Table 16),
ec8t2.txt (for site classes of Eurocode 8 Type 2, Table 15) and IS1893.txt (for site classes of Indian
code, Table 17).
vulnerfiles.txt: Input le referring to the sub-les capacity(i).txt and fragility(i).txt, as
well as indicating their corresponding weight for the logic tree methodology.
Format:
0.33 capacity1.txt fragility1.txt
0.34 capacity2.txt fragility2.txt
0.33 capacity3.txt fragility3.txt
with i indicating the number of dierent sets of capacity curves capacity(i).txt respectively fragility
curves fragility(i).txt for the logic tree computation scheme.
In turn, each of the capacity(i).txt les refers to one particular set of building capacity curves
which have to be provided as text (ASCII) les. Very often there may be three or more sets (and
thus capacity(i).txt les) representing the variability of the capacity curve (e.g., median, 84%- and
16%-fractile).
Format of the sub-les capacity(i).txt:
capc_C1M-pre.txt 7 0.0052 0.40 0.20 0.00 %C1M
capc_C2M-pre.txt 7 0.0046 0.40 0.20 0.00 %C2M
capc_C3M-pre.txt 10 0.0046 0.40 0.20 0.00 %C3M
where
1st column: lename of the respective capacity curve,
2nd column: elastic damping in percentage, for each one of the model building types mbt according
to the recommendations of Newmark and Hall [49] for materials at or just below their yield point
(explained in the technical description of this report),
3rd column: spectral displacement corresponding to the elastic limit (in [m]),
4th column: kappa value for short duration earthquake (Table 5.18 in HAZUS [2]),
5th column: kappa value for moderate duration earthquake (Table 5.18 in HAZUS [2]),
6th column: kappa value for long duration earthquake (Table 5.18 in HAZUS [2]),
7th column: comment on the denomination of the respective (model) building type.
The les containing the spectral displacement and spectral acceleration values of the actual capacity
curve (e.g., capc C1M-pre.txt) in general are provided as plain ASCII text les in the following format:
0 0
0.0005 0.0049
43
D
R
A
F
T
Selena 5 RUNNING SELENA
0.001 0.0098
0.0015 0.0147
0.002 0.0196
...
where the rst column is the spectral displacement (in [m]) and the secone column is the spectral
acceleration (in [m/s
2
])
Each fragility(i).txt le contains the information of the fragility curve which has to be used in
combination with its corresponding capacity curve.
Format of the sub-le fragility(i).txt:
%mbt smedian sbeta mmedian mbeta emedian ebeta cmedian cbeta Pre-Code
1 0.0305 0.73 0.0488 0.77 0.1219 0.83 0.3048 0.98 %C1M
2 0.0244 0.86 0.0465 0.83 0.1204 0.80 0.3048 0.98 %C2M
3 0.0183 0.90 0.0366 0.86 0.0914 0.90 0.2134 0.96 %C3M
where mbt is the index of model building type, xmedian is the median value of spectral displacement
in unites of [m] at which the building reaches the threshold of the damage state, x, which can be one of:
s(slight), m (moderate), e (extensive), and c (complete), and where xbeta is the standard deviation of
the natural logarithm of spectral displacement of damage state, x, which also can be one of: s (slight),
m (moderate), e (extensive), and c (complete).
5.1.5 Input Files for the Calculation of Economic Losses
In order to calculate the economic losses the user has to provide the monetary values per [m
2
] dependent
on model building type, occupancy, and structural damage state.
ecfiles.txt: Input le referring to the sub-les elosssd(i).txt (slight damage), elossmd(i).txt
(moderate damage), elossed(i).txt (extensive damage), and elosscd(i).txt (complete damage) as
well as indicating their corresponding weight for the logic tree methodology.
Format:
0.50 elosssd1.txt elossmd1.txt elossed1.txt elosscd1.txt
0.50 elosssd2.txt elossmd2.txt elossed2.txt elosscd2.txt
with i indicating the number of dierent loss models reecting the monetary loss in a predened cur-
rency per square meters. Consequently, the sub-les elosssd(i).txt, elossmd(i).txt, elossed(i).txt
and elosscd(i).txt contain the economic information in order to compute economic (monetary) losses
due to slight, moderate, extensive and complete structural damage to a specic model building type
dependent on occupancy type. The quantities are given in the user-desired predened currency.
Format of the sub-le elossxd(i).txt:
%oct W1 W2 S1 S2 S3 S4 S5 C1 C2 C3 PC1 PC2 RM1 RM2 URM MH LABEL
1 3.0 3.0 3.0 3.0 3.0 3.0 3.0 3.0 3.0 3.0 3.0 3.0 3.0 3.0 3.0 0.0 %RES1
2 2.0 2.0 2.0 2.0 2.0 2.0 2.0 2.0 2.0 2.0 2.0 2.0 2.0 2.0 2.0 0.0 %RES3
3 ...
where x can be one of: s (slight), m (moderate), e (extensive), and c (complete).
5.1.6 Input Files for the Calculation of Human Losses Casualties
population.txt: Input le containing the population distribution in the studied area (compare also
with Table 13 for more detailed information). In case that the Basic methodology is used to calculate
human losses only the numbers of total census tract population (2nd column) are necessary to provide.
Format:
44
D
R
A
F
T
Selena 5 RUNNING SELENA
%GEOUNIT POP DRES NRES COMW INDW COMM GRADE COLLEGE HOTEL PRFIL VISIT
0102500001 4125 1701 3929 716 153 278 275 400 50 0.80 0.0
0102500002 7874 3004 7368 694 47 377 350 600 80 0.80 0.0
0102500003 6777 2510 6415 918 57 252 300 500 20 0.80 0.0
0102500004 6534 1879 6333 631 102 337 280 450 20 0.80 0.0
where POP is the total census tract population, DRES is the daytime residential population inferred from
census data, NRES is the nighttime residential population inferred from census data, COMW is the number
of people employed in the commercial sector, INDW is the number of people employed in the industrial
sector, COMM is the number of people commuting inferred from census data, GRADE is the number of
students in grade school (usually under 17 years old), COLLEGE is the number of students on college and
university campuses in the census tract (over 17 years old), HOTEL is the number of people staying in
hotels in the census tract. Furthermore, PRFIL is the factor representing the proportion of commuters
using automobiles inferred from prole of the community (0.60 for dense urban areas, 0.80 for less dense
urban or suburban areas and 0.85 for rural) where the default value is 0.80, and where, VISIT is the
number of regional residents who do not live in the study area, visiting the census tract for shopping and
entertainment (default is set to zero).
poptime.txt: Input le reecting the population percentages (in decimal numbers) staying indoors
or outdoors dependent on the time of the day. This le is only needed if the human losses are going to
be computed using the Basic methodology.
Format:
%HOUR INDOOR OUTDOOR Label
1 0.99 0.01 %night 02:00 am
2 0.10 0.90 %day 10:00 am
3 0.15 0.85 %commuting 17:00 pm
ocupmbtp.txt: Input le indicating the share of each model building type (MBT) and its occupancy
at the entire building stock. This le is only needed if the human losses are going to be computed using
the Basic methodology.
Format:
%mbt RES COM EDU Label
1 0.0042 0.0006 0.0 %C1M
2 0.1342 0.0081 0.0 %C2M
3 0.8042 0.0487 0.0 %C3M
4 0.0 0.0 0.0 %NONE
injury(i).txt: Input les containing the casualty rates of severity i in percentages (i = 1, 2, 3, 4)
for the dierent damage states (i = 1 slight, i = 2 moderate, i = 3 extensive, i = 4 complete or complete
with collapse). These les are only needed if the human losses are going to be computed using the Basic
methodology.
Format:
% Slight Moderate Extensive Complete CompleteCollapse Label
1 0.05 0.20 1.00 10 50 %W1
2 0.05 0.20 1.00 10 50 %W2
3 0.05 0.20 1.00 10 50 %S1L
...
collapserate.txt: Input les containing the percentage of collapsing buildings when they reach the
complete damage state according to each model building type. This le is only needed is human losses
are going to be computed using the HAZUS methodology.
Format:
%No COLLAPSE_RATE LABEL
45
D
R
A
F
T
Selena 5 RUNNING SELENA
1 10.00 %C1M
2 10.00 %C2M
3 13.00 %C3M
indcasrates.txt: Indoor casualty rate for slight damage. This le is only needed if the human losses
are going to be computed using the HAZUS methodology.
Format:
%No SEVERITY1 SEVERITY2 SEVERITY3 SEVERITY4 LABEL
1 0.05 0.00 0.00 0.00 %C1M
2 0.05 0.00 0.00 0.00 %C2M
3 0.05 0.00 0.00 0.00 %C3M
indcasratem.txt: Indoor casualty rate for moderate damage. This le is only needed if the human
losses are going to be computed using the HAZUS methodology.
Format:
%No SEVERITY1 SEVERITY2 SEVERITY3 SEVERITY4 LABEL
1 0.25 0.030 0.00 0.00 %C1M
2 0.25 0.030 0.00 0.00 %C2M
3 0.20 0.025 0.00 0.00 %C3M
indcasratee.txt: Indoor casualty rate for extensive damage. This le is only needed if the human
losses are going to be computed using the HAZUS methodology.
Format:
%No SEVERITY1 SEVERITY2 SEVERITY3 SEVERITY4 LABEL
1 1.00 0.10 0.001 0.001 %C1M
2 1.00 0.10 0.001 0.001 %C2M
3 1.00 0.10 0.001 0.001 %C3M
indcasratec.txt: Indoor casualty rate for complete damage without collapse. This le is only needed
if the human losses are going to be computed using the HAZUS methodology.
Format:
%No SEVERITY1 SEVERITY2 SEVERITY3 SEVERITY4 LABEL
1 5.00 1.00 0.01 0.01 %C1M
2 5.00 1.00 0.01 0.01 %C2M
3 5.00 1.00 0.01 0.01 %C3M
indcasratecc.txt: Indoor casualty rate for complete damage with collapse. This le is only needed
if the human losses are going to be computed using the HAZUS methodology.
Format:
%No SEVERITY1 SEVERITY2 SEVERITY3 SEVERITY4 LABEL
1 40.00 20.00 5.00 10.00 %C1M
2 40.00 20.00 5.00 10.00 %C2M
3 40.00 20.00 5.00 10.00 %C3M
outcasratem.txt: Outdoor casualty rate for moderate damage. This le is only needed if the human
losses are going to be computed using the HAZUS methodology.
Format:
%No SEVERITY1 SEVERITY2 SEVERITY3 SEVERITY4 LABEL
1 0.05 0.005 0.00 0.00 %C1M
2 0.05 0.005 0.00 0.00 %C2M
3 0.05 0.005 0.00 0.00 %C3M
46
D
R
A
F
T
Selena 5 RUNNING SELENA
outcasratee.txt: Outdoor casualty rate for extensive damage. This le is only needed if the human
losses are going to be computed using the HAZUS methodology.
Format:
%No SEVERITY1 SEVERITY2 SEVERITY3 SEVERITY4 LABEL
1 0.20 0.02 0.0002 0.0002 %C1M
2 0.20 0.02 0.0002 0.0002 %C2M
3 0.40 0.04 0.0004 0.0004 %C3M
outcasratec.txt: Outdoor casualty rate for complete damage. This le is only needed if the human
losses are going to be computed using the HAZUS methodology.
Format:
%No SEVERITY1 SEVERITY2 SEVERITY3 SEVERITY4 LABEL
1 2.20 0.70 0.20 0.20 %C1M
2 2.20 0.70 0.20 0.20 %C2M
3 3.00 1.20 0.30 0.40 %C3M
occmbtp1.txt: Represents the distribution of population in each census tract and model building
type for RESIDENTIAL occupancy (percentage). The percentages of each line summed up have to be
1.0 (100%). This le is only needed if the human losses are going to be computed using the HAZUS
methodology.
Format:
%MBT C1M C2M C3M NONE RESIDENTIAL
0102500001 0.20 0.30 0.50 0
0102500002 0.00 0.00 1.00 0
0102500003 0.00 0.00 1.00 0
0102500004 0.00 0.40 0.60 0
occmbtp2.txt: Represents the distribution of population in each census tract and model building type
for COMMERCIAL occupancy (percentage). The percentages of each line summed up have to be 1.0 (100%).
This le is only needed if the human losses are going to be computed using the HAZUS methodology.
Format:
%MBT C1M C2M C3M NONE COMMERCIAL
0102500001 0.25 0.25 0.50 0
0102500002 0.00 0.00 1.00 0
0102500003 0.00 0.00 1.00 0
0102500004 0.00 0.50 0.50 0
occmbtp3.txt: Represents the distribution of population in each census tract and model building
type for EDUCATIONAL occupancy (percentage). The percentages of each line summed up have to be
1.0 (100%). This le is only needed if the human losses are going to be computed using the HAZUS
methodology.
Format:
%MBT C1M C2M C3M NONE EDUCATIONAL
0102500001 0.00 0.00 0.00 0.00
0102500002 0.00 0.00 0.00 0.00
0102500003 0.00 0.00 0.00 0.00
0102500004 0.00 0.00 0.00 0.00
occmbtp4.txt: Represents the distribution of population in each census tract and model building
type for INDUSTRIAL occupancy (percentage). The percentages of each line summed up have to be
1.0 (100%). This le is only needed if the human losses are going to be computed using the HAZUS
methodology.
Format:
47
D
R
A
F
T
Selena 5 RUNNING SELENA
%MBT C1M C2M C3M NONE INDUSTRIAL
0102500001 0.00 0.00 0.00 0.00
0102500002 0.00 0.00 0.00 0.00
0102500003 0.00 0.00 0.00 0.00
0102500004 0.00 0.00 0.00 0.00
occmbtp5.txt: Represents the distribution of population in each census tract and model building type
for HOTEL occupancy (percentage). The percentages of each line summed up have to be 1.0 (100%).
This le is only needed if the human losses are going to be computed using the HAZUS methodology.
Format:
%MBT C1M C2M C3M NONE HOTEL
0102500001 0.00 0.00 0.00 0.00
0102500002 0.00 0.00 0.00 0.00
0102500003 0.00 0.00 0.00 0.00
0102500004 0.00 0.00 0.00 0.00
5.1.7 Mandatory Input Files
In addition to the input les described above in Section 5.1 there are a number of additional input les
which are required in order to run SELENA which need to be located in the same folder as the other
input les. These les are described in this section.
header.txt: a le providing the necessary header data in order to create the damage output les
(which then, for example, can be plotted with ArcView). The rst four columns in the header.txt le
(GEOUNIT, lon, lat, and soil) remain always the same. All other columns standing for the damage
extent of each model building type can be modied or extended subject to the number of considered
model building types. Note that the number of additional columns has to be always a multiple of 5 (here:
15 model building types 5 damage states = 75 additional columns in the header). If, e.g., a new model
building type called NB is to be considered, then ve columns have to be added in the header: NBN, NBS,
NBM, NBE, NBC (for the damage states: Nnone, Sslight, Mmedian, Eextensive and Ccomplete). Finally, the
last label NUMB stands for a column with an order number.
Format:
%GEOUNIT Lat Lon Soil W1N W1S W1M W1E W1C ...
where GEOUNIT is the label for the identication of the geographical unit, Lat is the label for the geo-
graphical coordinates (degree of latitude), Lon is the label for the geographical coordinates (degree of
longitude), Soil is the label for the for the soil type in each geographical unit, and Numb is the order
number.
The herein predened model building types are those given in HAZUS. More details on these types
including ranges of typical building heights and number of stories are given in Appendix A, Table 19.
headerocc.txt: le providing the necessary header for the input les ocupmbt(i).txt allocating the
built area (in square meters) according to their occupancy in each geographical unit for the dierent
model building types i.
Format:
%GEOUNIT RES1 RES3 RES4 RES5 COM1 COM2 ...
The herein predened occupancy classes are those given in HAZUS. A more detailed description of
these classes is given in Appendix A, Table 20.
headermdr.txt: le providing the necessary header for the output les mdr(i).txt and mdrtot(i).txt
for allocating the mean damage ratio computations i.
Format:
%GEOUNIT MDRT W1 W2 S1L S1M S2L ...
48
D
R
A
F
T
Selena 5 RUNNING SELENA
builtarea.txt: input le containing the total built area of each model building type (in square
meters) for each geographical unit. This type of input le can be easily obtained through the databases
provided by the local agencies using MS Access, Matlab, or Octave. This le is only needed if risk
scenarios are going to be computed in terms of damaged built area with economic losses.
Format:
%GEOUNIT W1 W2 S1L S1M S2L ...
0100100001 8964 0.0 0.0 0.0 0.0 ...
0100100002 5549 0.0 0.0 0.0 0.0 ...
...
where GEOUNIT is the census tract identier (has to be always in the same order), W1... is the built
area information for each of the model building types (if more building types are included then more
columns have to be added) NONE is the built area which can not be assigned to any of the model building
typesbecause of the lack of information.
Note: The NONE building type area is excluded from the computations (since it covers the area of
all unknown model building types). This means that if a large percentage of the building mass is of
unknown building type, then all cumulative end-results will be wrong due to the fact that a large part
of the building mass is excluded from the computations. Anyway, if the input le builtarea.txt is
modied e.g. by adding or removing model building types, the column NONE always has to remain. If
there are no unknown buildings, then a 0 has to be inserted in column NONE.
numbuild.txt: input le containing the total number of buildings of each model building type for
each geographical unit. This type of input le can be easily obtained through the databases provided by
the local agencies using MS Access, Matlab, or Octave. This le is only needed if risk scenarios are going
to be computed in terms of damaged number of buildings without economic losses.
Format:
%GEOUNIT W1 W2 S1L S1M S2L ...
0100100001 10 0 0 0 0 0 ...
33 0 49
01001...
where GEOUNIT is the census tract identier (has to be always in the same order), W1... is the
number of buildings for each one of the model building types (if more building types are included then
more columns have to be added) NONE is the number of buildings which can not be assigned to any of
the model building types because of the lack of information.
Note: Input les builtarea.txt and numbuild.txt are not needed at the same time if only one of the
damage results is desired.
ocupmbtj.txt: input les containing the built area (in square meters) according to their occupancy
in each geographical unit for the dierent model building types i. They are needed for the computation
of economic losses.
Format:
%GEOUNIT RES1 RES3 RES4 RES5 COM1 ...
0100100001 130.000 690.000 0.000 0.000 0.000 ...
0.000 0.000 0.000 20.000 0.000 0.000 0.000 ...
0.000 0.000 7454.000 0.000 350.000 320.000
...
49
D
R
A
F
T
Selena 5 RUNNING SELENA
5.2 Mean Damage Ratio Computation
According to FEMA (2003) [2] a useful parameter in order to be able to compare the risk estimation for
the dierent geounits within a city or between dierent cities or countries is named the mean damage
ratio (MDR); the MDR is dened the cost ratio corresponding to each damage state expressed as a ratio
of the cost of new construction.
The MDR computation needs to read a denition of the damage ratio (DR). This information is given
in the input le named newconstruction.txt which has the following format:
%NO C3L C3M C3H RM2L RM2M S1M S5L URML PDC CC LABEL
1 770.00 733.92 693.00 770.00 733.92 694.89 660.00 611.60 990.00 805.20 %RES
2 895.27 853.30 805.75 895.27 853.30 807.95 709.50 657.47 1064.25 865.59 %COM
3 699.59 666.80 629.63 699.59 666.80 631.36 524.95 486.45 787.44 640.44 %IND
4 1375.04 1310.58 1237.53 1375.03 1310.58 1240.92 1031.79 956.12 1547.70 1258.80 %REL
5 987.80 941.50 889.02 987.80 941.50 891.45 741.22 686.85 1111.84 904.29 %GOV
6 987.80 941.50 889.02 987.80 941.50 891.45 741.22 686.85 1111.84 904.29 %EDU
7 1023.00 975.05 920.70 1023.00 975.05 923.22 767.64 711.33 1151.46 936.51 %HOTEL
Several MDRs can be dened, and here, the following denitions are used:
MDR for each model building type and for each geounit : This factor can be computed using
the following formula
MDR
k
i
=
DR
k
S
N
k
Si
+ DR
k
M
N
k
Mi
+ DR
k
E
N
k
Ei
+ DR
k
C
N
k
Ci
N
k
Ti
(59)
where DR
k
j
is the damage ratio of the model building type, k, corresponding the damage state,
j, where j=S for slight, M for moderate, E for extensive and C for complete. N
ji
k
is the damaged
built area corresponding to the damage state j (S,M,E,C) for the model building type, k at the
ith geounit. N
Ti
k
is the total built area corresponding to the kth model building type at the ith
geounit.
MDR for each geounit and all model building types :
MDR
i
=

mbt
k=1
(DR
k
S
N
k
Si
+ DR
k
M
N
k
Mi
+ DR
k
E
N
k
Ei
+ DR
k
C
N
k
Ci
)
N
Ti
(60)
where DR
k
j
: is the damage ratio of the model building type k corresponding the damage state j
where j =S for slight, M for moderate, E for extensive and C for complete. N
ji
k
: is the damaged built
area corresponding to the damage state j (S,M,E,C) for the model building type k at the geounit
i. N
Ti
:is the total built area at the geounit i. for all the model building types i = 1, . . . , mbt.
MDR for each model building type and all geounits :
MDR
k
=

geounit
i=1
(DR
k
S
N
k
Si
+ DR
k
M
N
k
Mi
+ DR
k
E
N
k
Ei
+ DR
k
C
N
k
Ci
)
N
k
T
(61)
where DR
k
j
: is the damage ratio of the model building type k corresponding the damage state j
where j=S for slight, M for moderate, E for extensive and C for complete. N
ji
k
: is the damaged
built area corresponding to the damage state j (S,M,E,C) for the model building type k at the
geounit i. N
k
T
:is the total built area for the model building type k and added to all the geounits
i = 1, . . . , geounits.
MDR for all model building type and all geounits :
MDR =

geounit
i=1

mbt
k=1
(DR
k
S
N
k
Si
+ DR
k
M
N
k
Mi
+ DR
k
E
N
k
Ei
+ DR
k
C
N
k
Ci
)
N
T
(62)
50
D
R
A
F
T
Selena 5 RUNNING SELENA
where DR
k
j
: is the damage ratio of the model building type k corresponding the damage state j
where j =S for slight, M for moderate, E for extensive and C for complete. N
ji
k
: is the damaged
built area corresponding to the damage state j (S,M,E,C) for the model building type k at the
geounit i. N
T
:is the total built area for all the model building types and for all the geounits.
5.2.1 Median Values and Condence Levels
Similarly to the other SELENA results, data from the mdri.txt les will be used to obtain the ex-
pected value and condence values (based on a normal distribution assumption) given in the output les
mdrmedian.txt, mdr16prctile.txt, mdr84prctile.txt, respectively, Also, expected value and con-
dence values, based on data in the mdrtoti.txt les is given in the output les mdrtotmedian.txt,
mdrtot16prctile.txt, and mdrtot84prctile.txt, respectively.
5.3 The SELENA Program Sequence
In Figure 16 a owchart of the SELENA is shown. As noted above, SELENA can be used as a stand-alone
application, from Matlab, or from Octave. The stand-alone and Octave versions currently only has a
comand line interface, wheras, the Matlab version both have a simple graphical user interface (GUI) and
a command line interface; the Matlab SELENA GUI is only used for selecting input les. The dierent
interfaces are discribed in Sections 5.3.1, 5.3.2, and 5.3.3, below.
Also, the MDR computation will be performed only if SELENA can nd the newcontruction.txt
le in the input le folder.
5.3.1 The Stand-alone SELENA Application
To use the stand-alone version you rst need to at it the the path (or use the full path to the binary)
then start a start a shell (csh, bash, Windows cmd etc. and type
$ selena -p (or selena --probabilistic)
for probabilistic analysis,
$ selena -d (or selena --deterministic)
for deterministic analysis, or
$ selena -r (or selena --realtime)
for real-time (based on aquired real data) analysis. The stand-alone biniary expects that it can nd
the input les for respective analysis method as described in Section 5.1.
5.3.2 The Matlab and Octave Command-line Interface
The command-line interface for Matlab/Octave is similar to the stand-alone version. Type
51
D
R
A
F
T
Selena 5 RUNNING SELENA
Figure 16: Flowchart of SELENA.
52
D
R
A
F
T
Selena 5 RUNNING SELENA
$ selena(p); [or selena(probabilistic);]
for probabilistic analysis,
$ selena(d); [or selena(deterministic);]
for deterministic analysis, or
$ selena(r) [or selena(realtime);]
for real-time analysis. Also here it is expected that the input les, described in Section 5.1, can be found.
5.3.3 The Matlab Graphical User Interface
After having started Matlab, the user has to switch with the Matlab environment to the folder where the
input les are located. After prompting
>> selena_gui
the main menu window, shown in Figure 17, will appear where the user can choose whether to carry out
a probabilistic analysis, a deterministic analysis or an analysis based on real-time (aquired real) data
by clicking the corresponding button.
By choosing one of the three possibilities, either the logic tree scheme window for the probabilistic
analysis (Figure 18), the deterministic analysis (Figure 19) or the analysis with real-time data (Figure 20)
is opened. By clicking onto the single buttons, the user will be requested to specify the single input les
as dened in Section 5.1). After dening the ve respectively six dierent input les the user needs to
click onto the Run Analysis button in order to launch the analysis process.
The computation time basically depends on the size of the studied region (number of geographical
units GEOUNIT), the details of the building information [the number of model building types (MBT) and
the number of building occupancy types (OCT)], and the number of branches used in the logic tree
methodology.
5.4 Dealing with Uncertainties
Currently, SELENA computes median values as well as 16% and 84% fractiles of the risk results. This to
be done by means of a logic tree methodology in which the dierent branches of the tree can be weighted
so that at the end of the computation, the risk results are multiplied by their corresponding weights and
then are tted to a normal distribution in order to get the median values as well as the fractiles. The
single branches of the logic tree (Figure 21) currently represent uncertainties in:
earthquake source, attenuation relationship, soil type, vulnerability curves and economic values of
damaged built area in case of a deterministic analysis, or
ground shaking probabilistic maps, soil type, vulnerability curves and economic values of damaged
built area in case of a probabilistic analysis.
53
D
R
A
F
T
Selena 5 RUNNING SELENA
Figure 17: Main menu of the SELENA Matlab graphical user interface.
Figure 18: Logic tree scheme windows and requested input les for the probabilistic analysis.
54
D
R
A
F
T
Selena 5 RUNNING SELENA
Figure 19: Logic tree scheme windows and requested input les for the deterministic analysis.
Figure 20: Logic tree scheme windows and requested input les for the real-time data analysis.
55
D
R
A
F
T
Selena 5 RUNNING SELENA
risk and loss study
relation 1
soil model 1
relation 2 relation 3
soil model 3 soil model 2
ulnerability 1

ulnerability 3

ulnerability 2

loss model 1

loss model 3

loss model 2

earthquake 1 earthquake 2 earthquake 3
parameters o the
scenario earthquake:



ground-motion
prediction relation:



subsoil model




capacity cures and
ragility unctions ,`ulnerability`,:




economic model:
Figure 21: Logic tree structure. Each branch will be weighted in order to compute the expected values
and condence levels.
5.5 Output Files
5.5.1 Overview
All output les being generated during the analysis will be written in the sub-folder output. Table 18
lists and describes these output les.
5.5.2 Format of the Output Files
gmotionsceni.txt: Output les for each logic tree branch i which contain the respective ground-motion
ordinates in the geographical units (GEOUNITS) without (rock) and with (soil) soil amplication as well
as the soil amplication factors (AF) according to the applied earthquake code.
Format:
Column:
1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th 13th
%GEOUNIT Lat Lon Soil PGA
(rock) Sa_0.3
(rock) Sa_1.0
(rock) AF
PGA AF
Sa_0.3 AF
Sa_1.0 PGA
(soil) Sa_0.3
(soil) Sa_1.0
56
D
R
A
F
T
Selena 5 RUNNING SELENA
Output le Description
User-requested output type*
damaged area damaged buildings
gmotionsceni.txt les containing ground-motion ordinates S
as
and S
al
[g],
with/without soil amplication, S
asi
and S
Ali
[g],
and amplication factors F
A
and F
V
douti.txt damage probability for each branch of
probabilities
the logic tree (number of the le i)
sqmctdouti.txt damage results corresp. to the branch [m
2
]
nobctdouti.txt of the logic tree (number of the le i) numbers
16prctilect.txt** 16% fractiles of damage
[m
2
] numbers medianct.txt** mean value (median) of damage
84prctilect.txt** 84% fractiles of damage
eclossesi.txt results corresponding to the branch of economic loss in user-dened
the logic tree (number of the le i) currency (e.g. US-$, e, NOK)
containing the economic losses
loss16prctile.txt 16% fractiles of economic loss economic loss in user-dened
lossmedian.txt mean value of economic loss currency (e.g. US-$, e, NOK)
loss84prctile.txt 84% fractiles of economic loss
totalinjuri.txt results corresponding to the branch of injured persons (cumulative)
hlbyinjuri.txt the logic tree (number of the le i) injured persons (disaggregated
containing the human casualties by injury type)
hlbyinjur16pr.txt 16% fractiles of injured persons number of injured persons
hlbyinjurmean.txt mean value of injured persons (disaggregated by injury type)
hlbyinjur84pr.txt 84% fractiles of injured persons
totalinjur16.txt 16% fractiles of injured persons cumulative number of injured
totalinjurmean.txt mean value of injured persons persons (from slight to dead)
totalinjur84.txt 84% fractiles of injured persons
ltreewgth.txt weight of the damage results (excluding
weights
the branches of economic losses)
endwgth.txt nal weight of the economic results (including
weights
all possible branches)
Table 18: Description of output les and units of results dependent on user-requested output type.
*output type is decided in the input le cpfile.txt. **some columns may carry the term -1 which
indicates that no inventory data for this respective building type was available in order to compute
damage; the term 0 would mean that no building or square meters of this building type will undergo
this particular damage state.
57
D
R
A
F
T
Selena 5 RUNNING SELENA
(soil)
102500003 59.921 10.660 5 0.2050 0.4298 0.1194 2.5 1.7 3.2 0.5125 0.7307 0.3821
102500004 ... ...
Units: All ground-motion ordinates (PGA, spectral accelerations) are provided in [g]-units.
douti.txt: Output les for each logic tree branch i carrying the damage probabilities of each model
building type for the ve dierent damage grades (no, slight, moderate, extensive, complete). The le is
structured according to background le header.txt.
Format:
Column:
1st 2nd 3rd 4th 5th 6th 7th 8th 9th ... last
%GEOUNIT Lat Lon Soil C1MN C1MS C1MM C1ME C1MC ... NUMB
102500001 59.933 10.682 2 0.1446 0.2020 0.4657 0.1282 0.0595 ... 1
102500002 ... ...
where GEOUNIT is the label for the identication of the geographical unit, Lat is the label for the geo-
graphical coordinates (degree of latitude), Lon is the label for the geographical coordinates (degree of
longitude), Soil is the soil type according to the chosen soil classication scheme, C1MN is the damage
probability of model building type C1M for state no damage, C1MS is the damage probability of model
building type C1M for state slight damage, C1MM is the damage probability of model building type C1M
for state moderate damage, C1ME is the damage probability of model building type C1M for state exten-
sive damage, C1MC is the damage probability of model building type C1M for state complete damage,
and NUMB is the order number. Units: Damage probabilities are given in decimal numbers with four
decimal places (e.g., 0.1446).
Note: the summed up damage probabilities for one model building type must yield to 1.
sqmctdouti.txt respectively nobctdouti.txt: Output les for each logic tree branch i containing the
damage results (either damaged building area or number of damaged buildings) of each model building
type for the ve dierent damage grades (no, slight, moderate, extensive, complete). The le is structured
according to background le header.txt.
Format (e.g., sqmctdouti.txt):
Column:
1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10th last
%GEOUNIT Lat Lon Soil C1MN C1MS C1MM C1ME C1MC ... NUMB
102500001 59.933 10.682 2 40.63 56.76 130.86 36.02 16.72 ... 1
102500002 ... ...
Units: damage results are either given in square meters (sqmctdouti.txt) or number of buildings
(nobctdouti.txt).
medianct.txt , 16prctilect.txt, and 84prctilect.txt: Output les with total damage results
after statistical analysis of the logic tree branches (mean value, mean value standard deviation). De-
pendent on the type of output results chosen, the output les either contain damaged building area or
number of damaged buildings of each model building type for the ve dierent damage grades (no, slight,
moderate, extensive, complete). The le is structured according to background le header.txt.
Format (here in dependence on square meters):
Column:
1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10th last
58
D
R
A
F
T
Selena 5 RUNNING SELENA
%GEOUNIT Lat Lon Soil C1MN C1MS C1MM C1ME C1MC ... NUMB
102500001 59.933 10.682 2 92 63 100 17 9 ... 1
102500002 ... ...
Units: damage results are either given in square meters (m
2
) or number of buildings.
eclossesi.txt: Output les for each logic tree branch i containing the total economic loss (in a
user-dened currency) in each geographical unit.
Format:
Column:
1st 2nd
%GEOUNIT EURO
102500001 179118.4
102500002 469430.2
102500003 ...
Units: economic losses are given in the user-dened currency [here: Euro (e)].
lossmedian.txt, loss16prctile.txt, and loss84prctile.txt: Output les with total economic
losses after statistical analysis of the logic tree branches (mean value, mean value standard deviation) in
each geographical unit.
Format:
Column:
1st 2nd 3rd
%GEOUNIT EURO Order
102500001 517265.729 1
102500002 245537.129 2
102500003 ... ...
Units: economic losses are given in the user-dened currency [here: Euro (e)].
totalinjuri.txt: Output les for each logic tree branch i with cumulative numbers of human losses
(from slightly injured to dead) for the three dierent daytime scenarios in each geographical unit.
Format:
Column:
1st 2nd 3rd 4th
%GEOUNIT INJUR_2:00 INJUR_10:00 INJUR_17:00
102500001 5.0 0.5 0.8
102500002 9.6 1.0 1.5
102500003 8.3 ... ...
Units: human losses are given in numbers of casualties (injured or dead persons).
hlbyinjuri.txt: Output les for each logic tree branch i with distinct numbers of human losses
(from slightly injured to dead) for the three dierent daytime scenarios in each geographical unit.
Format:
Column:
1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th 13th
%GEOUNIT INJUR
LOW_
59
D
R
A
F
T
Selena 5 RUNNING SELENA
2:00 INJUR
LOW_
10:00 INJURLOW_
17:00 INJUR
MED_
2:00 INJUR
MED_
10:00 INJUR
MED_
17:00 INJUR
HEAV_
2:00 INJUR
HEAV_
10:00 INJUR
HEAV_
7:00 INJURV
DEATH_
2:00 INJURV
DEATH_
10:00 INJURV
DEATH_
17:00
102500001 3.0 0.3 0.5 1.2 0.1 0.2 0.4 0.0 0.1 0.4 0.0 0.1
102500002 ... ...
Units: human losses are given in numbers of casualties (injured or dead persons).
hlbyinjurmean.txt, hlbyinjur16pr.txt, and hlbyinjur84pr.txt: Output les with numbers of
human losses (from slightly injured to dead) for the three dierent daytime scenarios after statistical
analysis of the logic tree branches (mean value, mean value standard deviation) in each geographical
unit.
Format:
Column:
1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th 13th
%GEOUNIT INJUR
LOW_
2:00 INJUR
LOW_
10:00 INJURLOW_
17:00 INJUR
MED_
2:00 INJUR
MED_
10:00 INJUR
MED_
17:00 INJUR
HEAV_
2:00 INJUR
HEAV_
10:00 INJUR
HEAV_
7:00 INJURV
60
D
R
A
F
T
Selena 5 RUNNING SELENA
DEATH_
2:00 INJURV
DEATH_
1 0:00 INJURV
DEATH_
17:00
102500001 15.6 1.6 2.4 1.6 2.4 8.1 2.4 8.1 0.8 8.1 0.8 1.2
102500002 ... ...
Units: human losses are given in numbers of casualties (injured or dead persons).
totalinjurmean.txt, totalinjur16.txt, and totalinjur84.txt: Output les with cumulative
numbers of human losses (from slightly injured to dead) for the three dierent daytime scenarios after
statistical analysis of the logic tree branches (mean value, mean value standard deviation) in each
geographical unit.
Format:
Column:
1st 2nd 3rd 4th
%GEOUNIT INJUR_2:00 INJUR_10:00 INJUR_17:00
102500001 30.8 3.1 4.6
102500002 58.7 5.9 8.9
102500003 50.5 5.1 ...
Units: human losses are given in numbers of casualties (injured or dead persons).
5.5.3 Mean Damage Ratio Output Files
For the damage ratio (MDR) computation there will be a le mdri.txt for each branch, i, of the logic
tree (see Section 5.2). These les will contain the results of MDR for each model building type and for
each geounit and the second column of the output le will contain the MDR for each geounit and all
model building types.
Format:
%GEOUNIT MDR C3L C3M C3H RM2L RM2M S1M S5L URML PDC CC
101 0.19218600 0.28462806 0.52991545 -1 0.05215911 0.27170182 -1 -1 -1 -1 0.05066373
102 0.29652423 0.38219628 0.52629182 0.63284273 0.05155185 0.25478273 -1 -1 0.13397214 ...
104 0.39414670 0.39333182 0.53828636 -1 0.05332634 0.30766455 -1 -1 -1 0.04183736 ...
105 0.10640911 0.37688768 0.52042182 -1 0.05079273 0.22691088 -1 -1 0.13015636 -1 0.04914456
106 0.33274322 0.38893441 0.53353182 -1 0.05260550 0.28760177 -1 0.35689455 -1 0.04127933 ...
107 0.35963197 0.39865541 0.54384000 -1 0.05418364 0.33119364 0.45359613 -1 0.14599178 ...
108 0.37836659 0.39362086 0.53862544 0.64316636 0.05343548 0.30881818 -1 -1 0.14218388 -1 ...
When -1s are found in these output les it means that no built area of the corresponding model
building type exists so the MDR can not be computed.
There will be a mdrtoti.txt le for each branch, i, of the logic tree. This le will contain the MDR
results for all model building types and all geounits and for each geounit; the second column of the output
le will contain the MDR for all model building type and all geounits.
Format:
%GEOUNIT MDR C3L C3M C3H RM2L RM2M S1M S5L URML PDC CC
1 0.32518213 0.38878658 0.53521644 0.63821245 0.05231050 0.29422597 ...
61
D
R
A
F
T
Selena 6 EXAMPLES
6 Examples
S
ELENA comes with one set of example input les (for Bucharest) which are located the examples
folder.
6.1 The Bucharest Example
The Bucharest example is for an earthquake at long 26.76 lat 45.77 (see Figure 22). There are 6 geo-
graphical units and ?? building types.
Figure 22: Map (from http://www.openstreetmap.org) of location of the geounits (red markers) and
the earthquake (red asterisk) for the Bucharest example.
The earthquake.txt le species the 10 parameters for each earthquake scenarios (magnitude, loca-
tion, etc.):
0.12 45.77 26.76 60.00 7.40 7.40 45.00 90.00 2 2
0.16 45.77 26.76 90.00 7.40 7.40 45.00 90.00 2 2
0.12 45.77 26.76 180.00 7.40 7.40 45.00 90.00 2 2
0.09 45.77 26.76 60.00 7.30 7.30 45.00 90.00 2 2
0.12 45.77 26.76 90.00 7.30 7.30 45.00 90.00 2 2
0.09 45.77 26.76 180.00 7.30 7.30 45.00 90.00 2 2
0.09 45.77 26.76 60.00 7.20 7.20 45.00 90.00 2 2
0.12 45.77 26.76 90.00 7.20 7.20 45.00 90.00 2 2
0.09 45.77 26.76 180.00 7.20 7.20 45.00 90.00 2 2
For this example there are 9 earthquake scenarios (for various depths) and the probabilies (weights)
for each scenario is given in the rst column. The depths . . .
6.2 Determistic Data
Nothing here yet. . .
62
D
R
A
F
T
Selena 8 KNOWN ISSUES
6.3 Probabilistic Data
Nothing here yet. . .
6.4 Realtime Data
Nothing here yet. . .
7 Plotting results in Geographic Information Systems (GIS)
S
INCE most of the SELENA results are provided in geo-referenced output les, the illustration in a
Geographic Information System is recommended. This of course can be also done with those input or
inventory les whose data is connected to the geographical units (geounit) or the geographical coordinates
of its respective center (centroid).
In the following it is briey described how the GIS package ArcView [1] can be applied to plot the
damage and loss results derived by SELENA. SELENAs output les have been prepared such that they
can be easily imported into a spreadsheet (MS Excel, OpenOce, etc.) in terms of a delimited format
with tab and comma or space as delimiters. The user can then use the spreadsheet program to sum
all columns with moderate damage (for example) and get a column with moderate damage for all the
building types or sum all columns with moderate, extensive and complete damage obtaining a column
with at least moderate damage for all the building types. In the sum the user has to be carefully with
the dummy value of 1 in some cells, so we suggest to change this dummy value to 0 before summing
up. Finally, the les to be plotted in ArcView must be exported to *.dbf (Dbase 4) formatted les and
they must contain at least the following columns:
% GEOUNIT LONGI LATI other-columns-to-be-plotted NUMB
The user can run ArcView, create a new project, add a new view, include a theme in the view (e.g.,
with the Oslo census tracts) and add a table (the *.dbf le which is going to be plotted). The user must
then click into the view window, in THEME+TABLE in order to open the main table e.g., of the Oslo census
tracts. Now, it is possible in the table window to see two dierent tables (Attributes of. . . , which is
the main table, and output.dbf which is the output le going to be plotted). Both tables should have a
common column (maybe with dierent headers but with the same data structure, e.g., GEOUNIT or NUMB.
Then, the user has to click rst in the common column of output.dbf (make a click in the header of
the column) and then in the common column of Attributes of . . . (also in the header of the column). In
that way it is possible to go to Join both tables using (CTRL+J), and the theme which is currently in
the view window will contain all the information of the output results. The user can then make a click in
THEME+EDIT LEGEND and choose a Legend Type: Graduated Color and as Classication Field the column
which is going to be plotted. Then, the user can make a click in START EDITING and SAVE the EDITS AS
a new theme le which will be added to the view. Then the process can be repeated for other columns
keeping always the original theme without changes. The same methodology of plotting can be used to
plot results from ground motion.
8 Known Issues
The MADRS C-function produces a slightly dierent result compared to the corresponding m-code
for very large amplitudes. This is due to numerical issues when there is an innite gradient in the
63
D
R
A
F
T
Selena REFERENCES
Sa-Sd curve for such input les. Note that the m-le version is not necessarily more accurate than
the C-version.
On Windows platforms the MEX-les can not be aborted by pressing CTRL-C since Windows lacks
real asynchronous signals, see: http://www.mathworks.com/support/solutions/data/1-188VX.html
Therefore, when CTRL-C is pressed, using Windows, the operation is interrupted after the MEX-le
has nished.
All input (*.txt) les must end with a carrage return (CR), otherwise the stand-alone (command
line and GUI) versions of SELENA will crash.
9 Summary
T
HE herein described software tool SELENA can be used to provide damage results, economic and
human losses for the general building stock and population of a city or country on the level of
minimum geographical units (geounit or census tracts). The level of resolution of the damage and loss
predictions basically depends on the size of the geographical units which can be dened by the user. The
code has been developed such that the user can introduce most of the needed inputs using a simple text
editor independ of which computer platform that is used. The Matlab/Octave-code, the C-code, and the
ASCII input les are fully transparent allowing the user to apply own modications and adjustments.
Furthermore, it was an aim to include as many comments as possible into the code such that the user
can go through the lines and easily change them when necessary. It should be noticed that the presented
tool for seismic risk and loss assessment, SELENA, is an ongoing development and thus will undergo
a number of changes and extensions. Consequently, the authors depend on the users feedback and
suggestions which are very much appreciated.
Acknowledgments
T
HIS work has been developed thanks to the agreement between NORSAR and the University of
Alicante under the umbrella of the International Centre for Geohazards (ICG) [54]. The funding
through the SAFER [55] project and through ICG has facilitated major developments of SELENA from
its rst version in 2004.
References
[1] http://www.esri.com/software/arcview/, .
[2] Multi-hazard Loss Estimation Methodology, Technical manual. Federal Emergency Management
Agency, Washington DC, USA, 2003.
[3] R.V. Whitman, T. Anagnos, C.A. Kircher, H.J. Lagorio, R.S. Lawson, and P. Schneider. Devel-
opment of a national earthquake loss estimation methodology. Earthquake Spectra, 13(4):643661,
1997.
[4] C.A. Kircher, A.A. Nassar, O. Kustu, and W.T. Holmes. Development of building damage functions
for earthquake loss estimation. Earthquake Spectra, 13(4):663682, 1997.
[5] http://www.esri.com/software/arcgis/, .
[6] S. Molina and C.D. Lindholm. A logic tree extension of the capacity spectrum method developed to
estimate seismic risk in oslo, norway. Journal of Earthquake Engineering, 9(6):877897, 2005.
64
D
R
A
F
T
Selena REFERENCES
[7] D.H. Lang, S. Molina, and C.D. Lindholm. Towards near-real-time damage estimation using a csm-
based tool for seismic risk assessment. Journal of Earthquake Engineering, 12, 2008. Special Issue
2.
[8] 2006 international building code (ibc-2006). Technical report, International Code Council, United
States, January .
[9] Design for structures for earthquake resistance, Part 1: General rules, seismic actions and rules
for buildings. Technical report, European Committee for Standardization CEN, May 2002. prEN
1998-1:200X, Eurocode 8.
[10] D.L. Wells and K.J. Coppersmith. New empirical relationships among magnitude, rupture length,
rupture width and surface displacement. Bulletin of the Seismological Society of America, 84:974
1002, 1994.
[11] D.M. Boore, W.B. Joyner, and T.E. Fumal. Estimation of response spectra and peak accelerations
from western north american earthquakes: An interim report. Technical report, U.S. Geological
Survey, 1993. Open-File Report 93-509.
[12] D.M. Boore, W.B. Joyner, Fumal, and T.E. Estimation of response spectra and peak accelera-
tions from western north american earthquakes: An interim report. Part 2. Technical report, U.S.
Geological Survey, 1994. Open-File Report 94-127.
[13] D.M. Boore, W.B. Joyner, and T.E. Fumal. Equations for estimating horizontal response spec-
tra and peak acceleration from western north american earthquakes: A summary of recent work.
Seismological Research Letters, 68(1):128153, 1997.
[14] N.N. Ambraseys, K.A. Simpson, and J.J. Bommer. Prediction of horizontal response spectra in
europe. Earthquake Engineering and Structural Dynamics, pages 371400, 1996.
[15] G.R. Toro, N.A. Abrahamson, and J.F. Schneider. Model of strong ground motions from earthquakes
in central and eastern north america: Best estimates and uncertainties. Seismological Research
Letters, 68:4157, 1997.
[16] K.W. Campbell and Y. Bozorgnia. Near-source attenuation of peak horizontal acceleration from
worldwide accelerograms recorded from 1957 to 1993. In Proceedings of the Fifth U.S. National
Conference on Earthquake Engineering, volume III, pages 283292.
[17] K.W. Campbell. Empirical near-source attenuation relationships for horizontal and vertical compo-
nents of peak ground acceleration, peak ground velocity, and pseudo-absolute acceleration response
spectra. Seismological Research Letters, 68(1):154179, 1997.
[18] K.W. Campbell and Y. Bozorgnia. Updated near-source ground-motion (attenuation) relations for
the horizontal and vertical components of peak ground acceleration and acceleration response spectra.
Bulletin of the Seismological Society of America, pages 314331, 2003.
[19] N.A. Abrahamson and W.J. Silva. Empirical response spectral attenuation relations for shallow
crustal earthquakes. Seismological Research Letters, 68(1):94127, 1997.
[20] F. Sabetta and A. Pugliese. Estimation of response spectra and simulation of nonstationary earth-
quake ground motions. Bulletin of the Seismological Society of America, 86(2):337352, 1996.
[21] N.N. Ambraseys, J. Douglas, S.K. Sarma, and P.M. Smit. Equations for the estimation of strong
ground motions from shallow crustal earthquakes using data from europe and the middle east:
Horizontal peak ground acceleration and spectral acceleration. Bulletin of Earthquake Engineering,
3:153, 2005.
65
D
R
A
F
T
Selena REFERENCES
[22] S. Akkar and J.J. Bommer. Prediction of elastic displacement response spectra in europe and the
middle east. Earthquake Engineering and Structural Dynamics, 36(10), 2007.
[23] K. Sadigh, C.-Y. Chang, J.A. Egan, F. Makdisi, , and R.R. Youngs. Attenuation relationships for
shallow crustal earthquakes based on california strong motion data. Seismological Research Letters,
68(1):180189, 1997.
[24] P. Spudich, W.B. Joyner, A.G. Lindh, D.M. Boore, B.M. Margaris, and J.B. Fletcher. A revised
ground motion prediction relation for use in extensional tectonic regimes. Seismological Society of
America, 89(5), 1999.
[25] Style-of-faulting in ground-motion prediction equations. Bulletin of Earthquake Engineering, 1.
[26] G.M. Atkinson and D.M. Boore. Empirical ground-motion relations for subduction zone earthquakes
and their application to cascadia and other regions. Bulletin of the Seismological Society of America,
93(4):17031729, 2003.
[27] Analysis of strong ground motions to evaluate regional attenuation relationships. Annals of geo-
physics, (34):439454, 2002.
[28] J. Schwarz, C. Ende, J. Habenberger, D.H. Lang, M. Baumbach, H. Grosser, C. Milkereit, S. Karak-
isa, and S. Z unb ul. Horizontal and vertical response spectra on the basis of strong-motion recordings
from the 1999 turkey earthquakes. In Proceedings of the XXVIII General Assembly of the European
Seismological Commission (ESC), 2002.
[29] C. Ende and J. Schwarz. Einuss von analysemethoden auf spektrale abnahmebeziehungen der
bodenbewegung. Technical report, Bauhaus-Universitat Weimar, 2004. Schriften der Bauhaus-
Universitat Weimar 116: 105115.
[30] N.N. Ambraseys and J. Douglas. Reappraisal of the eect of vertical ground motions on response.
Technical report, Department of Civil and Environmental Engineering, Imperial College, London,
2000. ESEE Report 00-4.
[31] J. Douglas. A critical reappraisal of some problems in engineering seismology. PhD thesis, University
of London, 2001.
[32] N.N. Ambraseys and J. Douglas. Near-eld horizontal and vertical earthquake ground motions. Soil
Dynamics and Earthquake Engineering, 23(1):118, 2003.
[33] M.C. Chapman. On the use of elastic input energy for seismic hazard analysis. Earthquake Spectra,
15(4):607635, 1999.
[34] C.B. Crouse and J.W. McGuire. Site response studies for purpose of revising nehrp seismic provisions.
Earthquake Spectra, pages 407439.
[35] P. G ulkan and E. Kalkan. Attenuation modeling of recent earthquakes in turkey. Journal of Seis-
mology, 6(3):397409.
[36] P. Lussou, P.Y. Bard, F. Cotton, and Y. Fukushima. Seismic design regulation codes: Contribution
of k-net data to site eect evaluation. Journal of Earthquake Engineering, 5(1):1333, 2001.
[37] A. Dahle, A. Climent, W. Taylor, H. Bungum, P. Santos, C. Ciudad Real, M.and Lindholm,
W. Strauch, and F. Segura. New spectral strong motion attenuation models for central america.
In Proceedings of the Fifth International Conference on Seismic Zonation, volume II, pages 1005
1012, 1995.
[38] J.J. Bommer, D.A. Herna ndez, J.A. Navarette, and W.M. Salazar. Seismic hazard assessments for
el salvador. Geosica Internacional, 35(3):227244.
66
D
R
A
F
T
Selena REFERENCES
[39] Marmureanu G., M. Androne, M. Radulian, E. Popescu, C.O. Cioan, A.O. Placinta, I.A. Moldovan,
and V. Serban. Attenuation of the peak ground motion for the special case of vrancea intermediate-
depth earthquakes and seismic hazard assessment at npp cernavoda. Acta Geod. Geoph. Hung.,
(34):433440.
[40] M. L. Sharma, J. Douglas, H. Bungum, and J. Kotadia. Ground-motion prediction equations based
on data from the himalayan and zagros regions. Journal of Earthquake Engineering, 13(8):11911210,
November 2009.
[41] Indian standardcriteria for earthquake resistant design of structures, part 1general provisions
and buildings. Technical report, Bureau of Indian Standards (BIS), 2002. ICS 91.120.25.
[42] W.B. Joyner and D.M. Boore. Measurement characterization and prediction of strong ground motion.
In Proc. of Earthquake Engineering and Soil Dynamics II, pages 43102, Park City, Utah, June 1988.
New York: Geotechnical Division of the American Society of Civil Engineers.
[43] Nehrp recommended provisions for seismic regulations for new buildings. Technical report, Federal
Emergency Management Agency (FEMA), Washington DC, 1997. FEMA 222A.
[44] Specication for structures to be built in disaster areas. Part III Earthquake disaster prevention
(chapter 513). Technical report, Turkish Ministry of Public Works and Settlement (TMPS), 1998.
[45] Seismic evaluation and retrot of concrete buildings. Technical report, Applied Technology Council
(ATC), Redwood City, California, 1996. Report ATC-40.
[46] Nehrp guidelines for the seismic rehabilitation of buildings. Technical report, Federal Emergency
Management Agency (FEMA), Washington DC, October 1997. FEMA 273.
[47] Prestandard and commentary for the seismic rehabilitation of buildings. Technical report, Federal
Emergency Management Agency (FEMA), Washington DC, 2000. FEMA 356.
[48] Improvement of nonlinear static seismic analysis procedures. Technical report, Applied Technology
Council (ATC, California, USA, 2005. FEMA-440.
[49] N.M. Newmark and W.J. Hall. Earthquake spectra and design. Technical report, Earthquake
Engineering Research Institute (EERI), Oakland, CA: EERI, 1982.
[50] Earthquake Loss Estimation Methodology: Users Manual. Federal Emergency Management Agency,
Washington DC, USA.
[51] Earthquake damage evaluation data for california. Technical report, Applied Technology Council
(ATC), Redwood City, California, 1985. Report ATC-13.
[52] A. Coburn and R. Spence. Earthquake Protection. J. Wiley and Sons Ltd, 2002.
[53] P. Stojanovski and W. Dong. Simulation model for earthquake casualty estimation. In Proc. Fifth
U.S. National Conference on Earthquake Engineering, Paper No. 00592, Chicago, Illinois, July 10
14, 1994.
[54] http://www.geohazards.no/.
[55] http://www.saferproject.net/.
67
D
R
A
F
T
Selena A TABLES
A Tables
Author(s) (year)
Index
mean value (mv) mv+ mv
Boore et al. [11], Boore et al. [12],
Boore et al. [13] 01 02 03
Ambraseys et al. [14] 04 05 06
Toro et al. [15] 07 08 09
Campbell and Bozorgnia [16], Campbell [17] 10 11 12
Campbell and Bozorgnia [18] 13 14 15
Abrahamson and Silva [19] 16 17 18
Sabetta and Pugliese [20] 19 20 21
Ambraseys et al. [21] 22 23 24
Akkar and Bommer [22] 25 26 27
Sadigh et al. [23]* 28 29 30
zbey et al. (2003) 31 32 33
Spudich et al. [24] 34 35 36
Bommer et al. [25] 37 38 39
Atkinson and Boore [26] 40 41 42
Zonno and Montaldo [27] 43 44 45
Schwarz et al. [28], Ende and Schwarz [29] 46 47 48
Ambraseys and Douglas [30], Douglas [31],
Ambraseys and Douglas [32] 49 50 51
Chapman [33] 52 53 54
Crouse and McGuireciteCrouse1996 55 56 57
G ulkan and Kalkan [35] 58 59 60
Lussou et al. [36] 61 62 63
Dahle et al. [37] 64 65 66
Bommer et al. [38] 67 68 69
Marmureanu et al.; *
for hypocentral distance, Eq. (17) in [39] 77 78 79
Marmureanu et al.; *
for epicentral distance, Eq. (3) in [39] 80 81 82
Table 19: Empirical ground-motion prediction equations which are implemented in the current SELENA-
version. *Note: prediction equations for spectral accelerations, Sa, are not provided.
68
D
R
A
F
T
Selena A TABLES
No. Label Description Height
range typical
name stories stories ft.
1 W1 Wood, Light Frame ( 5,000 sq.ft. / 465 m
2
) all 1 14
2 W2 Wood, Commercial and Industrial (> 5,000 sq.ft. / 465 m
2
) all 2 24
3 S1L Steel Moment Frame Low-Rise 13 2 24
4 S1M Mid-Rise 4-7 5 60
5 S1H High-Rise 8+ 13 156
6 S2L Steel Braced Frame Low-Rise 1-3 2 24
7 S2M Mid-Rise 47 5 60
8 S2H High-Rise 8+ 13 156
9 S3 Steel Light Frame all 1 15
10 S4L Steel Frame with Cast-in-Place Concrete Shear Walls Low-Rise 1-3 2 24
11 S4M Mid-Rise 4-7 5 60
12 S4H High-Rise 8+ 13 156
13 S5L Steel Frame with Unreinforced Masonry Inll Walls Low-Rise 1-3 2 24
14 S5M Mid-Rise 4-7 5 60
15 S5H High-Rise 8+ 13 156
16 C1L Concrete Moment Frame Low-Rise 1-3 2 20
17 C1M Mid-Rise 47 5 50
18 C1H High-Rise 8+ 12 120
19 C2L Concrete Shear Walls Low-Rise 1-3 2 20
20 C2M Mid-Rise 47 5 60
21 C2H High-Rise 8+ 12 120
22 C3L Concrete Frame with Unreinforced
Masonry Inll Walls Low-Rise 1-3 2 20
23 C3M Mid-Rise 47 5 50
24 C3H High-Rise 8+ 12 120
25 PC1 Pre-cast Concrete Tilt-Up Walls all 1 15
26 PC2L Pre-cast Concrete Frames
with Concrete Shear Walls Low-Rise 1-3 2 20
27 PC2M Mid-Rise 47 5 50
28 PC2H High-Rise 8+ 12 120
29 RM1L Reinforced Masonry Bearing Walls
with Wood or Metal Deck Diaphragms Low-Rise 1-3 2 20
30 RM1M Mid-Rise 4+ 5 50
31 RM2L Reinforced Masonry Bearing Walls
with Pre-cast Concrete Diaphragms Low-Rise 1-3 2 20
32 RM2M Mid-Rise 47 5 50
33 RM2H High-Rise 8+ 12 120
34 URML Unreinforced Masonry Bearing Walls Low-Rise 12 1 15
35 URMM Mid-Rise 3+ 3 39
36 MH Mobile Homes all 1 12
Table 20: Model building types as dened by HAZUS.
69
D
R
A
F
T
Selena A TABLES
No. Label Occupancy class Description
Residential:
1 RES1 single family dwelling detached house
2 RES2 mobile home mobile home
3 RES3 multi family dwelling apartment/condominium
4 RES4 temporary lodging hotel/motel
5 RES5 institutional dormitory group housing (military, college), jails
6 RES6 nursing home
Commercial:
7 COM1 retail trade store
8 COM2 wholesale trade warehouse
9 COM3 personal and repair service service station/shop
10 COM4 professional/technical services oces
11 COM5 banks/nancial institutions
12 COM6 hospital
13 COM7 medical oce/clinics oce
14 COM8 entertainment and recreation restaurants/bars
15 COM9 theatres theatres
16 COM10 parking garage
Industrial:
17 IND1 heavy factory
18 IND2 light factory
19 IND4 food/drug/chemicals factory
20 IND3 metals/mineral processing factory
21 IND5 high technology factory
22 IND6 construction oce
Agriculture:
23 AGR agriculture
Religion/Non-Prot:
24 REL church
Government:
25 GOV1 general services oce
26 GOV2 emergency response police/re station
Education:
27 EDU1 schools/libraries
28 EDU2 universities/colleges does not include group housing
Table 21: Occupancy types as dened in HAZUS.
70
D
R
A
F
T
Selena A TABLES
mbt
dy (ord.) [m] ay (ord.) du (ord.) au (ord.) de (ord.) k k k
be fraction pre-code
[m] [m/s
2
] [m] [m/s
2
] [m] (ord/sh) (ord/md) ord(lg)
1 0.0061 1.9620 0.1097 5.8860 0.0043 0.5 0.3 0.1 15 0 W1
2 0.0041 0.9810 0.0597 2.4525 0.0028 0.4 0.2 0 10 0 W2
3 0.0038 0.6082 0.0699 1.8345 0.0027 0.4 0.2 0 5 0 S1L
4 0.0112 0.3826 0.1354 1.1478 0.0078 0.4 0.2 0 5 0 S1M
5 0.0295 0.2354 0.2662 0.7161 0.0206 0.4 0.2 0 5 0 S1H
6 0.0041 0.9810 0.0478 1.9620 0.0028 0.4 0.2 0 5 0 S2L
7 0.0155 0.8142 0.1232 1.6383 0.0108 0.4 0.2 0 5 0 S2M
8 0.0493 0.6180 0.2951 1.2459 0.0345 0.4 0.2 0 5 0 S2H
9 0.0041 0.9810 0.0478 1.9620 0.0028 0.4 0.2 0 7 0 S3
10 0.0025 0.7848 0.0330 1.7658 0.0018 0.4 0.2 0 7 0 S4L
11 0.0069 0.6573 0.0625 1.4715 0.0048 0.4 0.2 0 7 0 S4M
12 0.0221 0.5003 0.1494 1.1183 0.0155 0.4 0.2 0 7 0 S4H
13 0.0030 0.9810 0.0305 1.9620 0.0021 0.4 0.2 0 10 0 S5L
14 0.0086 0.8142 0.0577 1.6383 0.0060 0.4 0.2 0 10 0 S5M
15 0.0277 0.6180 0.1384 1.2459 0.0194 0.4 0.2 0 10 0 S5H
16 0.0025 0.6082 0.0447 1.8345 0.0018 0.4 0.2 0 7 0 C1L
17 0.0074 0.5101 0.0879 1.5304 0.0052 0.4 0.2 0 7 0 C1M
18 0.0127 0.2354 0.1148 0.7161 0.0089 0.4 0.2 0 7 0 C1H
19 0.0030 0.9810 0.0457 2.4525 0.0021 0.4 0.2 0 7 0 C2L
20 0.0066 0.8142 0.0660 2.0405 0.0046 0.4 0.2 0 7 0 C2M
21 0.0188 0.6180 0.1400 1.5598 0.0132 0.4 0.2 0 7 0 C2H
22 0.0030 0.9810 0.0343 2.2073 0.0021 0.4 0.2 0 10 0 C3L
23 0.0066 0.8142 0.0495 1.8443 0.0046 0.4 0.2 0 10 0 C3M
24 0.0188 0.6180 0.1049 1.4028 0.0132 0.4 0.2 0 10 0 C3H
25 0.0046 1.4715 0.0549 2.9430 0.0032 0.4 0.2 0 7 0 PC1
26 0.0030 0.9810 0.0366 1.9620 0.0021 0.4 0.2 0 7 0 PC2L
27 0.0066 0.8142 0.0528 1.6383 0.0046 0.4 0.2 0 7 0 PC2M
28 0.0188 0.6180 0.1120 1.2459 0.0132 0.4 0.2 0 7 0 PC2H
29 0.0041 1.3047 0.0488 2.6193 0.0028 0.4 0.2 0 10 0 RM1L
30 0.0089 1.0889 0.0704 2.1778 0.0062 0.4 0.2 0 10 0 RM1M
31 0.0041 1.3047 0.0488 2.6193 0.0028 0.4 0.2 0 7 0 RM2L
32 0.0089 1.0889 0.0704 2.1778 0.0062 0.4 0.2 0 7 0 RM2M
33 0.0249 0.8339 0.1494 1.6579 0.0174 0.4 0.2 0 7 0 RM2H
34 0.0061 1.9620 0.0610 3.9240 0.0043 0.4 0.2 0 10 0 URML
35 0.0069 1.0889 0.0460 2.1778 0.0048 0.4 0.2 0 10 0 URMM
36 0.0046 1.4715 0.0549 2.9430 0.0032 0.6 0.3 0.1 5 0 MH
Table 22: Parameters of capacity curves as provided by HAZUS for Pre-code seismic design.
71
D
R
A
F
T
Selena A TABLES
mbt
dy (ord.) [m] ay (ord.) du (ord.) au (ord.) de (ord.) k k k
be fraction low-code
[m] [m/s
2
] [m] [m/s
2
] [m] (ord/sh) (ord/md) ord(lg)
1 0.0061 1.9620 0.1097 5.8860 0.0043 0.7 0.4 0.2 15 0 W1
2 0.0041 0.9810 0.0597 2.4525 0.0028 0.6 0.3 0.1 10 0 W2
3 0.0038 0.5886 0.0582 1.8639 0.0027 0.6 0.3 0.1 5 0 S1L
4 0.0112 0.3924 0.1128 1.1772 0.0078 0.6 0.3 0.1 5 0 S1M
5 0.0295 0.1962 0.2217 0.6867 0.0206 0.6 0.3 0.1 5 0 S1H
6 0.0041 0.9810 0.0399 1.9620 0.0028 0.5 0.3 0.1 5 0 S2L
7 0.0155 0.7848 0.1026 1.6677 0.0108 0.5 0.3 0.1 5 0 S2M
8 0.0493 0.5886 0.2459 1.2753 0.0345 0.5 0.3 0.1 5 0 S2H
9 0.0041 0.9810 0.0399 1.9620 0.0028 0.5 0.3 0.1 7 0 S3
10 0.0025 0.7848 0.0274 1.7658 0.0018 0.5 0.3 0.1 7 0 S4L
11 0.0069 0.6867 0.0521 1.4715 0.0048 0.5 0.3 0.1 7 0 S4M
12 0.0221 0.4905 0.1245 1.0791 0.0155 0.5 0.3 0.1 7 0 S4H
13 0.0030 0.9810 0.0305 1.9620 0.0021 0.5 0.3 0.1 10 0 S5L
14 0.0086 0.7848 0.0577 1.6677 0.0060 0.5 0.3 0.1 10 0 S5M
15 0.0277 0.5886 0.1384 1.2753 0.0194 0.5 0.3 0.1 10 0 S5H
16 0.0025 0.5886 0.0373 1.8639 0.0018 0.6 0.3 0.1 7 0 C1L
17 0.0074 0.4905 0.0732 1.5696 0.0052 0.6 0.3 0.1 7 0 C1M
18 0.0127 0.1962 0.0958 0.6867 0.0089 0.6 0.3 0.1 7 0 C1H
19 0.0030 0.9810 0.0381 2.4525 0.0021 0.6 0.3 0.1 7 0 C2L
20 0.0066 0.7848 0.0549 2.0601 0.0046 0.6 0.3 0.1 7 0 C2M
21 0.0185 0.5886 0.1166 1.5696 0.0130 0.6 0.3 0.1 7 0 C2H
22 0.0030 0.9810 0.0343 2.2563 0.0021 0.5 0.3 0.1 10 0 C3L
23 0.0066 0.7848 0.0495 1.8639 0.0046 0.5 0.3 0.1 10 0 C3M
24 0.0185 0.5886 0.1049 1.3734 0.0130 0.5 0.3 0.1 10 0 C3H
25 0.0046 1.4715 0.0457 2.9430 0.0032 0.5 0.3 0.1 7 0 PC1
26 0.0030 0.9810 0.0305 1.9620 0.0021 0.5 0.3 0.1 7 0 PC2L
27 0.0066 0.7848 0.0439 1.6677 0.0046 0.5 0.3 0.1 7 0 PC2M
28 0.0185 0.5886 0.0932 1.2753 0.0130 0.5 0.3 0.1 7 0 PC2H
29 0.0041 1.2753 0.0406 2.6487 0.0028 0.6 0.3 0.1 10 0 RM1L
30 0.0089 1.0791 0.0587 2.1582 0.0062 0.6 0.3 0.1 10 0 RM1M
31 0.0041 1.2753 0.0406 2.6487 0.0028 0.6 0.3 0.1 7 0 RM2L
32 0.0089 1.0791 0.0587 2.1582 0.0062 0.6 0.3 0.1 7 0 RM2M
33 0.0249 0.8829 0.1245 1.6677 0.0174 0.6 0.3 0.1 7 0 RM2H
34 0.0061 1.9620 0.0610 3.9240 0.0043 0.5 0.3 0.1 10 0 URML
35 0.0069 1.0791 0.0460 2.1582 0.0048 0.5 0.3 0.1 10 0 URMM
36 0.0046 1.4715 0.0549 2.9430 0.0032 0.6 0.4 0.2 5 0 MH
Table 23: Parameters of capacity curves as provided by HAZUS for Low-code seismic design.
72
D
R
A
F
T
Selena A TABLES
mbt
dy (ord.) [m] ay (ord.) du (ord.) au (ord.) de (ord.) k k k
be fraction mod-code
[m] [m/s
2
] [m] [m/s
2
] [m] (ord/sh) (ord/md) ord(lg)
1 0.0091 2.9430 0.1643 8.8290 0.0064 0.9 0.6 0.3 15 0 W1
2 0.0079 1.9620 0.1194 4.9050 0.0055 0.8 0.4 0.2 10 0 W2
3 0.0079 1.1772 0.1397 3.7278 0.0055 0.8 0.4 0.2 5 0 S1L
4 0.0226 0.7848 0.2705 2.2563 0.0158 0.8 0.4 0.2 5 0 S1M
5 0.0592 0.4905 0.5324 1.4715 0.0414 0.8 0.4 0.2 5 0 S1H
6 0.0079 1.9620 0.0955 3.9240 0.0055 0.6 0.4 0.2 5 0 S2L
7 0.0307 1.6677 0.2464 3.2373 0.0215 0.6 0.4 0.2 5 0 S2M
8 0.0983 1.2753 0.5903 2.4525 0.0688 0.6 0.4 0.2 5 0 S2H
9 0.0079 1.9620 0.0955 3.9240 0.0055 0.6 0.4 0.2 7 0 S3
10 0.0048 1.5696 0.0658 3.5316 0.0034 0.6 0.4 0.2 7 0 S4L
11 0.0140 1.2753 0.1247 2.9430 0.0098 0.6 0.4 0.2 7 0 S4M
12 0.0442 0.9810 0.2987 2.2563 0.0309 0.6 0.4 0.2 7 0 S4H
13 S5L
14 S5M
15 S5H
16 0.0051 1.1772 0.0894 3.7278 0.0036 0.8 0.4 0.2 7 0 C1L
17 0.0147 0.9810 0.1755 3.0411 0.0103 0.8 0.4 0.2 7 0 C1M
18 0.0254 0.4905 0.2299 1.4715 0.0178 0.8 0.4 0.2 7 0 C1H
19 0.0061 1.9620 0.0914 4.9050 0.0043 0.8 0.4 0.2 7 0 C2L
20 0.0132 1.6677 0.1318 4.1202 0.0092 0.8 0.4 0.2 7 0 C2M
21 0.0373 1.2753 0.2799 3.1392 0.0261 0.8 0.4 0.2 7 0 C2H
22 C3L
23 C3M
24 C3H
25 0.0091 2.9430 0.1097 5.8860 0.0064 0.6 0.4 0.2 7 0 PC1
26 0.0061 1.9620 0.0732 3.9240 0.0043 0.6 0.4 0.2 7 0 PC2L
27 0.0132 1.6677 0.1054 3.2373 0.0092 0.6 0.4 0.2 7 0 PC2M
28 0.0373 1.2753 0.2240 2.4525 0.0261 0.6 0.4 0.2 7 0 PC2H
29 0.0081 2.6487 0.0975 5.1993 0.0057 0.8 0.4 0.2 10 0 RM1L
30 0.0175 2.1582 0.1407 4.3164 0.0123 0.8 0.4 0.2 10 0 RM1M
31 0.0081 2.6487 0.0975 5.1993 0.0057 0.8 0.4 0.2 7 0 RM2L
32 0.0175 2.1582 0.1407 4.3164 0.0123 0.8 0.4 0.2 7 0 RM2M
33 0.0498 1.6677 0.2987 3.3354 0.0348 0.8 0.4 0.2 7 0 RM2H
34 URML
35 URMM
36 0.0046 1.4715 0.0549 2.9430 0.0032 0.6 0.4 0.2 5 0 MH
Table 24: Parameters of capacity curves as provided by HAZUS for Moderate-code seismic design.
73
D
R
A
F
T
Selena B COMPILING THE C-CODE
mbt
dy (ord.) [m] ay (ord.) du (ord.) au (ord.) de (ord.) k k k
be fraction high-code
[m] [m/s
2
] [m] [m/s
2
] [m] (ord/sh) (ord/md) ord(lg)
1 0.0122 3.9240 0.2924 11.7720 0.0085 1 0.8 0.5 15 0 W1
2 0.0160 3.9240 0.3183 9.8100 0.0112 0.9 0.6 0.4 10 0 W2
3 0.0155 2.4525 0.3726 7.3575 0.0108 0.9 0.6 0.4 5 0 S1L
4 0.0450 1.5696 0.7214 4.6107 0.0315 0.9 0.6 0.4 5 0 S1M
5 0.1184 0.9810 1.4194 2.8449 0.0829 0.9 0.6 0.4 5 0 S1H
6 0.0160 3.9240 0.2545 7.8480 0.0112 0.7 0.5 0.3 5 0 S2L
7 0.0617 3.2373 0.6574 6.5727 0.0432 0.7 0.5 0.3 5 0 S2M
8 0.1969 2.4525 1.5740 5.0031 0.1378 0.7 0.5 0.3 5 0 S2H
9 0.0160 3.9240 0.2545 7.8480 0.0112 0.7 0.5 0.3 7 0 S3
10 0.0097 3.1392 0.1755 7.0632 0.0068 0.7 0.5 0.3 7 0 S4L
11 0.0277 2.6487 0.3327 5.8860 0.0194 0.7 0.5 0.3 7 0 S4M
12 0.0886 1.9620 0.7968 4.5126 0.0621 0.7 0.5 0.3 7 0 S4H
13 S5L
14 S5M
15 S5H
16 0.0099 2.4525 0.2385 7.3575 0.0069 0.9 0.6 0.4 7 0 C1L
17 0.0292 2.0601 0.4684 6.0822 0.0204 0.9 0.6 0.4 7 0 C1M
18 0.0511 0.9810 0.6129 2.8449 0.0357 0.9 0.6 0.4 7 0 C1H
19 0.0122 3.9240 0.2436 9.8100 0.0085 0.9 0.6 0.4 7 0 C2L
20 0.0264 3.2373 0.3515 8.1423 0.0185 0.9 0.6 0.4 7 0 C2M
21 0.0747 2.4525 0.7465 6.2784 0.0523 0.9 0.6 0.4 7 0 C2H
22 C3L
23 C3M
24 C3H
25 0.0183 5.8860 0.2924 11.7720 0.0128 0.7 0.5 0.3 7 0 PC1
26 0.0122 3.9240 0.1948 7.8480 0.0085 0.7 0.5 0.3 7 0 PC2L
27 0.0264 3.2373 0.2812 6.5727 0.0185 0.7 0.5 0.3 7 0 PC2M
28 0.0747 2.4525 0.5974 5.0031 0.0523 0.7 0.5 0.3 7 0 PC2H
29 0.0163 5.1993 0.2598 10.4967 0.0114 0.9 0.6 0.4 10 0 RM1L
30 0.0351 4.3164 0.3749 8.7309 0.0245 0.9 0.6 0.4 10 0 RM1M
31 0.0163 5.1993 0.2598 10.4967 0.0114 0.9 0.6 0.4 7 0 RM2L
32 0.0351 4.3164 0.3749 8.7309 0.0245 0.9 0.6 0.4 7 0 RM2M
33 0.0996 3.3354 0.7963 6.6708 0.0697 0.9 0.6 0.4 7 0 RM2H
34 URML
35 URMM
36 0.0046 1.4715 0.0549 2.9430 0.0032 0.6 0.4 0.2 5 0 MH
Table 25: Parameters of capacity curves as provided by HAZUS for Moderate-code seismic design.
B Compiling the C-code
T
HIS section describes how to build SELENA from the C/C++ source code and which tools that are
needed for the dierent platforms. First download the source code for SELELA. The source code can
be found in the download section on the SELENA/RISe web page at: http://selena.sourceforge.net
If you want to compile the development code from the SVN repository you rst need to install a
subversion (svn) client. On windows one can, for example, use TortoiseSVN which integrates into the
Windows le browser, or a command line client from here http://www.sliksvn.com/en/download. On
Linux there exist several GUI based front ends to svn like, for example, KDESvn, RapidSVN or eSvn.
One can also use the command line client. To download the development code one need to do a svn
checkout. First create a folder for the SELENA code, say selena sourceforge and go to that folder.
Then, using the command line client, type
$ svn checkout https://selena.svn.sourceforge.net/svnroot/selena/selana/trunk
at the shell command line. This will download all the C# source code, user manual les etc. If you are
using a GUI client then choose the checkout menu/button in the particular GUI client that you are using.
74
D
R
A
F
T
Selena B COMPILING THE C-CODE
For example, if you are using TortoiseSVN on Windows then right-click on the selena sourceforge folder
that you just created, select the SVN Checkout menu item, and add the path
https://selena.svn.sourceforge.net/svnroot/selena/selena/trunk
in the URL or Repository line. Then click on the OK-button and the les should start downloading.
The C/C++ source code can be found in the trunk/src folder.
B.1 Tools and Libraries for Windows
1. Install the GNU Scientic Library (GSL): Binary packages for GSL can be found here:
http://gnuwin32.sourceforge.net/packages/gsl.htm but you can also nd these les in the
dll folder.
2. Copy the libgsl.dll and libgslcblas.dll les to C:\WINDOWS\System32\
3. Install a compiler and mex-tools:
The mex-les, oct-les, and the stand-alone binaries should build with most standard C-compilers
such MSVC or MinGW. Here we only describe building with MinGW [but there is an untested
build mexfiles win.m script which should (may) work with MSVC].
4. Install the MinGW compiler that comes with Qt, from: http://qt.nokia.com/products (recom-
mended), or get directly from: http://www.mingw.org. Set the path to the build tools (mingw32-make.exe,
mingw32-gcc.exe etc.) by right-clicking on My Computer and edit (append) Advanced >Enviroment
Variables >Path variable. For example, add C:\Qt\2010.04\mingw\bin. Avoid Program
Files or any folder with a space (blank) in the folder name.
5. Install the GNUmex tools from: http://gnumex.sourceforge.net and run the setup script (follow
the instructions on the GNUmex website).
B.2 Building the Stand-alone Application on Linux/Unix
Here we assume that the gcc tools are installed on the system. To build the SELENA application just
cd to the src folder and type make which will build the binary selena. It is recommended that you put
the selena binary in a directory which is in your PATH varaiable, such as, /usr/local/bin/, otherwise,
you have to use the full path to the binary to run it.
B.3 Building the Stand-alone Application on Windows
Given that you have installed the MinGW tools (described in Section B.1) you can build the Windows
stand-alone binary by cd to the src folder and type mingw32-make -f Makefile mingw32 clean all
(in a cmd window) which will create the le selena.exe
B.4 Building the Stand-alone GUI Application on Linux/Unix
The SELENA GUI is using the QT toolkit which must be installed to build the selena gui application.
1. First you need to install the QT toolkit from http://qt.nokia.com/products for your platform
or use your particular Linux distributions package manager (emerge, yast etc.).
2. Run qmake (in the src/gui folder).
75
D
R
A
F
T
Selena B COMPILING THE C-CODE
3. Run make
The executable is named selena gui. You can clean everything with make clean (make distclean
which removes the Makele and binaries as well).
B.5 Building the Stand-alone GUI Application on Windows
Building the stand-alone SELENA GUI is similar in Windows and Linux (UNIX).
1. First you need to install the QT toolkit from http://qt.nokia.com/products for your platform.
On Windows you also need to add the path to the QT tools (qmake etc) and the MinGW compiler
that comes with QT to the Windows PATH (right-click on My Computer > Advanced > env.
variables. Typically you append something like:
;C:\Qt\2010.04\mingw\bin;C:\Qt\2010.04\qt\bin
to the PATH variable.
2. Run qmake (in the src/gui folder).
3. Run mingw32-make
You can also run the bat-le make gui.bat to build the gui.
The executable is named selena gui.exe. You can clean everything with mingw32-make clean
(mingw32-make distclean which removes the Makele and binaries as well).
B.6 Building the Linux/Unix mex-les
1. Open the Make.inc le and check that the paths to Matlab ts your installation.
2. Go ro the src folder:
#cd src
3. Build the mex-les:
# make -f Makefile_matlab clean all install
The mex-les will be installed in the m files folder. Note you can edit the Make.inc le to ne-tune
the build for your particular hardware (set CFLAGS etc.).
Alternatively you can also use the build mexfiles.m script to build and install the mex-les (just
run the script in Matlab in the main SELENA folder).
B.6.1 Building the Windows mex-les
1. First look (open in a text editor) at the mexopt.bat le which the setup script generates. SELENA
has two mexopt-les in the mexopt folder which may need to be edited to t the your installation.
That is, you need to set the paths to Matlab, GNUmex tools, and GSL in the two les:
mexopts/mexopts_mingw.bat.inc
mexopts/mexopts_gsl_mingw.bat.inc
76
D
R
A
F
T
Selena B COMPILING THE C-CODE
Copy (or rename) these les to mexopts mingw.bat and mexopts gsl mingw.bat, respectively.
Then edit the paths in these les to t your installation (eg., set compiler and Matlab paths).
2. Start Matlab
3. Run the build script:
>> build_mexfiles_mingw
This should build the following les:
att_sub.mexw32 gsl_interpolate.mexw32 meanest.mexw32 tree.mexw32
csm.mexw32 humanloss.mexw32 normcdf.mexw32 treeloss.mexw32
curveintersect.mexw32 humanlosshz.mexw32 numdam.mexw32 treemdr.mexw32
damagep.mexw32 imp_dcm.mexw32 spectralshape.mexw32
gmotion.mexw32 losssqm.mexw32 squaredam.mexw32
gmotionp.mexw32 madrs.mexw32 tinv.mexw32
and install them in the m files folder.
B.7 Building the oct-Files
1. Start Octave
2. Run the build script
octave:1> build_oct_files
This should build the following les:
att_sub.oct gmotion.oct imp_dcm.oct tree.oct
csm.oct gsl_interpolate.oct madrs.oct treemdr.oct
curveintersect.oct humanloss.oct spectralshape.oct
damagep.oct humanlosshz.oct squaredam.oct
and install them in the m files folder.
Alternatively (on Linux), one can build the oct-les with:
# make -f Makefile_octave clean all install
77

You might also like