Model { Name "ass10p2b" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "100.0" SolverMode "Auto" Solver "ode45" RelTol "1e-3" AbsTol "auto" Refine "1" MaxStep "auto" 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" SaveFormat "Matrix" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" IntegerOverflowMsg "warning" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" ConsistencyChecking "off" ZeroCross on SimulationMode "normal" BlockDataTips on BlockParametersDataTip on BlockAttributesDataTip off BlockPortWidthsDataTip off BlockDescriptionStringDataTip off BlockMaskParametersDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off OptimizeBlockIOStorage on BufferReuse on BooleanDataType off RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "oneshot" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect off Created "Thu Apr 19 13:30:09 2001" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" ModifiedDateFormat "%" LastModifiedDate "Sat Apr 21 17:54:25 2001" ModelVersionFormat "1.%" ConfigurationManager "none" 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 "ass10p2b" Location [12, 74, 754, 502] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom off ReportName "simulink-default.rpt" Block { BlockType Demux Name "Demux" Ports [1, 2, 0, 0, 0] Position [230, 331, 235, 369] Orientation "left" BackgroundColor "black" ShowName off Outputs "2" } Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [390, 331, 395, 369] Orientation "left" ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Scope Name "Scope" Ports [1, 0, 0, 0, 0] Position [530, 24, 560, 56] Floating off Location [434, 149, 758, 388] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope1" Ports [1, 0, 0, 0, 0] Position [520, 134, 550, 166] Floating off Location [100, 152, 424, 391] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "100" YMin "-0.6000000000000001" YMax "0.3999999999999999" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [460, 80, 480, 100] ShowName off IconShape "round" Inputs "|++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1, 0, 0, 0] Position [465, 210, 485, 230] ShowName off IconShape "round" Inputs "|++" SaturateOnIntegerOverflow on } Block { BlockType ToWorkspace Name "To Workspace" Position [650, 35, 710, 65] VariableName "y1" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "StructureWithTime" } Block { BlockType ToWorkspace Name "To Workspace1" Position [585, 355, 645, 385] VariableName "y2" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "StructureWithTime" } Block { BlockType TransferFcn Name "Transfer Fcn" Position [335, 52, 395, 88] Numerator "[12.8]" Denominator "[16.7 1]" } Block { BlockType TransferFcn Name "Transfer Fcn1" Position [335, 117, 395, 153] Numerator "[-18.9]" Denominator "[21.0 1]" } Block { BlockType TransferFcn Name "Transfer Fcn2" Position [335, 177, 395, 213] Numerator "[6.6]" Denominator "[10.9 1]" } Block { BlockType TransferFcn Name "Transfer Fcn3" Position [340, 237, 400, 273] Numerator "[-19.4]" Denominator "[14.4 1]" } Block { BlockType TransportDelay Name "Transport\nDelay" Position [285, 55, 315, 85] DelayTime "1" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay1" Position [285, 120, 315, 150] DelayTime "3" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay2" Position [285, 180, 320, 210] DelayTime "7" InitialInput "0" BufferSize "1024" } Block { BlockType TransportDelay Name "Transport\nDelay3" Position [290, 240, 320, 270] DelayTime "3" InitialInput "0" BufferSize "1024" } Block { BlockType Reference Name "nlmpcsim" Ports [1, 1, 0, 0, 0] Position [280, 335, 345, 365] Orientation "left" SourceBlock "nlmpclib/nlmpcsim" SourceType "MPCSIM-SIMULINK link" MaskParam1 "[model dmodel]" MaskParam2 "Kmpc" MaskParam3 "r" MaskParam4 "usat" MaskParam5 "tfilter" MaskParam6 "[u0 d0]" } Line { SrcBlock "Transport\nDelay" SrcPort 1 DstBlock "Transfer Fcn" DstPort 1 } Line { SrcBlock "Transport\nDelay2" SrcPort 1 DstBlock "Transfer Fcn2" DstPort 1 } Line { SrcBlock "Transport\nDelay1" SrcPort 1 DstBlock "Transfer Fcn1" DstPort 1 } Line { SrcBlock "Transport\nDelay3" SrcPort 1 DstBlock "Transfer Fcn3" DstPort 1 } Line { SrcBlock "Transfer Fcn1" SrcPort 1 Points [70, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Transfer Fcn" SrcPort 1 Points [30, 0; 0, 20] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Transfer Fcn2" SrcPort 1 Points [30, 0; 0, 25] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Transfer Fcn3" SrcPort 1 Points [70, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "nlmpcsim" DstPort 1 } Line { SrcBlock "nlmpcsim" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [-160, 0; 0, -200; 135, 0] Branch { Points [0, -70] DstBlock "Transport\nDelay" DstPort 1 } Branch { Points [0, 55] DstBlock "Transport\nDelay2" DstPort 1 } } Line { SrcBlock "Demux" SrcPort 2 Points [-110, 0; 0, -135; 85, 0] Branch { Points [0, 30] DstBlock "Transport\nDelay3" DstPort 1 } Branch { Points [55, 0; 0, -90] DstBlock "Transport\nDelay1" DstPort 1 } } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0] Branch { Points [0, -50] DstBlock "Scope" DstPort 1 } Branch { Points [95, 0] Branch { Points [0, 250] DstBlock "Mux" DstPort 1 } Branch { Points [45, 0] DstBlock "To Workspace" DstPort 1 } } } Line { SrcBlock "Sum1" SrcPort 1 Points [15, 0] Branch { DstBlock "Scope1" DstPort 1 } Branch { Points [20, 0; 0, 135] Branch { Points [-115, 0] DstBlock "Mux" DstPort 2 } Branch { Points [0, 15] DstBlock "To Workspace1" DstPort 1 } } } } }