README for scripts and data associated with illustration of decision framework for multi-hazard resilient, sustainable buildings
2019-12-09, created by Madeleine Flint as part of the VT-RSB project, funded by NSF CMMI #1455466. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.
This repository contains scripts and data related to an illustration of the use of a modular decision framework to support early design of a hypothetical mid-rise office building located in Charleston, SC. The scripts and data can be used to reproduce data and plots associated with a companion journal manuscript "A decision framework for early design of multi-hazard resilient sustainable buildings," submitted to Engineering Structures on Dec. 2, 2019. It is noted that some text included in this README is derived from an early manuscript draft. This repository should be cited as:
Flint, Madeleine M, Mohsen Zaker Esteghamati, and Yasaman Shahtaheri (2019) "Scripts and data associated with illlustration of decision framework for multi-hazard resilient, sustainable buildings", DesignSafe-CI.
A DOI will be provided by the NHERI Design Safe CyberInfrastructure upon publication.
- Motivation and Overview
- Illustration Details
- Technologies
- How to Use
- Repository Contents
- Credits and Sources
- License
Achieving holistic resilient and sustainable building design requires that hazards be considered in the context of the full building life-cycle. Current design methods adequately address individual issues related to resilient and sustainable building design but cannot account for the complexities and interconnectedness of hazards and operation. A proposed decision framework integrates previous research in performance-based assessment to identify optimal building Soil, Foundation, Lateral structural, and Envelope (SFLE) systems during early design.
Three modules assess resilience and sustainability over a broad set of SFLE systems:
- (M1) site-appropriate SFLE system generation
- (M2) probabilistic life cycle performance assessment
- (M3) multi-objective reliability-based ranking and optimization of candidate systems.
These modules are envisioned generically and can be adapted for different building types, hazards, and performance metrics. Initial development efforts focus on mid-rise commercial buildings exposed to earthquake hazard and assessed for safety, cost, and energy. An illustration explores design of a hypothetical office building in Charleston, South Carolina.
Mid-rise commercial buildings were selected as the case study for decision framework development. These buildings tend to be designed by integrated project teams, exhibit low regional variability, account for a significant portion of commercial building energy consumption, and are centers of economic and governmental functions. The illustration identifies an optimal SFLE system for a hypothetical four-story office building is located in Charleston, South Carolina, USA (32.7221, -79.9341). The building is on a 30x30ft grid, with 6 bays in the longitudinal and 3 bays in the transverse direction, for a total of 64,800 square feet of floor area. The climate is Zone 3A (Warm-Humid) and energy use is cooling-dominated. The building is exposed to high seismic hazard (SDS = 0.75g with site class B/C boundary) with a design life of 50 years.
Definition of the building and eligible SFLE subsystems uses pre-existing taxonomies.
In the illustration, from a set of 2 soil modifications, 3 foundation subsystems, 11 lateral structural subsystems, and 32 envelope subsystems applicable to mid-rise commercial buildings from a multi-hazard performance data repository, the hypothetical developers were assumed to have excluded soil reinforcement and masonry or wood lateral systems. Mat foundation and a curtain wall envelope subsystems were pre-defined as the only eligible alternatives.
Selection of TBL decision metrics that fully describe SFLE system sustainability and resilience; framework development has included life-cycle and initial cost, initial cost, time-integrated loss of function, downtime, CO2, and operational and embodied energy.
The illustration selected 7 metrics modeled as random variables with pre-determined probabilistic distributions.
- Drift at the Design Basis Event (DBE) earthquake spectral acceleration at the structure's first mode period (Sa), lognormally distributed with ln(median) and dispersion.
- Drift at Maximum Considered Event (MCE) earthquake Sa, lognormally distributed with ln(median) and dispersion.
- Collapse drift limit used to compute probability of collapse at MCE Sa, lognormally distributed with log(median) and dispersion.
- Initial cost, normally distributed with mean and coefficient of variation (CV).
- Life-cycle cost (LCC), normally distributed with mean and standard deviation; a function of initial cost, maintenance, earthquake losses, and operation energy.
- Embodied energy, normally distributed with mean and CV.
- Operational energy, normally distributed with mean and CV.
Definition of a performance range uses targeted literature review and expert elicitation to identify the “best” and “worst” performing (yet code-compliant) systems, which must cover a wide range of hazard performance and energy efficiency.
The illustration performance range definition implicitly assumed that the developer would accept a code-minimum building costing 9M USD. The lateral subsystem seismic performance is later characterized as 1.5x and 2x code minimum, whereas the envelope subsystem performance is defined over a range of window-wall ratio from 40% to 22%.
In the SIMPLE-Design framework, assessment of preferences and indifference curve development evaluates decision-maker utilities with respect to conflicting decision criteria within the performance range. After identifying a preferred alternative, the decision-maker generates equal-utility configurations, allowing regression to create an indifference curve representing bi-criteria tradeoffs.
The illustration's indifference curves and preference systems were directly generated assuming the archetypal/hypothetical values of three stakeholder groups: developer, potential owner, and potential occupant/community. While the developer desires low initial costs (maximum profit), low liability (code compliant-safety), and sustainability (future marketing potential), the owner is concerned with life-cycle costs and operational energy. The occupants/community are concerned with environmental performance AIA2030+ and enhanced seismic performance REDi TM. Constraints (building code safety regulations and initial cost) are combined with safety, cost, and energy tradeoffs.
Ten limit state functions represented the constraints and preferences of the three stakeholder groups. The developer’s drift-related constraints were augmented by the probability of collapse at MCE (<0.10), initial cost (<9.0M USD), and tradeoffs between life cycle cost and embodied or operational energy. The future owners’ interest in reducing the risk of total loss (collapse) or life-cycle expense was captured through tradeoffs with initial costs. Occupant desire for business continuity and “green” building was expressed as tradeoffs between strict limits for transient drift (0.5% at DBE and 1% at MCE) and operational energy use (70% and 90% below US median for office building energy use intensity).
The combination of the limit states was created using a generalized system. In addition to the limit states explicit in building design codes (1 and 3) and low initial cost (4), either developer cost-energy tradeoffs (5, 6), or either owner tradeoff (7, 8) was required to be satisfied. This system results in 4 "cut sets": C = {CI = {1}, CII = {3}, CIII = {4}, CIV = {5,6,7,8}}.
Given a building taxonomy, user-determined eligible SFLE subsystems, and decision constraints or preferences, M1 generates a set of feasible alternative SFLE system configurations through two divergent phases and one convergent phase: (1) SFLE subsystem combinatorial expansion to the initial option space; (2) SFLE compatibility checks to develop the reduced non-infeasible set; and (3) parameterization to cover a range of performance. Optionally, (4) preliminary performance data may be passed to M3 to identify a higher-performing set of feasible candidate systems.
In the illustration, non-infeasible subsystems consistent with the decision framing (M0.1) were: S = {s1 = "soil densification"}, F = {f3 = "mat foundation"}, a set of 9 options for the lateral system in L, and E = {e9 = "curtain; ventilated cavity; masonry rain screen and backup wall"}.
Performance data from multi-hazard performance data repository was pulled and used to assess the structural (safety) performance of non-infeasible lateral systems. The drift is modeled as lognormally distributed (median and dispersion) for the maximum transient interstory drift ratio (IDR) at design basis event (DBE) and maximum considered event (MCE) earthquake spectral accelerations (where Sa is taken at the first mode elastic period of the structure). For each system, M1 computes the probability of the IDR exceeding the limit states of 0.01 for DBE and 0.07 for MCE events. These targets were set to prioritize high-performing systems (the DBE limit) while making sure that possibly high-performing systems were not excluded (the MCE limit). M1 then ranks the lateral alternatives assuming a series system reliability formulation with no correlation and full correlation between limit states.
Only 6 of 11 lateral systems were available from the repsitory data. Of these, the M1 results indicated that the following lateral subsystems should be considered in the M2 assessment: L = {l3 = "steel buckling restrained braced frame", l2 = "steel concentrically braced frame", l7 = "reinforced concrete moment-resisting frame (MRF)", l6 = "steel MRF"}. The soil and foundation performance parameters (degree of densification and foundation depth, respectively) were limited to values of 0 (where the PP values are made dimensionless over the performance range from M0.3), whereas the lateral subsystem had variable PPs that took on values of 0, 0.5, and 1.
Whereas M1 generates and pares down a set of systems based on qualitative or semi-quantitative criteria, M2 evaluates each alternative system configuration in detail. The probabilistic, quantitative approach draws on many existing methods from “performance-based engineering” as it is defined in the natural hazards, energy modeling, and durability research communities. Cradle-to-gate economic, societal, and environmental impacts are characterized, followed by operational performance (i.e., energy use), maintenance, and performance during the range of possible natural hazard events. Simulations must be sufficiently detailed to capture the difference between code-minimum and higher-performing configurations of the same SFLE system.
In the illustration, M2 considered only two lateral subsystems in the "special" class, l6 = "reinforced concrete MRF", and l7 = "steel MRF", each of which had 9 variant configurations (described subsequently). The illustration focuses on seismic performance and operational energy, with 2 SFLE alternatives x 9 lateral configurations x 3 envelope configurations = 54 candidate alternative configurations requiring life-cycle performance assessment.
The RSMeans commercial construction square foot cost estimator was used to estimate the initial cost using cost ratios for Charleston, SC. Besides foundation, soil, and envelope selection, no customization was performed. This estimate included the SFLE, gravity structural subsystem, finishes, services, and AEC fees. The structure and envelope/partitions accounted for approximately 14 and 18%, respectively, of the total cost. As a percentage of SFLE, and partitions, the structural system cost was 35% for concrete and 50% for steel.
Cost (M-USD) | Concrete MRF | Steel MRF |
---|---|---|
foundation | 0.20 | 0.20 |
shell (envelope+structure) | 2.01 | 1.99 |
lateral structure | 0.23 | 0.20 |
gravity structure | 0.53 | 0.47 |
envelope | 1.25 | 1.21 |
interior | 1.44 | 1.44 |
services | 2.80 | 3.02 |
SUBTOTAL | 6.46 | 6.66 |
+ AEC FEES | 8.64 | 8.91 |
The embodied energy (EE) associated with cradle-to-gate + maintenance was estimated using Athena Impact Estimator, with customized assemblies for foundation, structure (gravity + lateral), envelope (with window-wall ratio of 31%), and partition walls and assuming a 50-year lifetime. The structure accounted for a significant portion of embodied energy, at 60% for the concrete MRF and 40% for steel. At 6.7 TJ, the envelope and partition walls also contributed significantly to embodied energy (24-37%), motivating the inclusion of these drift-sensitive non-structural components in the seismic assessment.
EE (TJ) | Concrete MRF | Steel MRF |
---|---|---|
foundation | 4.98 | 4.98 |
vertical structure | 7.81 | 4.31 |
floors | 6.65 | 2.53 |
façade | 3.87 | 3.87 |
roof | 2.6 | 0.04 |
partition walls | 2.50 | 2.50 |
TOTAL | 28.41 | 18.23 |
lateral structure | 7.81 | 4.31 |
gravity structure | 9.25 | 2.57 |
envelope | 3.87 | 3.87 |
Three hypothetical lateral performance parameters (PPs, as well as their combination) were identified to isolate the effects of various design decisions on seismic performance: yield strength, pre-capping plastic ductility (from yield to maximum strength), and post-capping ductility (from maximum to zero residual strength).
- Normalized yield strength (Fy) relates to overstrength, assuming constant stiffness. While it is generally difficult to isolate strength and stiffness, increased performance may be achievable by increasing member dimensions or varying the steel yield strength.
- Increased pre-capping plastic ductility (δp) can be achieved through more ductile detailing, and isolates the effect of ductility at low shaking levels.
- Post-capping ductility (δpc) isolates ductility at high shaking levels, although in reality changes to joint detailing would affect both pre- and post-capping ductility; reduced building weight would also improve global near-collapse performance.
- Combined increase of yield strength and pre- and post-capping ductility serves as a test of sufficiency; i.e., if an individual PP produces structural response equivalent to that of the combined system then it must sufficiently describe the seismic performance.
Factored values of 1.5 and 2× the code-minimum parameter value were considered for each PP (and the combined case) to represent PP values of 0, 0.5, and 1. The cost/energy marginal impact required to increase performance was estimated as follows:
- Fy: proportional (1:1) to the cost/energy of the laterally-designed structural subsystem, i.e., for concrete the MRF plus a portion of the flat-plate floor system, and just the MRF for steel.
- δp: proportional (1:0.5) to the laterally-designed subsystem.
- δpc: proportional (1:0.1) to the gravity system cost/energy.
+Pre-Fee Cost | (M-USD) | +Embodied Energy | (TJ) | |
---|---|---|---|---|
Concrete MRF | Steel MRF | Concrete MRF | Steel MRF | |
lateral structure | 0.23 | 0.20 | 7.81 | 4.31 |
gravity structure | 0.53 | 0.47 | 9.25 | 2.57 |
+0.5Fy | 0.11 | 0.10 | 3.95 | 2.16 |
+1.0Fy | 0.23 | 0.20 | 7.81 | 4.31 |
+0.5δp | 0.06 | 0.05 | 1.95 | 1.07 |
+1.0δp | 0.11 | 0.10 | 3.91 | 2.16 |
+0.5δpc | 0.03 | 0.02 | 0.46 | 0.13 |
+1.0δpc | 0.05 | 0.05 | 0.93 | 0.26 |
The envelope system PP was defined as the window-to-wall ratio of the envelope system, and with code-minimum defined as 40%, high-performance as 22%, and the intermediate "base" value of 31%. The marginal cost to increase performance was estimated using the following assumptions:
- Including materials and installation, the window square foot cost is ~60 USD, whereas the brick façade costs ~30 USD.
- The windows are placed in horizontal bands, such that the relative height of brick and window can be calculated.
- Window:wall ratios of 0.40, 0.31, and 0.22 therefore cost ~42 USD/sf, ~40 USD/sf, and ~38 USD/sf.
- The cost ratio to decrease or increase envelope performance is ± 2/40 = 0.05.
- The original RSMeans envelope costs were adjusted using this ratio to obtain the marginal cost increase
To compute changes in embodied energy, new Athena models were developed specifying window:wall ratios of 0.40 and 0.22.
+Cost (M-USD) | +Embodied Energy (TJ) | |
---|---|---|
w:w: 40% | 0.05 | -0.14 |
w:w 31% | -- | -- |
w:w: 22% | -0.05 | 0.14 |
The energy performance was modeled using OpenStudio with data from EnergyPlus, assuming an interior layout and use as shown.
The seismic behavior was modeled in OpenSees as a nonlinear single-degree-of-freedom (SDOF) oscillator using response history analysis over a suite of 80 unscaled synthetic ground motions based on a geologically-consistent hazard mapping of South Carolina. The performance-based earthquake engineering (PBEE) assessment is based on that of the "PEER framework", and requires hazard analysis, structural analysis, damage analysis, and loss analysis. In addition to standard uncertainty sources, the pre-defined collapse-drift limit was defined as random variable X3, such that the PBEE assessment was conducted over discretized values of the structure-specific drift distribution. Subsequent convolution of expected lifetime loss ratio (ELLR) conditional on collapse drift limit with the collapse probability distribution allows the consideration of drift limit uncertainty. A similar convolution was performed to determine the probability of collapse at MCE.
The base or "code-minimum" configuration lateral configurations were obtained by fitting monotonic backbone SDOF parameters to a nonlinear static "pushover" of a representative building from the literature; the fitted backbone was uniformly scaled by the ratio of design seismic hazard of the original pushovers (in California) to the Charleston site (scale factor was 0.46).
The seismic hazard curve was obtained from the USGS Unified Hazard Tool and used the 2014 dynamic-conterminous (v4.1.1) mapping at B/C boundary for soil shear wave velocity. The hazard curve values for PGA, Sa(0.2s), Sa(1s), and Sa(2s) were loaded. Interpolation in log-log space was used for both Sa values at other periods and to support finer discretization of Sa and mean annual frequency of exceedence values (λIM) to support later numerical convolution.
Additionally, a geologically realistic probabilistic hazard mapping of South Carolina was used in M2. This hazard model is derived from 1247 site locations within and adjacent to South Carolina for four 50-year exceedance probabilities (2%, 5%, 7% and 10%). Similar to USGS national hazard maps, the hazard model incorporates uncertainty due alternative: source configuration; source models for large characteristic earthquakes in the coastal area of Charleston; and ground motion prediction models. However, the significant difference from the USGS national hazard maps lies in representing actual geological conditions of Charleston through treatment of wave propagation in the coastal plain sedimentary section and weathered southeastern US Piedmont rock outside of the coastal plain.
The Charleston hazard maps were combined with a ground motion simulation package to develop a suite of 80 hazard-consistent synthetic ground motions (GMs). The synthetic ground motions were developed using a stochastic method, which combines the seismological description of ground motion’s amplitude spectrum from the site hazard model with an adjusted random phase spectrum. The ground motion’s spectrum comprises three components (source, path and site) and encompasses the physical process of earthquake and resultant wave propagation. The code develops ground motion time series by generating white noise for the given duration, which is windowed and transformed to the frequency domain, scaled by the ground motion spectrum, and finally transformed back to the time domain using a standard procedure. The simulation package requires input magnitude-distance (M-R) pairs, which were obtained using an inverse transform sampling from the USGS hazard deaggregation at each level, such that the number of pairs in each bin was proportional to that bin’s contribution to the hazard. One synthetic GM was generated using for each M-R pair and associated hazard level.
A least-squares regression in log-log space was performed on the OpenSees roof drift-spectral acceleration results. The regression was used to define lognormal distributions for roof drift (RD) given Sa. The distribution mean (ln of the median) was defined by ln(med(RD)) = b0 + b1ln(Sa), and the dispersion βRD|Sa was obtained from the regression error. As expected, PPs their values had no effect on the elastic behavior of the structures. Changes to pre-capping ductility and post-capping ductility affected drifts at large Sa values, with post-capping ductility having a larger effect. The combination of all PP s produced results with trends that could not easily be decomposed into the individual PP contributions, indicating that no individual PP is sufficient.
A log-logistic distribution for collapse probability conditional on Sa was obtained using the applicable pre-defined collapse drift limit, RDC. Two concrete configurations had unacceptable collapse probabilities (>10%); three others, including the code-minimum configurations, were close to unacceptable performance (>9%). While no steel configuration was unacceptable, the steel code-minimum and one other configuration had high MCE collapse probabilities (>9%).
The EDP results were translated to global damage states using the Hazus-MH drift-related limit states for 'slight', 'moderate', 'extensive', and 'complete' damage. The resulting fragility curves indicated that the code-minimum steel structure would experience earlier onset of almost all structural damage states as compared to the concrete structure. Fragility curves were also developed for non-structural drift-sensitive components using Hazus-MH data. The collapse fragility was obtained from the log-logistic regression and assumed to be mutually exclusive to the sequential damages states DS1 to DS4. The hazard curve λIM was then convolved with the fragility curves to obtain the annual probability of being in each damage state.
Structural and non-structural damage repair cost ratios ranged from 0.4 to 32.9% of the assumed initial building value; with collapse repair cost ratio was assumed 110%. The annual probability of being in each damage state was multiplied by its associated repair cost ratio and summed over non-collapse/structural, non-collapse/non-structural, and collapse contributions. The expected annual loss ratio (EALR) was computed by summing the expected annual loss ratio over the components.
The expected lifetime loss ratio (ELLR) was estimated by multiplying the EALR by the input building lifetime (assumed 50 years in the illustration). This approximation is acceptable due to the very low rate of seismic events of interest at the site.
Random variables/decision metrics were defined as:
- X1: drift at Sa DBE (unitless); data from PBEE assessment.
- X2: drift at Sa MCE (unitless); data from PBEE assessment.
- X3: collapse drift limit (unitless); median = 1.5×[Hazus-MH 'complete' damage drift limit], dispersion = 0.1.
- X4: initial cost (M USD); mean values from RSMeans initial assessment, CV = 0.05.
- X5: life-cycle cost (M USD); mean value μX5 = E[X5] = E[X4]×(1+EMLR+ELLR) + 0.0028E[X7]; σX52 = VAR[X5] = (1+ELMR+ELLR)2×VAR[X4] + 0.00282×VAR[X7]; where ELMR is the expected lifetime maintenance cost ratio, set to 0.56 (1.5USD/square foot × 50 years), and ELLR is obtained from the PBEE assessment convolved with collapse limit uncertainty, and 0.0028 = $0.10/kWh commercial electricity rate over 50 years.
- X6: embodied energy (TJ); μX6 = E[X6] = E[initial construction & maintenance]×(1+ELLR), CV = 0.05; expected embodied energy of initial construction and maintenance estimated using the Athena Impact Estimator.
- X7: operational energy (TJ); mean obtained from OpenStudio initial assessment using EnergyPlus data and CV = 0.2.
Correlations between random variables in X-space (RXX) were obtained as follows:
- X1-X2: OpenSees analysis of drift at DBE and drift at MCE using ground motions scaled to the Sa values was used to empirically estimate the correlations; ground motions that required scale factors >4 for the concrete or steel MRF structure were omitted; 0.5 ≤ ρX1,X2 ≤ 0.9.
- X1/X2-X3: Monte Carlo Simulation computed empirical correlations; no X1 samples caused collapse so ρX1,X3 = 0; -0.7 ≤ ρX2,X3 ≤ 0.
- X1/X2/X3-X4/X5/X6/X7: assumed zero as uncertainty in structural performance is assumed to be independent of uncertainty in initial cost, life-cycle cost, embodied energy, and operational energy; manuscript Supplemental Material provides a more detailed explanation.
- X4-X5: using the definition of covariance and linear expression for E[X5], is equal to ρX4,X5 =(1+EMLR+ELLR)σX4/σX5, where σXi is the standard deviation of random variable Xi.
- X4-X6/X7: assumed zero; explanation provided in manuscript Supplemental Material.
- X5-X6: assumed zero; explanation provided in manuscript Supplemental Material.
- X5-X7: using the definition of covariance and linear expression for E[X5], ρX5,X7 = 0.0028*σX7/σ*X5.
- X6-X7: assumed zero (source of uncertainty in embodied energy is independent of uncertainty in operational energy).
M3: reliability-based ranking and optimization of alternative configurations using a generalized preference system
M3 used a standard implementation of the First-Order Reliability Method (FORM). The Sources section provides reference material and the improved Hasofer-Lind-Rackwitz-Feissler algorithm. A Nataf distribution between the 7 random variables was assumed, with the Z-space correlation matrix RZZ defined equal to RXX.
With the exception of the third limit state function, g3, all limit states were linear indifference curves with an intercept and 1 or 2 coefficients across the 7 random variables. There were 10 limit state functions across the 4 cut sets previously described.
The top-ranked system was the code-minimum steel MRF with high-performance envelope. The code-minimum concrete MRF system with high-performance envelope ranked 26th.
- MATLAB R2019a with: Statistics and Machine Learning Toolbox; Curve Fitting Toolbox
- R v3.5.2 with: jsonlite v1.6; fields v10.0; reshape2 v1.4.3; mvtnorm v1.10-11; ggplot2 v3.1.0
- OpenSees v2.4.5; TCL/TK 8.5
Reproduction of the illustration requires performing the initial decision framing (M0), and then running the three modules. As M2 and M3 rely on OpenSees assessment as well as M0, the most practical implementation would be to (1) follow the M1 steps in R, (2) perform the OpenSees analysis from M2, (3) follow the M0, M2, and M3 steps, all of which are chunks in a single MATLAB script. The organization that follows is theoretical, rather than as-ran.
More generally, the illustration scripts may be modified to change assumptions related to impacts (e.g., correlations, coefficients of variation, distribution form), the PBEE assessment, or the limit state functions and preference system. The scripts were written such that it should be possible to add data for another SFLE system or configuration of interest with minor additional work.
Open MATLAB and navigate to the main repository folder. Ensure that the /Data
and /Figs
folders and subfolders are added to the MATLAB path. Then:
- Open
M2_M3_Main_Run_All.m
; this script is going to be run chunk-by-chunk. Time-consuming chunks will output their progress to the command line. - Change
SAVE_FIG
totrue
if you would like MATLAB-format .fig files to be saved by the plotting functions. - Run Chunks 2 and **3 **to create empty variables for error encoding and to set plotting controls (e.g., colors used for lateral PP configurations,
colors
). - Run Chunk 4 to define the cell
g
of individual limit state functions using a coefficient matrix,a
, and create the cell of gradients ∇Xg:=grad_g
.
M2_M3_Main_Run_All.m
:
- Values in the coefficient matrix,
a
may be altered to reflect different constraints or preferences, or additional linear functions may be added. - If nonlinear functions are of interest new code will be needed to define
g
andgrad_g
; the symbolic math toolbox will likely be of help. - Additional random variables may be added, e.g., global warming potential, assuming that distributions are subsequently developed and their parameters are added.
Open R and navigate to the main repository folder. Then:
- Run
M1_SFLE_Generation.R
to:- Create the set,
A
=S
×F
×L
×E
, which is the cartesian product of the subsystem sets, i.e.,S
= {s1 = "densification", s2 = "reinforcement"} and A1 = (s1, f1, l1, e1}. A is stored in matrix formatm.A
. - Create the set Θ:=
Theta
={θ}4 of all of the possible performance parameter values for each subsystem. Θ is stored in matrix format inm.Theta
. - Identify the subscript numbers k and κ associated with examples Ak,κ of interest as defined in
ex.A
andex.Theta
.
- Create the set,
- Run
M1_hazard_interp.R
to:- Load the USGS-produced json file
haz.File
(defaults toCharleston.BCboundary.2014DynamicConterm.json
) for the seismic hazard curve. - Interpolate the hazard curve at periods of interest in the M1 assessment as defined by
M1.lateral.systems.RData
and save the interpolated curve to[haz.File].interp.txt
. - Plot the original USGS points and interpolated surface.
- Load the USGS-produced json file
- Run
M1_StructResponse.R
to analyze lateral systems obtained fromData/M1_Fragility_IDA_Database.xlsx
) and subsequently hard-coded and written toM1.lateral.systems.txt
. Drift distribution parameters, limit state failure probabilities, and the system failure probabilities are stored indf.lat
and saved toM1.lateral.systems.ranked.txt
.
M1_SFLE_Generation.R
:- additional subsystems may be added to
S
,F
,L
, orE
. - a different discretization may be used for θ:=
theta
. - a new category of subsystem may be added, e.g., gravity structural or mechanical, with minor adjustments to the code to ensure that
A
contains all values of interest.
- additional subsystems may be added to
M1_hazard_interp.R
:- A different file
haz.File
in the standard USGS .json format may be provided to perform the M1 assessment at at a different site. - Different spectral acceleration periods may be analyzed by altering the
T
column in tab-delimited fileM1.lateral.systems.txt
.
- A different file
M1_Struct_Response.R
:- Modify
df.lat
to analyze different data (hard-coded; or the code could be modified to load local data). - Change the limit state functions
g1
andg2
(or add additional functions). - Change the preference system formulation or correlation assumed between limit states.
- Modify
The oscillator uses a hysteretic behavior defined using the Ibarra-Medina-Krawinkler backbone curve.
Follow the instructions at https://opensees.berkeley.edu/ to download and install OpenSees (alternately, use in the cloud at https://www.designsafe-ci.org. Download and install TCL/TK to run the scripts used to set up the OpenSees analysis. Navigate to the folder containing Main_Run.tcl
.
- Open
Main_Run.tcl
and modify line 13 to set thestructure
variable as"Steel"
or"Concrete"
. - Source
Main_Run.tcl
to set the monotonic backbone parameters inDy_list
,dc_list
,du_list
,Fy_list
, andFc_list
. Next,Main_Run.tcl
will in turn sourceTime_History.tcl
to perform the response history analysis of the SDOF system.Time_History.tcl
:- Reads ground motions from
/GMfiles
based onGM_list.tcl
. - Sources
Nonlin_spring.tcl
to creates the nonlinear spring (zero-length element in OpenSees) with the Ibarra-Medina Krawinkler behavior (Clough material in OpenSees) using parameters defined by the user in theMain_Run.tcl
. - Sources
Analysis_Engine.tcl
to set up the analysis engine by defining required OpenSees and model parameters such as integrator type, analysis test rules, and algorithm. - Saves the results in
GMresults
, where the maximum value of drift response is recorded innonlinSDOF_disp.out
- Reads ground motions from
- Import
nonlinSDOF_disp.out
into MATLAB and save .mat files consistent with the names provided inM2_M3_Main_Run_All.m
.
- SDOFs with different backbone curve parameters: If the user requires to run the code for different SDOFs, the values in
Dy_list
,dc_list
,du_list
,Fy_list
,Fc_list
could be changed to match users' input. It should be noted that the displacement and force values should be normalized by building height and weight, respectively to minimize changes to the original code. In case users are only considering one single SDOF, lines 22 to 49 can be removed (except for damping ratio value as defined bydampRatio
variable ), and the values of the aforementioned parameters can be directly assigned in lines 58 to 62 and limiting the for loop count to only one iteration at line 57. - SDOFs with different backbone curve shape: The Clough material is used in OpenSees to simulate a trilinear backbone curve shape that drops to zero at ultimate displacement. However, other types of nonlinear behavior such as bilinear can be incorporated by changing lines 22-26 in
Nonlin_Spring.tcl
. - Different GM set: The code is developed to be versatile enough for new GM sets. The user only needs to provide the GM records in the
GMfiles
folder and changes theRecord_List.tcl
file. TheRecord_List.tcl
includes two columns of data: the first column is the name of the GM records included inGMfiles
and the second column provides the scale factors. Care should be given that synthetic GM records used in the paper were provided as single column dat files. Therefore, if a different format of GM records is used (such as the one provided in the PEER NGA dataset), users need to prepare a procedure to format the data as a single column of ground motion acceleration.
After following all steps listed for M0 above, perform the following in M2_M3_Main_Run_All.m
:
-
Run Chunk 1 to create hard-coded parameters for the analysis, such as the names of the systems analyzed
'conc'
and'steel'
, initial cost and embodied energy impactsc_init
ande_init
, analysis lifetimeYears
, expected lifetime maintenance ratioELMR
, marginal cost coefficients for configurations with the beyond-code performance parameters for lateral and envelope subsystemsc_PP_l
andc_PP_e
, and correlations between drifts (from additional OpenSees analyses),r_x1_x2
. -
Run Chunk 5 to loop over structure types and perform M2's performance-based earthquake engineering assessment using the OpenSees nonlinear response history analysis results for the structure of interest and the subfunction
M2_PBEE_Simple.m
. Intermediate (e.g., fragility curvesfragSs
, conditional lossesEAL_C
) and final results are returned. Note: this run does NOT include uncertainty in collapse drift limit, rather it is used to compute the drift distributions and to obtain intermediate data such as fragilities and disaggregated losses. -
Run Chunk 6 to run or load data from sensitivity assessment of collapse probability and loss to collapse drift limit uncertainty. The subfunction
M2_Sensitivity_Collapse_Limit.m
has a long runtime, which is why loading the stored .mat files is advised. The subfunction:- Discretizes the collapse drift limit, using parameters
mu_RD_c
andsigma_RD_c
defined in Chunk 1 (numFac
controls the number of discretizations and defaults to 50 values). - Performs the PBEE assessment at each discretization of collapse drift limit using
M2_PBEE_Simple.m
and convolves the result for ELLRELLR_c
and probability of collapse at Sa MCEP_c
. - Uses MATLAB's
cftool
package to fit a two-peak Gaussian model to the discretized probability of collapse at Sa MCE given collapse drift; the fit objects are stored in cellP_c_fit
. - Analyses the correlation between X2 and X3 based on
COMPUTE_CORR
:disc
: uses the discretization of RDC and computes the Pearson correlation coefficient between RDC and ∫P(C|RDC)dFRD_C. This approach is stable but indirect, as observations of X2 are not used.MC
: uses 1-million Monte Carlo simulations for each alternative configuration, computing the percentage of drift observations fromf_RD_Sa_MCE
causing collapse and values and then obtaining the correlation between that value (P_c_k
) and the observations of collapse drift limit. This approach tends to produceNaN
results. The user must also set the value ofCOMPUTE_CORR_MC
inM2_Sensitivity_Collapse_Limit.m
totrue
to repeat the analysis.load
: loads the rounded values fromdrift_collapse_corr.mat
, i.e.,r_x1_x3
(assumed = 0) andr_x2_x3
.
- Creates plots of the two-peak Gaussian fit, correlations, and ELLR.
- Discretizes the collapse drift limit, using parameters
-
Run Chunk 7 to create probability distributions for all alternative configurations across random variables
fX
using a combination of data and distribution types hard-coded in Chunk 1 (e.g.,CV
,pds
), and results from Chunks 5 (e.g.,f_RD_Sa_DBE
) and 6 (e.g.,ELLR_c
). The implementation required a few error-reducing procedures:- A numerical adjustment is applied when the correlation matrix
Rzz
is not positive-definite (is rank-deficient). An eigenvalue analysis identifies the non-positive eigenvalue and a small adjustment is applied to correlations with non-zero values in the associated eigenvector to reduce the correlation. I.e., if the eigenvalue analysis produced value λ 1 = -0.2 and vector x1 = [-0.5, 0.7, 0.5, 0, 0, 0, 0], then the correlations between Z1, Z2, and Z3 would be adjusted. E.g., ρZ1,Z2 = 0.9 - ε, ρZ1,Z3 = 0 + 0, ρZ2,Z3 = -0.7 + ε, where ε = 0.001 and is defined in Chunk 2 asR_adj
. This numerical adjustment is repeated untilRzz
became positive definite, up to a limit set in Chunk 2, and a record of the configurations requiring adjustment is created inrecord_Rzz_err
. - From trial and error, the initial guess
x0
used in M3's application of FORM is hard-coded for problematic configurations to support convergence; similarly, the step size control used in the improved-Hasofer-Lind-Rackwitz-Feissler algorithmlambda
is set to an appropriate value.
- A numerical adjustment is applied when the correlation matrix
-
Run Chunks 16, 17, 18, and 19 to create plots.
M2_M3_Main_Run_All.m
:
- Alter assumptions for initial impacts (
c_init
,e_init
) or marginal cost to improve performance (c_PP_l
,e_PP_l
,c_PP_e
,e_PP_e
), or building lifetimeYears
. - Change the assumed distribution functional forms for the random variables in
pds
andparamNames
. - Change the discretization
numFac
or parametersmu_RD_c
andsigma_RD_c
associated with collapse drift limits (changing the fit type would occur inM2_Sensitivity_Collapse_Limit.m
). - Add new building configurations to
strucs
, i.e.,'BRB'
could be added as a third lateral structural system if all subsequent laterally-related variables are updated (e.g.,c_init
andr_x1_x2
would get a third column), and OpenSees dataSa_BRB.mat
andEDP_BRB.mat
are added to/Data
andM2_M3_Main_Run_All
andM2_PBEE_Simple.m
are updated accordingly.
M3: reliability-based ranking and optimization of alternative configurations using a generalized preference system
After following all steps listed for M2 above, perform the following in M2_M3_Main_Run_All.m
:
-
Run Chunk 8 to analyze the candidate alternative configurations across all limit state functions.
- Limit states j∈{1,2,4,...10} analyzed using
M3_FORM.m
, which:- Takes a cell of probability distribution objects for the marginal distributions of X (
fX
) and Matlab function objects for limit state function (g
) and its gradient (grad_g
), as well as correlation matrixRzz
, initial guess vectorx0
, and step size control scalarlambda
. - Assumes a Nataf distribution between random variables
- Sets tolerance limits for convergence (
eps_1
for |h(u)|;eps_2
for β(k+1) - β(k)), a maximum number of iterationsit_max
, and a minimum step size controllambda_min
. - Uses the improved-Hasofer-Lind-Rackwitz-Feissler algorithm to find the design point in standard multivariate normal space,
u_star
and the normal vector for the tangent hyperplane,alpha
. During each iteration, the step size controllambda
is automatically reduced if aNaN
is found inu(:,k+1)
. A warning is produced and the function returns if the max number of iterations or the minimum size of lambda are violated. - Optionally plots the reliability index obtained in each iteration to determine whether convergence has been achieved (controlled by
FLAG_PLOT
) - Returns the reliability index
beta_FORM
and other sensitivity results such asgamma
.
- Takes a cell of probability distribution objects for the marginal distributions of X (
- Limit state j=3 is treated differently due to its nonlinear limit state function and propensity for causing non-convergence.
-
g{3}
is upated with the appropriate conditional collapse probability fit, andgrad_g{3}
is evaluated using symbolic differentiation. -
IF the probability of collapse obtained in Chunk 6 is larger than a tolerance set in Chunk 2 (
pC_min
) AND a value in the fit for conditional collapse probability at Sa MCE is larger than the intercept term defined in Chunk 4 (i.e., for j = 3, a0 = 0.10), thenM3_FORM.m
is run as usual. -
ELSE, an alert is displayed, the configuration is recorded in
record_g3_err
, and the following values are set:pf = 0; beta_FORM = 6; alpha = -inv(transpose(chol(Rzz)))*Rzz(:,3); u_star = [0;6;6;0;0;0;0].
-
- Limit states j∈{1,2,4,...10} analyzed using
-
Run Chunk 9 to set up the cell of cut sets
C
making up the generalized system and estimate the probability of cut set failurepF_cut1
(a parallel system) using a first-order approximation and the FORM results. Four cut sets are currently used, with only the fourth having multiple limit state functions. -
Run Chunk 10 to:
- Compute the probabilities of the intersections of two, three, and four cut sets (
pF_cut2
,...) using the same first order estimate. As described for Chunk 7, adjustments are made to the correlation matrix between limit state surfaces,R_UU
, if not positive definite and recorded inrecord_R_UU_3_err
andrecord_R_UU_4_err
. - Compute series failure probability
pF
across cut sets using the inclusion-exclusion principle (i.e.,pF = pF_cut1- pF_cut2 + pF_cut3 - pF_cut4
).
- Compute the probabilities of the intersections of two, three, and four cut sets (
-
Run Chunk 11 to obtain the ranking of the alternative configurations
alt_rank
according topF_rank
and sample results for three hard-coded configurations of interest. -
Run Chunk 12 to check error diagnostics and save workspace to
Flint_2019_M2_M3_all.mat
-
Run Chunk 13 to perform a basic sensitivity assessment for three hard-coded configurations of interest, i.e., pull out
pF_ex1
,R_UU_ex1
, . -
Run Chunk 15 to create tables used in the manuscript (for input data and M2 and M3 results).
-
Run Chunks 20, 21, and 22 to create plots of M3 results.
M2_M3_Main_Run_All.m
:
- The cut sets may be modified but additional modification will be required in Chunk 10 if there are more than 4 cut sets.
- Change the examples used to create results tables in Chunk 13.
Scripts are named according to their module of application, M1, M2, or M3. Data (both input and output) is in the /Data
folder, whereas plots are created in the /Figs/figs
or /Figs/eps
folders. The OpenSees structural analysis scripts are in the /OpenSees
folder, with synthetic ground motions for Charleston in /OpenSees/GMfiles
.
M1_Hazard_Interp.R
M1_SFLE_Generation.R
M1_Struct_Response.R
M2_M3_Main_Run_All.m
M2_PBEE_Simple.m
M2_Plot_Backbones.m
M2_Plot_EDP_IM.m
M2_Plot_Fragility.m
M2_Push2SDOF_concrete_normalized.m
M2_Push2SDOF_steel.m
M2_Sensitivity_Collapse_Limit.m
M3_FORM.m
M3_Plot_Hyperpolygon.m
M3_Plot_pF_bar.R
4story_concrete.csv
4story_steel.csv
Charleston.BCboundary.2014DynamicCoterm.json
EDP_conc.mat
EDP_steel.mat
Flint_2019_M2_M3_all.mat
M1_Fragility_IDA_Database.xlsx
Sa_conc.mat
Sa_steel.mat
drift_collapse_corr_disc.mat
-
drift_collapse_corr_MC.mat
drift_distributions.mat
hazardInfo.mat
Analysis_Engine.tcl
Main_Run.tcl
Nonlin_Spring.tcl
ReadSMDFile.tcl
Record_List.tcl
Time_History.tcl
/GMfiles/1.dat...80.dat
- M1: Haseeb Tahir, MS Thesis (2016), Virginia Tech
- M1:Seismic, Hurricane, and Tsunami Vulnerability Database and Pinch-Point Taxonomy for Mid-Rise Commercial Buildings Repository
- M1/M2: USGS Unified Hazard Tool
- M2: Charleston, SC hazard and GM package
- M2: special moment-resisting frames from Blume Center Technical Reports: concrete from Haselton and Deierlein (2007); steel from Lignos and Krawinkler (2012)
- M3: Engineering Design Reliability Handbook Ch. 14 on FORM (Der Kiureghian) and Ch. 15 on systems (Thoft-Christensen)
- Scripts are licensed under GNU GPL v3.0.
- Data under ODC-By.
- Other copyrightable material under CC-BY-NC-SA.