SID-2015-Tutorial 3-Ruaumoko and Dynaplot in Batch Mode
SID-2015-Tutorial 3-Ruaumoko and Dynaplot in Batch Mode
David Welch
PhD. Candidate
Input
EXECUTABLE Output File Input File
Loading
*NOTE: The batch file is a simple text file (Notepad) but saved
with a “.bat” extension. Be careful to “edit” in order to modify
once saved as a batch file!
Dynaplot in Batch Mode
Running Dynaplot in Batch Mode is extremely useful, and in
some cases (such as this course) even more so than using it
to run analyses.
The actual batch format is very similar to Ruaumoko...
start/w DYNAPLOT Building_2014_1_d.wri BUILDING_2014_1 LOG1.txt
start/w DYNAPLOT Building_2014_2_d.wri BUILDING_2014_2 LOG2.txt
start/w DYNAPLOT Building_2014_3_d.wri BUILDING_2014_3 LOG3.txt
…Then
Continue
Normally
fclose ('all');
Example Batch File and Key Matlab Commands
So what comes out?
...
1 INTER-STOREY DRIFTS
-------------------
POSITIVE ENVELOPE NEGATIVE ENVELOPE
----------------- -----------------
LEVEL -NODES- DRIFTS TIME DRIFTS TIME
2 41 49 1.631E-02 8.976 -1.135E-02 9.670
3 33 41 1.349E-02 9.004 -1.042E-02 9.640
4 25 33 9.570E-03 9.018 -8.203E-03 9.608
5 17 25 6.706E-03 5.446 -6.191E-03 9.538
6 9 17 7.088E-03 5.426 -6.765E-03 9.472
7 1 9 4.874E-03 5.416 -5.169E-03 9.472
...
The .WRI Output File
The following example illustrates how the periods of the building
may be obtained from the .wri file using MATLAB:
1 NATURAL FREQUENCIES
-------------------
0
-0.5
-1
0 5 10 15 20 25 30
Time [s]
1.4 0.35
example
1.2 0.3 •The record is scaled to seven
1 0.25 different intensity levels
S (T) [m]
S (T) [g]
0 0
0 0.5 1 1.5 2
Period, T [s]
.WRI Output File: Single Record IDA Example
1 Sa (T1) Scale Peak IDR
Rec 120111, SF=1 Intensity [g] Factor [%]
0.5 PGA=0.42g 1 0.170 0.25 0.47%
Acc [g]
1.2 0.3
1
1 0.25
S (T =1.3s) [g]
S (T) [m]
S (T) [g]
0.8
0.8 0.2
a
1
d
0.6
a
0.6 0.15
Intensity 7 not shown
0.4
0.4
Spectral Acc.
Spectral Disp 0.1 (Collapse)
T1=1.3 s
0 0 0
0 0.5 1 1.5 2 0 1.0% 2.0% 3.0% 4.0% 5.0%
Period, T [s] Peak Inter-storey Drift, θ [%]
.WRI Output File: Single Record IDA Example
5 5
4 4
Level
Level
3 3
2 2
0 < µφ < 3 3 ≤ µφ < 7 7 ≤ µφ < 11 µφ ≥ 11
1
1 1 Rec 120111, SF=0.25
0.5
Acc [g]
PGA=0.1g
0
-0.5
0 0
0 1.0% 2.0% 3.0% 4.0% 0 0.25 0.5 0.75 1.0 -1
Inter-Storey Drift, θ [%] Peak Floor Accel., PFA [g] 0 5 10 15 20 25 30
Time [s]
.WRI Output File: Single Record IDA Example
5 5
4 4
Level
Level
3 3
2 2
0 < µφ < 3 3 ≤ µφ < 7 7 ≤ µφ < 11 µφ ≥ 11
1
1 1 Rec 120111, SF=0.5
0.5
Acc [g]
PGA=0.21g
0
-0.5
0 0
0 1.0% 2.0% 3.0% 4.0% 0 0.25 0.5 0.75 1.0 -1
Inter-Storey Drift, θ [%] Peak Floor Accel., PFA [g] 0 5 10 15 20 25 30
Time [s]
.WRI Output File: Single Record IDA Example
5 5
4 4
Level
Level
3 3
2 2
0 < µφ < 3 3 ≤ µφ < 7 7 ≤ µφ < 11 µφ ≥ 11
1
1 1 Rec 120111, SF=0.75
0.5
Acc [g]
PGA=0.31g
0
-0.5
0 0
0 1.0% 2.0% 3.0% 4.0% 0 0.25 0.5 0.75 1.0 -1
Inter-Storey Drift, θ [%] Peak Floor Accel., PFA [g] 0 5 10 15 20 25 30
Time [s]
.WRI Output File: Single Record IDA Example
5 5
4 4
Level
Level
3 3
2 2
0 < µφ < 3 3 ≤ µφ < 7 7 ≤ µφ < 11 µφ ≥ 11
1
1 1 Rec 120111, SF=1
0.5 PGA=0.42g
Acc [g]
0
-0.5
0 0
0 1.0% 2.0% 3.0% 4.0% 0 0.25 0.5 0.75 1.0 -1
Inter-Storey Drift, θ [%] Peak Floor Accel., PFA [g] 0 5 10 15 20 25 30
Time [s]
.WRI Output File: Single Record IDA Example
5 5
4 4
Level
Level
3 3
2 2
0 < µφ < 3 3 ≤ µφ < 7 7 ≤ µφ < 11 µφ ≥ 11
1
1 1 PGA=0.62g Rec 120111, SF=1.5
0.5
Acc [g]
0
-0.5
0 0
0 1.0% 2.0% 3.0% 4.0% 0 0.25 0.5 0.75 1.0 -1
Inter-Storey Drift, θ [%] Peak Floor Accel., PFA [g] 0 5 10 15 20 25 30
Time [s]
.WRI Output File: Single Record IDA Example
5 5
4 4
Level
Level
3 3
2 2
0 < µφ < 3 3 ≤ µφ < 7 7 ≤ µφ < 11 µφ ≥ 11
1
1 1 PGA=0.65g Rec 120111, SF=1.57
0.5
Acc [g]
0
-0.5
0 0
0 1.0% 2.0% 3.0% 4.0% 0 0.25 0.5 0.75 1.0 -1
Inter-Storey Drift, θ [%] Peak Floor Accel., PFA [g] 0 5 10 15 20 25 30
Time [s]
.WRI Output File: Single Record IDA Example
5 5
4 4
Level
Level
3 3
2 2
0 < µφ < 3 3 ≤ µφ < 7 7 ≤ µφ < 11 µφ ≥ 11
1
1 1 PGA=0.71g Rec 120111, SF=1.7
0.5
Acc [g]
0
-0.5
0 0
0 1.0% 2.0% 3.0% 4.0% 0 0.25 0.5 0.75 1.0 -1
Inter-Storey Drift, θ [%] Peak Floor Accel., PFA [g] 0 5 10 15 20 25 30
Time [s]
Recommendations
• Regardless of using MATLAB or not, making and CHECKING
template files to enable batch mode is HIGHLY
recommended
• Don’t forget to use the Kill QuickWin Error
• Use a consistent naming scheme for all files
• HINT 1: Utilize the trade offs between Dynaplot and the
.WRI file (Conceptual, Intermediate, Final Analyses)
• HINT 2: Take advantage of the initial phases having a finite
number of analyses to prepare and DEFINE the analysis/
visualization processes that you will want to include.