Model { Name "tegangan" Version 5.0 SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ExecutionOrder off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar off BrowserShowLibraryLinks on BrowserLookUnderMasks off Created "Mon Jun 21 14:24:55 2004" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "WinXp" ModifiedDateFormat "%" LastModifiedDate "Fri Dec 24 09:21:48 2004" ModelVersionFormat "1.%" ConfigurationManager "None" SimParamPage "Solver" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "normal" 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 on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on BufferReuse on RTWExpressionDepthLimit 5 SimulationMode "normal" Solver "ode45" SolverMode "Auto" StartTime "0.0" StopTime "3" MaxOrder 5 MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "auto" RelTol "1e-3" AbsTol "auto" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" LoadExternalInput off ExternalInput "[t, u]" LoadInitialState off InitialState "xInitial" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" Decimation "1" LimitDataPoints on MaxDataPoints "1000" SignalLoggingName "sigsOut" ConsistencyChecking "none" ArrayBoundsChecking "none" AlgebraicLoopMsg "warning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" CheckForMatrixSingularity "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterPrecisionLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SfunCompatibilityCheckMsg "none" RTWInlineParameters off BlockReductionOpt on BooleanDataType on ConditionallyExecuteInputs on ParameterPooling on OptimizeBlockIOStorage on ZeroCross on AssertionControl "UseLocalSettings" ProdHWDeviceType "Microprocessor" ProdHWWordLengths "8,16,32,32" RTWSystemTargetFile "grt.tlc" RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off RTWRetainRTWFile off TLCProfiler off TLCDebug off TLCCoverage off TLCAssertion off RTWOptions "-aEnforceIntegerDowncast=1 -aExtMode=0 -aExtModeTes" "ting=0 -aFoldNonRolledExpr=1 -aForceParamTrailComments=0 -aGenerateComments=1" " -aGenerateReport=0 -aIgnoreCustomStorageClasses=1 -aIncDataTypeInIds=0 -aInc" "HierarchyInIds=0 -aInlineInvariantSignals=0 -aInlinedPrmAccess=\"Literals\" -" "aLocalBlockOutputs=1 -aLogVarNameModifier=\"rt_\" -aMaxRTWIdLen=31 -aPrefixMo" "delToSubsysFcnNames=1 -aRTWVerbose=1 -aRollThreshold=5 -aShowEliminatedStatem" "ents=0" BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ShowAdditionalParam off ParameterDataTypeMode "Same as input" ParameterDataType "sfix(16)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "2^0" OutDataTypeMode "Same as input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Inport Port "1" PortDimensions "-1" SampleTime "-1" ShowAdditionalParam off LatchInput off DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" ZeroCross on } Block { BlockType Outport Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" ShowAdditionalParam off InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Scope Floating off ModelBased off TickLabels "OneTimeTick" ZoomMode "on" Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType "S-Function" FunctionName "system" PortCounts "[]" SFunctionModules "''" } Block { BlockType Step Time "1" Before "0" After "1" SampleTime "-1" VectorParams1D on ZeroCross on } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" ShowAdditionalParam off InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Switch Criteria "u2 >= Threshold" Threshold "0" ShowAdditionalParam off InputSameDT on OutDataTypeMode "Inherit via internal rule" RndMeth "Floor" SaturateOnIntegerOverflow on ZeroCross 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 "tegangan" Location [73, 185, 841, 702] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "a4letter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" BlocksetDataString "[0 -9.81 0]|1|0|1e-3|1|1e-3|1|2|1e-4|1e-4|0|0|1|1" "e-5|Deprecated|0|0|0||1|0" Block { BlockType Reference Name "\n" Ports [2, 1] Position [320, 102, 350, 133] FontName "Arial" FontSize 12 SourceBlock "simulink/Signal\nRouting/Manual Switch" SourceType "Manual Switch" sw "0" action "0" Port { PortNumber 1 Name "tegangan jangkar" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Gain Name "1/J" Position [420, 340, 485, 370] Gain "4.74" } Block { BlockType Gain Name "1/La" Position [425, 72, 470, 98] Gain "200" } Block { BlockType Gain Name "1/Lf" Position [430, 169, 490, 191] Gain "4.74" } Block { BlockType Gain Name "B" Position [400, 396, 470, 424] Orientation "left" Gain "0.654" } Block { BlockType Reference Name "Distribution Request1" Ports [2, 1] Position [340, 201, 355, 234] ShowName off FontName "Arial" FontSize 12 SourceBlock "simulink/Signal\nRouting/Manual Switch" SourceType "Manual Switch" sw "1" action "0" Port { PortNumber 1 Name "tegangan medan" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Gain Name "Eggl" Position [410, 134, 490, 156] Orientation "left" Gain "0.692" } Block { BlockType Scope Name "Input" Ports [3] Position [690, 450, 715, 550] Location [161, 200, 485, 578] Open off NumInputPorts "3" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" } List { ListType SelectedSignals axes1 "" axes2 "" axes3 "" } TimeRange "2" YMin "-5~-5~-5" YMax "5~5~5" DataFormat "StructureWithTime" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [505, 70, 535, 100] Port { PortNumber 1 Name "arus jangkar" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Integrator Name "Integrator1" Ports [1, 1] Position [510, 165, 540, 195] Port { PortNumber 1 Name "arus medan" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Integrator Name "Integrator2" Ports [1, 1] Position [530, 344, 555, 366] Port { PortNumber 1 Name "kecepatan suut" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Integrator Name "Integrator3" Ports [1, 1] Position [280, 113, 295, 137] ShowName off } Block { BlockType Integrator Name "Integrator4" Ports [1, 1] Position [275, 267, 295, 293] ShowName off } Block { BlockType Gain Name "Km" Position [400, 269, 465, 301] Orientation "left" Gain "0.651" } Block { BlockType Product Name "Product" Ports [2, 1] Position [540, 133, 565, 157] Orientation "left" } Block { BlockType Product Name "Product1" Ports [2, 1] Position [525, 273, 550, 297] Orientation "left" } Block { BlockType Gain Name "Rf1" Position [465, 222, 510, 248] Orientation "left" Gain "113" } Block { BlockType Scope Name "Scope" Ports [3] Position [715, 74, 730, 316] Location [563, 193, 887, 571] Open on NumInputPorts "3" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" } List { ListType SelectedSignals axes1 "" axes2 "" axes3 "" } TimeRange "2" YMin "-5~-5~-5" YMax "5~5~5" SaveName "data" DataFormat "Array" } Block { BlockType Scope Name "Scope1" Ports [1] Position [635, 314, 665, 346] Location [188, 365, 512, 604] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } SaveToWorkspace on SaveName "w" DataFormat "Array" LimitDataPoints off } Block { BlockType Scope Name "Scope2" Ports [1] Position [630, 214, 660, 246] Location [188, 365, 512, 604] Open on NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } SaveToWorkspace on SaveName "If" DataFormat "Array" LimitDataPoints off } Block { BlockType Scope Name "Scope3" Ports [1] Position [630, 129, 660, 161] Location [188, 365, 512, 604] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } SaveToWorkspace on SaveName "Ia" DataFormat "Array" LimitDataPoints off MaxDataPoints "Inf" } Block { BlockType Scope Name "Scope4" Ports [1] Position [640, 409, 670, 441] Location [188, 365, 512, 604] Open on NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } SaveToWorkspace on SaveName "Ea" DataFormat "Array" LimitDataPoints off } Block { BlockType Scope Name "Scope5" Ports [1] Position [560, 419, 590, 451] Location [188, 365, 512, 604] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } SaveToWorkspace on SaveName "Ef" DataFormat "Array" LimitDataPoints off } Block { BlockType Step Name "Step1" Position [275, 159, 295, 181] Time "0" After "300" SampleTime "0" } Block { BlockType Step Name "Step2" Position [275, 15, 295, 45] Orientation "down" NamePlacement "alternate" Time "0" After "500" SampleTime "0" } Block { BlockType Step Name "Step3" Position [160, 46, 185, 64] Time "0" After "500" SampleTime "0" } Block { BlockType Step Name "Step4" Position [140, 119, 155, 141] After "500" SampleTime "0" } Block { BlockType Step Name "Step5" Position [115, 206, 140, 224] Time "0" After "300" SampleTime "0" } Block { BlockType Step Name "Step6" Position [120, 329, 135, 351] Time "0.998" After "300" SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [380, 63, 395, 117] Inputs "-+-" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [385, 164, 405, 191] Inputs "+-" } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [385, 339, 405, 366] Inputs "+-" } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [240, 109, 255, 136] Inputs "+-" Port { PortNumber 1 Name "pulsa kotak" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Sum Name "Sum4" Ports [2, 1] Position [215, 264, 230, 291] Inputs "+-" } Block { BlockType Gain Name "ra" Position [430, 25, 490, 55] Orientation "left" NamePlacement "alternate" Gain "0.19" } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0] DstBlock "1/La" DstPort 1 } Line { SrcBlock "1/La" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { Name "arus jangkar" SrcBlock "Integrator" SrcPort 1 Points [10, 0; 0, 30; 35, 0] Branch { Points [-35, 0; 0, -75] DstBlock "ra" DstPort 1 } Branch { Points [0, 5] Branch { Points [0, 160] DstBlock "Product1" DstPort 1 } Branch { Points [0, -5; 30, 0] Branch { Labels [1, 0] DstBlock "Scope" DstPort 1 } Branch { DstBlock "Scope3" DstPort 1 } } } } Line { SrcBlock "Product" SrcPort 1 DstBlock "Eggl" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "1/Lf" DstPort 1 } Line { SrcBlock "1/Lf" SrcPort 1 Points [0, -10] DstBlock "Integrator1" DstPort 1 } Line { Name "arus medan" SrcBlock "Integrator1" SrcPort 1 Points [25, 0; 0, 40] Branch { Points [25, 0] Branch { Points [0, 70] DstBlock "Product1" DstPort 2 } Branch { Points [0, -25] Branch { Points [0, -55] DstBlock "Product" DstPort 1 } Branch { Points [15, 0] Branch { Labels [1, 0] DstBlock "Scope" DstPort 2 } Branch { Points [0, 35] DstBlock "Scope2" DstPort 1 } } } } Branch { Points [0, 15] DstBlock "Rf1" DstPort 1 } } Line { SrcBlock "1/J" SrcPort 1 DstBlock "Integrator2" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Km" DstPort 1 } Line { SrcBlock "B" SrcPort 1 Points [-25, 0] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Km" SrcPort 1 Points [-25, 0] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Eggl" SrcPort 1 Points [-40, 0] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Step1" SrcPort 1 Points [25, 0] DstBlock "Distribution Request1" DstPort 1 } Line { SrcBlock "Integrator3" SrcPort 1 DstBlock "\n" DstPort 2 } Line { SrcBlock "ra" SrcPort 1 Points [-75, 0; 0, 30] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Step3" SrcPort 1 Points [35, 0] DstBlock "Sum3" DstPort 1 } Line { SrcBlock "Step6" SrcPort 1 Points [60, 0] DstBlock "Sum4" DstPort 2 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "1/J" DstPort 1 } Line { Name "kecepatan suut" SrcBlock "Integrator2" SrcPort 1 Points [20, 0; 0, -60] Branch { Points [15, 0] Branch { Points [0, 115] DstBlock "B" DstPort 1 } Branch { Points [20, 0] Branch { Labels [1, 0] Points [85, 0] DstBlock "Scope" DstPort 3 } Branch { Points [0, 35] DstBlock "Scope1" DstPort 1 } } } Branch { DstBlock "Product" DstPort 2 } } Line { SrcBlock "Rf1" SrcPort 1 Points [-100, 0; 0, -50] DstBlock "Sum1" DstPort 2 } Line { Name "pulsa kotak" SrcBlock "Sum3" SrcPort 1 Points [5, 0] Branch { DstBlock "Integrator3" DstPort 1 } Branch { Labels [3, 0] Points [-5, 0; 0, 410] DstBlock "Input" DstPort 3 } } Line { SrcBlock "Sum4" SrcPort 1 DstBlock "Integrator4" DstPort 1 } Line { Labels [0, 0] SrcBlock "Step4" SrcPort 1 DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Step5" SrcPort 1 Points [55, 0] DstBlock "Sum4" DstPort 1 } Line { SrcBlock "Step2" SrcPort 1 Points [0, 45; 20, 0] DstBlock "\n" DstPort 1 } Line { Name "tegangan medan" SrcBlock "Distribution Request1" SrcPort 1 Points [10, 0] Branch { DstBlock "Sum1" DstPort 1 } Branch { Labels [2, 0] Points [0, 280; 165, 0] Branch { DstBlock "Input" DstPort 2 } Branch { Points [0, -65] DstBlock "Scope5" DstPort 1 } } } Line { SrcBlock "Integrator4" SrcPort 1 Points [0, -55] DstBlock "Distribution Request1" DstPort 2 } Line { Name "tegangan jangkar" SrcBlock "\n" SrcPort 1 Points [0, -30] Branch { DstBlock "Sum" DstPort 2 } Branch { Labels [2, 0] Points [0, 375; 255, 0] Branch { DstBlock "Input" DstPort 1 } Branch { Points [0, -40] DstBlock "Scope4" DstPort 1 } } } } }