📄 block54.mdl
字号:
Model { Name "block54" Version 2.00 SimParamPage Solver SampleTimeColors off WideVectorLines on PaperOrientation landscape StartTime "0.0" StopTime "999999" Solver ode45 RelTol "1e-3" AbsTol "1e-6" Refine "5" MaxStep "auto" InitialStep "auto" FixedStep "auto" MaxOrder 5 OutputOption RefineOutputTimes OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime off TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput off 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 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 } System { Name "block54" Location [36, 98, 621, 461] Open on ScreenColor white Block { BlockType Mux Name "Mux" Position [195, 141, 225, 174] BackgroundColor magenta DropShadow on ShowName off Inputs "2" } Block { BlockType DiscreteStateSpace Name "RST 2" Position [255, 138, 370, 182] BackgroundColor magenta DropShadow on A "[-r1]" B "[-t0*r1 -s1+s0*r1]" C "1" D "[t0 -s0]" X0 "0" SampleTime "h" } Block { BlockType Step Name "Step Input" Position [55, 140, 75, 160] DropShadow on ShowName off Time "0" Before "0" After "1" } Block { BlockType ZeroOrderHold Name "Zero-Order\nHold" Position [295, 220, 335, 250] Orientation left BackgroundColor magenta DropShadow on ShowName off SampleTime "h" } Block { BlockType ZeroOrderHold Name "Zero-Order\nHold1" Position [110, 135, 150, 165] BackgroundColor magenta DropShadow on ShowName off SampleTime "h" } Block { BlockType ZeroPole Name "Zero-Pole" Position [415, 139, 470, 181] DropShadow on ShowName off Zeros "[]" Poles "[0; -1]" Gain "[K]" } Block { BlockType Outport Name "Outport" Position [525, 150, 545, 170] ShowName off Port "1" OutputWhenDisabled held InitialOutput "0" } Block { BlockType Outport Name "Outport1" Position [415, 90, 435, 110] ShowName off Port "2" OutputWhenDisabled held InitialOutput "0" } Block { BlockType Outport Name "Outport2" Position [115, 85, 135, 105] ShowName off Port "3" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "Step Input" SrcPort 1 Points [0, 0] Branch { Points [10, 0; 0, -55] DstBlock "Outport2" DstPort 1 } Branch { DstBlock "Zero-Order\nHold1" DstPort 1 } } Line { SrcBlock "Zero-Order\nHold1" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "RST 2" SrcPort 1 Points [0, 0] Branch { Points [12, 0; 0, -60] DstBlock "Outport1" DstPort 1 } Branch { DstBlock "Zero-Pole" DstPort 1 } } Line { SrcBlock "Zero-Pole" SrcPort 1 Points [0, 0] Branch { Points [10, 0; 0, 75] DstBlock "Zero-Order\nHold" DstPort 1 } Branch { DstBlock "Outport" DstPort 1 } } Line { SrcBlock "Mux" SrcPort 1 DstBlock "RST 2" DstPort 1 } Line { SrcBlock "Zero-Order\nHold" SrcPort 1 Points [-120, 0; 0, -70] DstBlock "Mux" DstPort 2 } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -