📄 block87.mdl
字号:
Model { Name "block87" Version 2.00 SimParamPage Solver SampleTimeColors off WideVectorLines on PaperOrientation landscape StartTime "0.0" StopTime "10" Solver ode45 RelTol "1e-8" AbsTol "1e-6" Refine "1" 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 "block87" Location [25, 225, 524, 461] Open on ScreenColor white Block { BlockType SubSystem Name "Double\n integrator" Position [185, 97, 215, 148] DropShadow on ShowPortLabels off System { Name "Double\n integrator" Location [425, 467, 618, 623] Open off ScreenColor white Block { BlockType Inport Name "in_1" Position [30, 60, 50, 80] Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Integrator Name "x5" Position [125, 60, 145, 80] ExternalReset none InitialConditionSource internal InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "x6" Position [80, 60, 100, 80] ExternalReset none InitialConditionSource internal InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Outport Name "out_1" Position [170, 60, 190, 80] Port "1" OutputWhenDisabled held InitialOutput "0" } Block { BlockType Outport Name "out_2" Position [170, 100, 190, 120] Port "2" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "in_1" SrcPort 1 DstBlock "x6" DstPort 1 } Line { SrcBlock "x6" SrcPort 1 Points [0, 0] Branch { DstBlock "x5" DstPort 1 } Branch { Points [0, 40] DstBlock "out_2" DstPort 1 } } Line { SrcBlock "x5" SrcPort 1 DstBlock "out_1" DstPort 1 } } } Block { BlockType SubSystem Name "dstfb" Position [100, 99, 130, 151] BackgroundColor magenta DropShadow on ShowPortLabels off System { Name "dstfb" Location [413, 300, 772, 629] Open off ScreenColor magenta Block { BlockType Inport Name "uc" Position [10, 70, 30, 90] Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Inport Name "x1" Position [10, 120, 30, 140] Port "2" PortWidth "-1" SampleTime "-1" } Block { BlockType Inport Name "x2" Position [10, 170, 30, 190] Port "3" PortWidth "-1" SampleTime "-1" } Block { BlockType Sum Name "Sum2" Position [200, 112, 220, 148] BackgroundColor magenta DropShadow on ShowName off Inputs "+--" } Block { BlockType ZeroOrderHold Name "ZoH4" Position [60, 65, 100, 95] BackgroundColor magenta DropShadow on SampleTime "h" } Block { BlockType ZeroOrderHold Name "ZoH5" Position [60, 115, 100, 145] BackgroundColor magenta DropShadow on SampleTime "h" } Block { BlockType ZeroOrderHold Name "ZoH6" Position [60, 165, 100, 195] BackgroundColor magenta DropShadow on SampleTime "h" } Block { BlockType Gain Name "l3" Position [120, 115, 150, 145] BackgroundColor magenta DropShadow on ShowName off Gain "l1" } Block { BlockType Gain Name "l4" Position [120, 165, 150, 195] BackgroundColor magenta DropShadow on ShowName off Gain "l2" } Block { BlockType Gain Name "m1" Position [120, 65, 150, 95] BackgroundColor magenta DropShadow on ShowName off Gain "m" } Block { BlockType Outport Name "u" Position [250, 120, 270, 140] Port "1" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "x2" SrcPort 1 DstBlock "ZoH6" DstPort 1 } Line { SrcBlock "x1" SrcPort 1 DstBlock "ZoH5" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "u" DstPort 1 } Line { SrcBlock "uc" SrcPort 1 DstBlock "ZoH4" DstPort 1 } Line { SrcBlock "ZoH4" SrcPort 1 DstBlock "m1" DstPort 1 } Line { SrcBlock "m1" SrcPort 1 Points [20, 0; 0, 40] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "ZoH5" SrcPort 1 DstBlock "l3" DstPort 1 } Line { SrcBlock "ZoH6" SrcPort 1 DstBlock "l4" DstPort 1 } Line { SrcBlock "l4" SrcPort 1 Points [20, 0; 0, -40] DstBlock "Sum2" DstPort 3 } Line { SrcBlock "l3" SrcPort 1 DstBlock "Sum2" DstPort 2 } } } Block { BlockType Step Name "uc" Position [25, 100, 45, 120] DropShadow on Time "0" Before "0" After "1" } Block { BlockType Outport Name "y" Position [370, 85, 390, 105] Port "1" OutputWhenDisabled held InitialOutput "0" } Block { BlockType Outport Name "v" Position [370, 125, 390, 145] Port "2" OutputWhenDisabled held InitialOutput "0" } Block { BlockType Outport Name "u" Position [180, 45, 200, 65] Port "3" OutputWhenDisabled held InitialOutput "0" } Block { BlockType Outport Name "uc1" Position [70, 50, 90, 70] Port "4" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "uc" SrcPort 1 Points [0, 0] Branch { Points [5, 0] DstBlock "uc1" DstPort 1 } Branch { DstBlock "dstfb" DstPort 1 } } Line { SrcBlock "Double\n integrator" SrcPort 1 Points [55, 0] Branch { Points [0, 95; -215, 0; 0, -80] DstBlock "dstfb" DstPort 2 } Branch { Points [50, 0; 0, -15] DstBlock "y" DstPort 1 } } Line { SrcBlock "Double\n integrator" SrcPort 2 Points [35, 0] Branch { Points [0, 55; -175, 0; 0, -50] DstBlock "dstfb" DstPort 3 } Branch { DstBlock "v" DstPort 1 } } Line { SrcBlock "dstfb" SrcPort 1 Points [0, 0] Branch { Points [15, 0; 0, -70] DstBlock "u" DstPort 1 } Branch { DstBlock "Double\n integrator" DstPort 1 } } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -