Model { Name "Kifaya" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "10.0" SolverMode "SingleTasking" Solver "ode45" RelTol "1e-3" AbsTol "1e-6" 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 off StatusBar off BrowserShowLibraryLinks off BrowserLookUnderMasks off OptimizeBlockIOStorage on BufferReuse on BooleanDataType off RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_vc.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 "Mon Feb 24 14:11:08 2003" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" ModifiedDateFormat "%" LastModifiedDate "Thu Jan 08 19:40:08 2004" 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 "Kifaya" Location [80, 54, 668, 584] Open on ModelBrowserVisibility off ModelBrowserWidth 212 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType Constant Name "Constant" Position [50, 100, 80, 130] Value "220" } Block { BlockType Gain Name "Gain" Position [200, 25, 230, 55] Orientation "left" Gain "Ra" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain1" Position [205, 100, 260, 130] Gain "1/La" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain2" Position [170, 148, 290, 192] Orientation "left" Gain "0.637*kg/La" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain3" Position [200, 207, 245, 233] Gain "1/Lf" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain4" Position [160, 254, 225, 286] Orientation "left" Gain "Rf" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain5" Position [180, 294, 245, 326] Orientation "left" Gain "Km" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain6" Position [200, 340, 265, 370] Gain "1/Jt" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain7" Position [200, 396, 270, 424] Orientation "left" Gain "Bt" SaturateOnIntegerOverflow on } Block { BlockType Integrator Name "Integrator" Ports [1, 1, 0, 0, 0] Position [290, 100, 320, 130] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "Integrator1" Ports [1, 1, 0, 0, 0] Position [280, 205, 310, 235] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "Integrator2" Ports [1, 1, 0, 0, 0] Position [290, 340, 320, 370] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Product Name "Product" Ports [2, 1, 0, 0, 0] Position [340, 152, 370, 183] Orientation "left" Inputs "2" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product1" Ports [2, 1, 0, 0, 0] Position [295, 292, 325, 323] Orientation "left" Inputs "2" SaturateOnIntegerOverflow on } Block { BlockType Reference Name "Ramp1" Ports [0, 1, 0, 0, 0] Position [30, 195, 60, 225] SourceBlock "simulink3/Sources/Ramp" SourceType "Ramp" slope "1" start "0" X0 "0" } Block { BlockType Scope Name "Scope" Ports [1, 0, 0, 0, 0] Position [470, 100, 500, 130] Floating off Location [69, 175, 664, 589] Open off NumInputPorts "1" TickLabels "on" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "0.1318267419962327" YMin "-6.51757" YMax "4.66454" SaveToWorkspace off SaveName "ScopeData" DataFormat "Matrix" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope1" Ports [1, 0, 0, 0, 0] Position [435, 340, 465, 370] Floating off Location [146, 140, 634, 589] Open off NumInputPorts "1" TickLabels "on" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "Matrix" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope2" Ports [1, 0, 0, 0, 0] Position [510, 205, 540, 235] Floating off Location [188, 534, 512, 589] Open off NumInputPorts "1" TickLabels "on" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "Matrix" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope3" Ports [1, 0, 0, 0, 0] Position [30, 290, 60, 320] Orientation "left" NamePlacement "alternate" Floating off Location [188, 350, 512, 589] Open off NumInputPorts "1" TickLabels "on" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "Matrix" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [3, 1, 0, 0, 0] Position [155, 99, 185, 131] IconShape "rectangular" Inputs "-+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1, 0, 0, 0] Position [145, 202, 175, 233] IconShape "rectangular" Inputs "+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1, 0, 0, 0] Position [115, 337, 145, 368] IconShape "rectangular" Inputs "+-" SaturateOnIntegerOverflow on } Block { BlockType ToFile Name "To File" Position [470, 40, 530, 70] Filename "arusja.mat" MatrixName "jangkar" Decimation "1" SampleTime "-1" } Block { BlockType ToFile Name "To File1" Position [500, 255, 560, 285] Filename "arusme.mat" MatrixName "medan" Decimation "1" SampleTime "-1" } Block { BlockType ToFile Name "To File2" Position [445, 395, 505, 425] Filename "kecepatan" MatrixName "kece" Decimation "1" SampleTime "-1" } Line { SrcBlock "Gain" SrcPort 1 Points [-55, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [20, 0] Branch { Points [0, -75] DstBlock "Gain" DstPort 1 } Branch { Points [75, 0] Branch { Points [0, 185] DstBlock "Product1" DstPort 1 } Branch { Points [25, 0] Branch { DstBlock "Scope" DstPort 1 } Branch { Points [0, -60] DstBlock "To File" DstPort 1 } } } } Line { SrcBlock "Gain2" SrcPort 1 Points [-25, 0] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain3" DstPort 1 } Line { SrcBlock "Gain3" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain4" SrcPort 1 Points [-25, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Integrator1" SrcPort 1 Points [40, 0] Branch { Points [0, 50] DstBlock "Gain4" DstPort 1 } Branch { Points [15, 0] Branch { Points [15, 0] DstBlock "Product" DstPort 2 } Branch { Points [100, 0] Branch { Points [0, 95] DstBlock "Product1" DstPort 2 } Branch { Points [15, 0] Branch { DstBlock "Scope2" DstPort 1 } Branch { DstBlock "To File1" DstPort 1 } } } } } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Gain6" DstPort 1 } Line { SrcBlock "Gain6" SrcPort 1 DstBlock "Integrator2" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Gain5" DstPort 1 } Line { SrcBlock "Gain7" SrcPort 1 Points [-95, 0] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Integrator2" SrcPort 1 Points [45, 0] Branch { Points [30, 0] Branch { Points [0, -195] DstBlock "Product" DstPort 1 } Branch { Points [20, 0] Branch { DstBlock "Scope1" DstPort 1 } Branch { Points [0, 55] DstBlock "To File2" DstPort 1 } } } Branch { Points [0, 55] DstBlock "Gain7" DstPort 1 } } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Ramp1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Gain5" SrcPort 1 Points [-75, 0] Branch { DstBlock "Sum2" DstPort 1 } Branch { Points [0, -5] DstBlock "Scope3" DstPort 1 } } Annotation { Position [42, 333] Text "Torsi.mat" } } }