📄 sim_nlbm.mdl
字号:
BlockType Outport Name "u" Position [50, 75, 70, 95] Orientation left NamePlacement alternate Port "1" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "ys" SrcPort 1 DstBlock "A/D Converter" DstPort 1 } Line { SrcBlock "A/D Converter" SrcPort 1 DstBlock "Discrete Controller" DstPort 1 } Line { SrcBlock "Discrete Controller" SrcPort 1 DstBlock "D/A Converter" DstPort 1 } Line { SrcBlock "D/A Converter" SrcPort 1 DstBlock "u" DstPort 1 } Annotation { Position [246, 27] Text "Replace the contents of this block\nwith a ""model of your control algorithm(s)" } } } Block { BlockType SubSystem Name "Ground Accel" Ports [0, 4, 0, 0, 0] Position [25, 116, 75, 179] ShowPortLabels on System { Name "Ground Accel" Location [214, 295, 381, 443] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType FromFile Name "El Centro_data" Position [35, 27, 100, 43] FileName "elcentro.mat" } Block { BlockType FromFile Name "Hachinohe_data" Position [25, 67, 100, 83] FileName "hachinhe.mat" } Block { BlockType FromFile Name "Kobe_data" Position [50, 137, 100, 153] FileName "kobe.mat" } Block { BlockType FromFile Name "Northridge_data" Position [25, 102, 100, 118] FileName "northrdg.mat" } Block { BlockType Outport Name "El Centro" Position [125, 28, 155, 42] Port "1" OutputWhenDisabled held InitialOutput "[]" } Block { BlockType Outport Name "Hachinohe" Position [125, 68, 155, 82] Port "2" OutputWhenDisabled held InitialOutput "[]" } Block { BlockType Outport Name "Northridge" Position [125, 103, 155, 117] Port "3" OutputWhenDisabled held InitialOutput "[]" } Block { BlockType Outport Name "Kobe" Position [125, 138, 155, 152] Port "4" OutputWhenDisabled held InitialOutput "[]" } Line { SrcBlock "El Centro_data" SrcPort 1 DstBlock "El Centro" DstPort 1 } Line { SrcBlock "Hachinohe_data" SrcPort 1 DstBlock "Hachinohe" DstPort 1 } Line { SrcBlock "Northridge_data" SrcPort 1 DstBlock "Northridge" DstPort 1 } Line { SrcBlock "Kobe_data" SrcPort 1 DstBlock "Kobe" DstPort 1 } } } Block { BlockType SubSystem Name "Nonlinear Evaluation\nModel" Ports [2, 3, 0, 0, 0] Position [255, 138, 330, 192] ShowPortLabels on System { Name "Nonlinear Evaluation\nModel" Location [660, 89, 1026, 296] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType Inport Name "xddg" Position [55, 63, 85, 77] Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Inport Name "f" Position [55, 103, 85, 117] Port "2" PortWidth "-1" SampleTime "-1" } Block { BlockType "S-Function" Name "Nonlinear Analysis" Ports [2, 3, 0, 0, 0] Position [125, 51, 210, 129] FunctionName "Nonlin_Block15" Parameters "MM,CC,KK" PortCounts "[]" SFunctionModules "''" } Block { BlockType Outport Name "ye" Position [290, 33, 320, 47] Port "1" OutputWhenDisabled held InitialOutput "[]" } Block { BlockType Outport Name "ym" Position [285, 83, 315, 97] Port "2" OutputWhenDisabled held InitialOutput "[]" } Block { BlockType Outport Name "yc" Position [285, 133, 315, 147] Port "3" OutputWhenDisabled held InitialOutput "[]" } Line { SrcBlock "xddg" SrcPort 1 DstBlock "Nonlinear Analysis" DstPort 1 } Line { SrcBlock "f" SrcPort 1 DstBlock "Nonlinear Analysis" DstPort 2 } Line { SrcBlock "Nonlinear Analysis" SrcPort 1 Points [35, 0; 0, -25] DstBlock "ye" DstPort 1 } Line { SrcBlock "Nonlinear Analysis" SrcPort 2 DstBlock "ym" DstPort 1 } Line { SrcBlock "Nonlinear Analysis" SrcPort 3 Points [35, 0; 0, 25] DstBlock "yc" DstPort 1 } } } Block { BlockType SubSystem Name "Sensors " Ports [1, 1, 0, 0, 0] Position [375, 286, 420, 314] Orientation left ShowPortLabels on System { Name "Sensors " Location [870, 506, 1175, 749] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType Inport Name "ym" Position [255, 95, 275, 115] Orientation left NamePlacement alternate Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Reference Name "Measurement \nNoise (v)" Ports [0, 1, 0, 0, 0] Position [245, 150, 275, 180] Orientation left SourceBlock "simulink/Sources/Band-Limited\nWhite Noise" SourceType "Continuous White Noise." Cov "NP_snr" Ts "ST_snr" seed "Seed_snr" } Block { BlockType StateSpace Name "Sensor\nGains (Ds)" Position [200, 94, 220, 116] Orientation left NamePlacement alternate A "[]" B "[]" C "[]" D "K" X0 "0" MaskType "Matrix Gain" MaskDescription "Matrix Gain." MaskHelp "Multiplies input vector by entered matrix t""o produce output vector (y=Au)." MaskPromptString "Gain matrix:" MaskStyleString "edit" MaskTunableValueString "on" MaskInitialization "K=@1; " MaskDisplay "disp('K')" MaskIconFrame on MaskIconOpaque on MaskIconRotate none MaskIconUnits autoscale MaskValueString "Ds" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [135, 118, 150, 147] Orientation left NamePlacement alternate Inputs "++" } Block { BlockType Outport Name "ys" Position [55, 125, 75, 145] Orientation left NamePlacement alternate Port "1" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "Measurement \nNoise (v)" SrcPort 1 Points [-75, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sensor\nGains (Ds)" SrcPort 1 Points [-30, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ym" SrcPort 1 DstBlock "Sensor\nGains (Ds)" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "ys" DstPort 1 } Annotation { Position [176, 32] Text "Replace the contents of this block\nwith a ""model of your sensor(s)" } } } Block { BlockType Gain Name "intensity" Position [145, 143, 170, 167] Gain "intensity" } Line { SrcBlock "Ground Accel" SrcPort 1 Points [50, 0] DstBlock "intensity" DstPort 1 } Line { SrcBlock "intensity" SrcPort 1 DstBlock "Nonlinear Evaluation\nModel" DstPort 1 } Line { SrcBlock "Nonlinear Evaluation\nModel" SrcPort 1 DstBlock " " DstPort 1 } Line { Labels [2, 0] SrcBlock "Nonlinear Evaluation\nModel" SrcPort 2 Points [125, 0; 0, 135] DstBlock "Sensors " DstPort 1 } Line { SrcBlock "Controller" SrcPort 1 DstBlock "Control Devices" DstPort 2 } Line { SrcBlock "Sensors " SrcPort 1 DstBlock "Controller" DstPort 1 } Line { SrcBlock "Nonlinear Evaluation\nModel" SrcPort 3 Points [40, 0; 0, 90] DstBlock "Control Devices" DstPort 1 } Line { SrcBlock "Control Devices" SrcPort 2 DstBlock " " DstPort 1 } Line { SrcBlock "Control Devices" SrcPort 1 Points [0, -95] DstBlock "Nonlinear Evaluation\nModel" DstPort 2 } Line { SrcBlock "Clock" SrcPort 1 DstBlock " " DstPort 1 } Annotation { Position [261, 77] Text "by\nY. Ohtori, R.E. Christenson, B.F. Spencer\n""and S.J. Dyke" FontName "helvetica" } Annotation { Position [261, 42] Text "Benchmark Control Problems\nfor Seismically Exc""ited Nonlinear Buildings" FontName "helvetica" FontSize 12 } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -