Professional Documents
Culture Documents
4 Floors
oleh :
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,
IfMatT[[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
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
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.
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.
MODE SHAPE
MODE 1
MDOF_SsS1.nb 7
Out[ ]= 2
MODE 2
4
Out[ ]= 2
MODE 3
8 MDOF_SsS1.nb
Out[ ]= 2
MODE 4
4
Out[ ]= 2
-2 -1 0 1 2 3
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
To = 0.2*0.372624 = 0.0745249
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
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