You are on page 1of 10

EARTH QUAKE

4 Floors

oleh :

Ir. Tony Hartono Bagio, MT, MM

In[ ]:=

ClearAll;
n = 4;
SDS = 0.442;
SD1 = 0.1647;
Wx = {5114, 4414, 4414, 2943};
K1 = 2750;
K2 = 2400;
K3 = 2000;
K4 = 1600;
g = 981;
M = N[Wx / g];
MatM = DiagonalMatrix[M];
MatK = {
{K1 + K2, - K2, 0, 0},
{- K2, K2 + K3, - K3, 0},
{0, - K3, K3 + K4, - K4},
{0, 0, - K4, K4}};
2 MDOF_SsS1.nb

Kvar = {
{"(K1+K2)", "-K2", 0, 0},
{"-K2", "(K2+K3)", "-K3", 0},
{0, "-K3", "(K3+K4)", "-K4"},
{0, 0, "-K4", "(K4)"}};
Bvar = Kvar - "λ" * Mvar;
Print"DIKETAHUI"
Mz0 = {m1, m2, m3, m4};
Mvar = DiagonalMatrix[Mz0];
Print["[M] =", MatrixForm[Mvar], "=", MatrixForm[MatM]]
Print["[K] =", MatrixForm[Kvar], "=", MatrixForm[MatK]]
Bb = N[MatK - MatM * λ];
Print[]
Print"Modal Segmentation"
Print["[K]-λ[M] =", MatrixForm[Bvar], "=", MatrixForm[Bb]]
ϕ = {ϕ1, ϕ2, ϕ3, ϕ4};
m = Bb.ϕ;
d = Det[Bb];
Cλ = CoefficientList[d, λ];
Matλ = λ /. Solve[d ⩵ 0, λ];
Matω = Matλ ;
λvar = {"λ1", "λ2", "λ3", "λ4"};
ωvar = {"ω1", "ω2", "ω3", "ω4"};
Tvar = {"T1", "T2", "T3", "T4"};
MatT = 2 π  Matω;
Print[]
Print"MENCARI NILAI ( )" λ
Print["f(λ) = 0 = ", d]
Print"(C(λ))i , (i= 0 to n) = ", MatrixForm[Cλ]
Print["λi =", MatrixForm[λvar], "=", MatrixForm[Matλ]]
Print[]
Print"Modal Circular Frequencies (ω ) dan Periode ( T )"
Print"[ω] = [ λ ]"
Print["ωi = ", MatrixForm[ωvar], "=", MatrixForm[Matω]]
Print["[T] = 2π/[ω] "]
Print["Ti=", MatrixForm[Tvar], "=", MatrixForm[MatT]]
phi4 = {1, 1, 1, 1};
RedX = Reduce[m ⩵ 0 /. ϕ4 → 1, {ϕ3, ϕ2, ϕ1}]
phi3 = ϕ3 /. Solve[RedX];
phi2 = ϕ2 /. Solve[RedX];
phi1 = ϕ1 /. Solve[RedX];
Print[]
Print"EIGEN MODES ϕ(j,i)"
Print["ϕ4 = ", phi4]
Print["ϕ3 = ", phi3]
Print["ϕ2 = ", phi2]
Print["ϕ1 = ", phi1]
Matϕ = {phi1, phi2, phi3, phi4} ;
ϕvar = {ϕ1i, ϕ2i, ϕ3i, ϕ4i};
Print["[ϕ] =", MatrixForm[ϕvar], "=", MatrixForm[Matϕ]]
MDOF_SsS1.nb 3

Print[]
Print"MODE SHAPE"
Print["MODE 1"]
ListLinePlot[{{0, 0}, {Matϕ[[1, 1]], 1}, {Matϕ[[2, 1]], 2}, {Matϕ[[3, 1]], 3}, {1, 4}},
PlotRange → {0, 4}, AspectRatio → 1]
Print["MODE 2"]
ListLinePlot[{{0, 0}, {Matϕ[[1, 2]], 1}, {Matϕ[[2, 2]], 2}, {Matϕ[[3, 2]], 3}, {1, 4}},
PlotRange → {0, 4}, AspectRatio → 1]
Print["MODE 3"]
ListLinePlot[{{0, 0}, {Matϕ[[1, 3]], 1}, {Matϕ[[2, 3]], 2}, {Matϕ[[3, 3]], 3}, {1, 4}},
PlotRange → {0, 4}, AspectRatio → 1]
Print["MODE 4"]
ListLinePlot[{{0, 0}, {Matϕ[[1, 4]], 1}, {Matϕ[[2, 4]], 2}, {Matϕ[[3, 4]], 3}, {1, 4}},
PlotRange → {0, 4}, AspectRatio → 1]
Print[]
γ
Print"Modal Participation Factors ( i) "
R = M.Matϕ ;
Matϕ2 = Matϕ ^ 2;
Mm = M.Matϕ2 ;
Print["j = 1 to n, 1 atas, n bawah"]
Print["i = mode shape, 1 to n"]
Print["[R] = [M][ϕ]"]
Rvar = {R1, R2, R3, R4};
Mmvar = {"M1*", "M2*", "M3*", "M4*"};
Print["[R] = ", MatrixForm[M], MatrixForm[Matϕ]]
Print["R(j) = ", MatrixForm[Rvar], "=", MatrixForm[R]]
Print"[ϕ2 ] = ", MatrixForm[ϕvar ^ 2], "=", MatrixForm[Matϕ2]
Print"[M*] = [M][ϕ2 ]"
Print["[M*] = ", MatrixForm[M], MatrixForm[Matϕ2]]
Print["M*(j) = ", MatrixForm[Mmvar], "=", MatrixForm[Mm]]
Print["[γ] =[R]/[M*]"]
γvar = {γ1, γ2, γ3, γ4};
Print["γ(j) =", MatrixForm[γvar], "=",
MatrixForm[R], "/", MatrixForm[Mm], "=", MatrixForm[γ]]
Print[]
Print"Response Spektrum (Cdi) "
Ts = SD1  SDS;
To = 0.2 * Ts;
For i = 1, i ≤ n,
If MatT[[i]] < To, Sa[i] = SDS * 0.4 + 0.6 * MatT[[i]]  To,
IfMatT[[i]] > Ts, Sa[i] = SD1  MatT[[i]], Sa[i] = SDS;
i ++
Cdy = Array[Sa, n];
Cdx = Cdy  Matλ;
Cd = g * Cdx;
Cdz = {g * Cdy};
Cvar = {Cd1, Cd2, Cd3, Cd4};
Print["Ts = ", SD1, "/", SDS, " = ", Ts]
Print["To = 0.2*", Ts, " = ", To]
Print ["T <To ; Sa = SDs(0.4 + 0.6*T/To)"]
4 MDOF_SsS1.nb

Print ["To ≤ T < Ts ; Sa = SDs"]


Print ["T ≥ Ts ; Sa = SD1/T"]
Print["T(i) = ", MatrixForm[MatT], "→ Sa(i) = ", MatrixForm[Cdy]]
Print["Cd(i) = g*Sa(i)/λ(i)"]
Print["Cd(i) = ", MatrixForm[Cvar], "= ", g, "*",
MatrixForm[Cdy], "/", MatrixForm[Matλ], "=", MatrixForm[Cd]]
Aa = R / Mm * Cd;
γ = R / Mm;
G5 = DiagonalMatrix[γ];
G2 = IdentityMatrix[4];
G3 = Table[{1}, 4];
CD1 = G3.Cdz;
CD = G2 * CD1;
Print[]
Print"GAYA LATERAL TIAP LANTAI ( F )"
Print["[M] =", MatrixForm[MatM]]
Print["[ϕ] =", MatrixForm[Matϕ]]
Print["[γ] =", MatrixForm[G5]]
Print["[Cd] =", MatrixForm[CD]]
MatF = MatM.Matϕ.G5.CD;
Fvar = {F1i, F2i, F3i, F4i};
Vvar = {V1i, V2i, V3i, V4i};
Vvar1 = {V2i + F1i, V3i + F2i, V4i + F3i, F4i};
Print["[F] = [M][ϕ][γ][Cd]"]
Print["F(j,i) =", MatrixForm[Fvar], "=", MatrixForm[MatF]]
Print[]
Print"MAXIMUM SHEAR FORCE ( V )"
V4 = MatF[[4]];
V3 = V4 + MatF[[3]];
V2 = V3 + MatF[[2]];
V1 = V2 + MatF[[1]];
V9 = {V1, V2, V3, V4};
V12 = V1 ^ 2;
V22 = V2 ^ 2;
V32 = V3 ^ 2;
V42 = V4 ^ 2;
V92 = {V12, V22, V32, V42};
V12s = V12[[1]] + V12[[2]] + V12[[3]] + V12[[4]];
V22s = V22[[1]] + V22[[2]] + V22[[3]] + V22[[4]];
V32s = V32[[1]] + V32[[2]] + V32[[3]] + V32[[4]];
V42s = V42[[1]] + V42[[2]] + V42[[3]] + V42[[4]];
V92s = {V12s, V22s, V32s, V42s};
Print["V(j,i) =", MatrixForm[Vvar], "=", MatrixForm[Vvar1], "=", MatrixForm[V9]]
Print[]
Print"SUPER POSISI "
Print"[V(j,i)]2 =", MatrixForm[Vvar ^ 2], "=", MatrixForm[V92]
Vvar2 = "∑" * Vvar ^ 2;
Vvar3 = Vvar2 ;
4
Print"Vj2 =[V(j,i)]2 =", MatrixForm[Vvar2], "=", MatrixForm[V92s]
i=1
MDOF_SsS1.nb 5

4
2
Print"V(j) =  V j, i =", MatrixForm[Vvar3], "=", MatrixForm[V92s ^ .5]
i=1

DIKETAHUI
m1 0 0 0 5.21305 0. 0. 0.
[M] = 0 m2 0 0 = 0. 4.49949 0. 0.
0 0 m3 0 0. 0. 4.49949 0.
0 0 0 m4 0. 0. 0. 3.
(K1+K2) -K2 0 0 5150 -2400 0 0
[K] = -K2 (K2+K3) -K3 0 = -2400 4400 -2000 0
0 -K3 (K3+K4) -K4 0 -2000 3600 -1600
0 0 -K4 (K4) 0 0 -1600 1600

Modal Segmentation
(K1+K2) - λ m1 (K1+K2) (K1+K2) (K1+K2) -K2 - λ m1 -K2
(K1+K2) (K1+K2) - λ m2 (K1+K2) (K1+K2) -K2 -K2 - λ
(K1+K2) (K1+K2) (K1+K2) - λ m3 (K1+K2) -K2 -K2
(K1+K2) (K1+K2) (K1+K2) (K1+K2) - λ m4 -K2 -K2
-K2 - λ m1 -K2 -K2 -K2 (K2+K3) - λ m1 (K2+K3)
-K2 -K2 - λ m2 -K2 -K2 (K2+K3) (K2+K3) - λ
-K2 -K2 -K2 - λ m3 -K2 (K2+K3) (K2+K3)
-K2 -K2 -K2 -K2 - λ m4 (K2+K3) (K2+K3)
[K]-λ[M] =
-λ m1 0 0 0 -K3 - λ m1 -K3
0 -λ m2 0 0 -K3 -K3 - λ
0 0 -λ m3 0 -K3 -K3
0 0 0 -λ m4 -K3 -K3
-λ m1 0 0 0 -λ m1 0
0 -λ m2 0 0 0 -λ
0 0 -λ m3 0 0 0
0 0 0 -λ m4 0 0

MENCARI NILAI (λ)


f(λ) = 0 = 2.112 × 1013 - 3.56574 × 1011 λ + 1.07057 × 109 λ2 - 1.0446 × 106 λ3 + 316.621 λ4
2.112 × 1013
-3.56574 × 1011
(C(λ))i , (i= 0 to n) = 1.07057 × 109
-1.0446 × 106
316.621
λ1 74.8509
λi = λ2 = 503.515
λ3 1076.04
λ4 1644.81

Modal Circular Frequencies (ω ) dan Periode ( T )


[ω] = [ λ ]
ω1 8.65164
ωi = ω2 = 22.4391
ω3 32.8031
ω4 40.5563
[T] = 2π/[ω]
6 MDOF_SsS1.nb

T1 0.726242
Ti= T2 = 0.28001
T3 0.191543
T4 0.154925
Reduce: Reduce was unable to solve the system with inexact coefficients. The answer was obtained by solving a corresponding
exact system and numericizing the result.

Out[ ]= λ ⩵ 74.8509 || λ ⩵ 503.515 || λ ⩵ 1076.04 || λ ⩵ 1644.81 && ϕ3 ⩵ 0.000625 1600. - 3. λ &&


ϕ2 ⩵ 3.39863 × 10-17 2.94236 × 1016 - 1.655 × 1014 λ + 1.24117 × 1011 λ2  &&
ϕ1 ⩵ 2.88704 × 10-23 3.46375 × 1022 - 3.68 × 1020 λ + 6.33129 × 1017 λ2 - 2.73926 × 1014 λ3 

Solve: Solve was unable to solve the system with inexact coefficients. The answer was obtained by solving a corresponding
exact system and numericizing the result.

Solve: Solve was unable to solve the system with inexact coefficients. The answer was obtained by solving a corresponding
exact system and numericizing the result.

Solve: Solve was unable to solve the system with inexact coefficients. The answer was obtained by solving a corresponding
exact system and numericizing the result.

EIGEN MODES ϕ(j,i)


ϕ4 = {1, 1, 1, 1}

ϕ3 = {0.859655, 0.0559096, -1.01758, -2.08402}

ϕ2 = {0.602616, -0.762696, -0.168266, 3.16048}

ϕ1 = {0.303853, -0.724895, 0.878946, -2.21498}


ϕ1i 0.303853 -0.724895 0.878946 -2.21498
[ϕ] = ϕ2i = 0.602616 -0.762696 -0.168266 3.16048
ϕ3i 0.859655 0.0559096 -1.01758 -2.08402
ϕ4i 1 1 1 1

MODE SHAPE
MODE 1
MDOF_SsS1.nb 7

Out[ ]= 2

0.0 0.2 0.4 0.6 0.8 1.0

MODE 2
4

Out[ ]= 2

-0.5 0.0 0.5 1.0

MODE 3
8 MDOF_SsS1.nb

Out[ ]= 2

-1.0 -0.5 0.0 0.5 1.0

MODE 4
4

Out[ ]= 2

-2 -1 0 1 2 3

Modal Participation Factors (γi)


j = 1 to n, 1 atas, n bawah

i = mode shape, 1 to n
MDOF_SsS1.nb 9

[R] = [M][ϕ]
5.21305 0.303853 -0.724895 0.878946 -2.21498
[R] = 4.49949 0.602616 -0.762696 -0.168266 3.16048
4.49949 0.859655 0.0559096 -1.01758 -2.08402
3. 1 1 1 1
R1 11.1635
R(j) = R2 = -3.95909
R3 2.24629
R4 -3.70328
ϕ1i2 0.0923267 0.525473 0.772546 4.90615
ϕ2i2 0.363147 0.581705 0.0283136 9.98863
[ϕ2 ] = =
ϕ3i2 0.739006 0.00312588 1.03547 4.34314
ϕ4i2 1 1 1 1

[M*] = [M][ϕ2 ]
5.21305 0.0923267 0.525473 0.772546 4.90615
[M*] = 4.49949 0.363147 0.581705 0.0283136 9.98863
4.49949 0.739006 0.00312588 1.03547 4.34314
3. 1 1 1 1
M1* 8.44043
M*(j) = M2* = 8.37076
M3* 11.8138
M4* 93.0616
[γ] =[R]/[M*]
γ1 11.1635 8.44043
γ(j) = γ2 = -3.95909 / 8.37076 =γ
γ3 2.24629 11.8138
γ4 -3.70328 93.0616

Response Spektrum (Cdi)


Ts = 0.1647/0.442 = 0.372624

To = 0.2*0.372624 = 0.0745249

T <To ; Sa = SDs(0.4 + 0.6*T/To)

To ≤ T < Ts ; Sa = SDs

T ≥ Ts ; Sa = SD1/T
0.726242 0.226784
T(i) = 0.28001 → Sa(i) = 0.442
0.191543 0.442
0.154925 0.442
Cd(i) = g*Sa(i)/λ(i)
Cd1 0.226784 74.8509 2.97224
Cd(i) = Cd2 = 981* 0.442 / 503.515 = 0.86115
Cd3 0.442 1076.04 0.40296
Cd4 0.442 1644.81 0.263618

GAYA LATERAL TIAP LANTAI ( F )


5.21305 0. 0. 0.
[M] = 0. 4.49949 0. 0.
0. 0. 4.49949 0.
0. 0. 0. 3.
10 MDOF_SsS1.nb

0.303853 -0.724895 0.878946 -2.21498


[ϕ] = 0.602616 -0.762696 -0.168266 3.16048
0.859655 0.0559096 -1.01758 -2.08402
1 1 1 1
1.32262 0. 0. 0.
[γ] = 0. -0.472967 0. 0.
0. 0. 0.190141 0.
0. 0. 0. -0.0397939
222.475 0. 0. 0.
[Cd] = 0. 433.602 0. 0.
0. 0. 433.602 0.
0. 0. 0. 433.602
[F] = [M][ϕ][γ][Cd]
F1i 466.092 774.977 377.765 199.237
F(j,i) = F2i = 797.848 703.78 -62.4207 -245.371
F3i 1138.16 -51.5907 -377.485 161.798
F4i 882.749 -615.238 247.337 -51.7641

MAXIMUM SHEAR FORCE ( V )


V1i F1i + V2i 3284.85 811.928 185.197 63.8991
V(j,i) = V2i = F2i + V3i = 2818.76 36.9509 -192.568 -135.338
V3i F3i + V4i 2020.91 -666.829 -130.148 110.034
V4i F4i 882.749 -615.238 247.337 -51.7641

SUPER POSISI
V1i2 1.07902 × 107 659 227. 34 297.9 4083.09
2 6
V2i
[V(j,i)]2 = 2
= 7.9454 × 10 6 1365.37 37 082.5 18 316.3
V3i 4.08408 × 10 444 661. 16 938.4 12 107.4
V4i2 779 246. 378 518. 61 175.6 2679.52
∑V1i2 1.14878 × 107
4 2
∑V2i 8.00216 × 106
Vj2 =[V(j,i)]2 = 2
=
i=1
∑V3i 4.55778 × 106
2
∑V4i 1.22162 × 106

∑V1i2
3389.37
4
∑V2i2
= 2828.81
2
V(j) =  V j, i =
2134.9
i=1 ∑V3i2 1105.27
∑V4i2

You might also like