-
Notifications
You must be signed in to change notification settings - Fork 0
/
DABEX.MDL
executable file
·186 lines (186 loc) · 4.55 KB
/
DABEX.MDL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
Model {
Name "dabex"
Version 2.20
SimParamPage Solver
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
StartTime "0.0"
StopTime "0.099"
Solver ode45
RelTol "1e-4"
AbsTol "1e-6"
Refine "1"
MaxStep "1e-4"
InitialStep "auto"
FixedStep "auto"
MaxOrder 5
OutputOption RefineOutputTimes
OutputTimes "[]"
LoadExternalInput off
ExternalInput "[t, u]"
SaveTime on
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput on
OutputSaveName "yout"
LoadInitialState off
InitialState "xInitial"
SaveFinalState off
FinalStateName "xFinal"
LimitMaxRows off
MaxRows "1000"
Decimation "1"
AlgebraicLoopMsg warning
MinStepSizeMsg warning
UnconnectedInputMsg warning
UnconnectedOutputMsg warning
UnconnectedLineMsg warning
ConsistencyChecking off
ZeroCross on
SimulationMode normal
RTWSystemTargetFile "grt.tlc"
RTWInlineParameters off
RTWPlaceOutputsASAP off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_vc.tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
BlockDefaults {
Orientation right
ForegroundColor black
BackgroundColor white
DropShadow off
NamePlacement normal
FontName "Helvetica"
FontSize 10
FontWeight normal
FontAngle normal
ShowName on
}
AnnotationDefaults {
HorizontalAlignment center
VerticalAlignment middle
ForegroundColor black
BackgroundColor white
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight normal
FontAngle normal
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight normal
FontAngle normal
}
System {
Name "dabex"
Location [11, 88, 407, 327]
Open on
ToolBar on
StatusBar off
ScreenColor white
PaperOrientation landscape
PaperPositionMode auto
PaperType usletter
PaperUnits inches
Block {
BlockType Scope
Name "Analog&Digital\nSignals"
Ports [1, 0, 0, 0, 0]
Position [320, 85, 350, 115]
BackgroundColor green
Floating off
Location [524, 34, 953, 325]
Open off
Grid on
TickLabels on
ZoomMode xonly
TimeRange "auto"
YMin "-10 "
YMax "10 "
SaveToWorkspace off
SaveName "ScopeData"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Reference
Name "DAB"
Ports [1, 1, 0, 0, 0]
Position [150, 65, 200, 115]
BackgroundColor yellow
SourceBlock "elements/DAB"
SourceType "Data Adquisition Board"
filter off
approx Bessel
order 2
numerator "[]"
denominator "[]"
freq "200"
resdis off
vertres 12
xmax "10"
winsize "1"
G "1.0"
fs "60*20"
}
Block {
BlockType Reference
Name "Fault Signal"
Ports [0, 2, 0, 0, 0]
Position [25, 75, 90, 135]
BackgroundColor lightBlue
SourceBlock "inputs/Fault Signal"
SourceType "Fault Signal Generator"
pre_fault "[10 45]"
post_fault "[4 90]"
fr_dc "[60 1.25/60 0.0004]"
oscA "[1.0 0.8 0.9]"
oscf "[800 1000 3000]"
oscT "[0.050 0.030 0.060]"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1, 0, 0, 0]
Position [235, 82, 270, 118]
Inputs "2"
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Analog&Digital\nSignals"
DstPort 1
}
Line {
SrcBlock "Fault Signal"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "DAB"
DstPort 1
}
Branch {
Points [0, 45; 100, 0]
DstBlock "Mux"
DstPort 2
}
}
Line {
SrcBlock "DAB"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
}
}