One building,
each code's records.
A nonlinear response history shakes the building through records of the ground's motion. Every code of practice says how many records, what they must stand above, over which periods, on what gravity, and how their answers are combined, and no two say the same. AutoStruct's history follows the rule of the code the building's earthquake is taken from: EN 1998-1, TBDY 2018, ASCE 7-22 and IS 1893.
What a set of records is held to
Records generated for a building are matched to its elastic spectrum, and each code then asks that, over a band of periods about the building's own, the records' spectra stand nowhere below a floor. The floors differ in three ways: what is measured, how high the floor stands, and over which band.
- EN 1998-1 holds each direction's set alone: the mean of its spectra at least 90 % of the elastic spectrum from 0.2 to 2 times the fundamental period.
- TBDY 2018 holds the two horizontal records of a set together: the square root of the sum of their squares, averaged over at least eleven sets, at least 1.3 times the elastic spectrum from 0.2 to 1.5 times the dominant period. Each set is run along the principal axes and again turned 90°: eleven sets are twenty-two analyses, and the design value is their mean.
- ASCE 7-22 takes as its target the risk-targeted maximum considered earthquake, 1.5 times the design spectrum, and holds each pair's maximum-direction spectrum, the largest response of the two records along any horizontal direction, at least 110 % of it from 0.2 to 2 times the fundamental period. At least eleven pairs, each applied once.
AutoStruct matches each record so that a set stands as far above its code's floor as a set matched to the elastic spectrum stands above EN 1998-1's: 1/0.9 = 1.111 times the floor. Under EN 1998-1 that changes nothing. Under TBDY 2018 each record is matched to 1.3/(0.9√2) = 1.021 times the spectrum, and a pair combines to 1.444 times it; under ASCE 7-22, whose maximum direction is at least either record, to 1.1/0.9 = 1.222 times the target.

The gravity under the earthquake
The building stands on its gravity before the record starts, and that gravity is the code's too. EN 1998-1 and TBDY 2018 take the permanent load and a share of the imposed. ASCE 7-22 asks 1.0 D + 0.5 L, with L 80 % of an imposed load over 4.79 kN/m² and 40 % of the rest: a slab of 2 kN/m² imposed under 7.25 kN/m² of dead load stands on 7.65 kN/m². ASCE 7-22 also asks the analyses again under the dead load alone unless the expected live load is small; AutoStruct runs one gravity, so where a slab carries more than 4.79 kN/m², or the expected live load is more than a quarter of the dead load, it refuses the history and names the reason rather than run it on the wrong gravity.

IS 1893, where the code is brief
IS 1893 (Part 1):2016 asks a time history on an appropriate ground motion compatible with its design spectrum in the desired range of periods, and no more: it names no number of records, no ends of the range, no floor and no way of combining their answers. What it does give is taken as it stands: the target is its design spectrum with no reduction for yielding, on 5 % damping, and the building stands on its seismic weight, the dead load and the code's share of the imposed. The range is read as the range of the modes the code takes, those carrying 90 % of the mass: from the shortest of their periods to the fundamental period.
What the clause leaves open the project says, in its settings, at defaults read from the code's words: at least one record in each direction; the mean of a direction's spectra never below the target over the range; and the largest peak over the records as the answer, a peak being what the code designs for. Each can be changed. On zone IV and medium soil, a building whose fundamental period is 0.6 s and whose 90 % modes reach down to 0.2 s has its records held between 0.2 and 0.6 s, where the target is 0.30 to 0.272 g, and matched to 1.111 times it. Where the modes found carry less than 90 % of the mass, the range cannot be read, and the history is refused, saying so.

The frame they shake
The rule decides which records a building is shaken by; the frame they shake is the same under every code, its members elastic along their length and yielding at plastic hinges at their ends, each hinge's strength from the section's mean strengths and its cycles from the rule the project chooses. The hinge inside the member tells that model.
Sources
- CEN (2004), EN 1998-1: Eurocode 8: Design of structures for earthquake resistance – Part 1: General rules, seismic actions and rules for buildings, Brussels.
- Disaster and Emergency Management Authority (AFAD) (2018), Türkiye Bina Deprem Yönetmeliği (Turkish Building Earthquake Code), Ankara.
- American Society of Civil Engineers (2022), ASCE/SEI 7-22: Minimum Design Loads and Associated Criteria for Buildings and Other Structures, Reston, Virginia.
- Bureau of Indian Standards (2016), IS 1893 (Part 1):2016: Criteria for Earthquake Resistant Design of Structures – Part 1: General Provisions and Buildings, New Delhi.