Model { Name "ivo" 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 on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Sun Apr 03 15:24:39 2005" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "i" ModifiedDateFormat "%" LastModifiedDate "Sat May 21 23:30:39 2005" ModelVersionFormat "1.%" ConfigurationManager "None" SimParamPage "RTW" 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 "100" 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 off 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 Mux Inputs "4" DisplayOption "none" } Block { BlockType Outport Port "1" OutputWhenDisabled "held" InitialOutput "[]" } 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 } Block { BlockType TransferFcn Numerator "[1]" Denominator "[1 2 1]" AbsoluteTolerance "auto" Realization "auto" } } 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 "ivo" Location [159, 225, 826, 668] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Gain Name "Gain" Position [325, 53, 385, 87] Gain "1/0.12" } Block { BlockType Gain Name "Gain1" Position [330, 15, 380, 45] Orientation "left" NamePlacement "alternate" Gain "-0.04" } Block { BlockType Gain Name "Gain2" Position [325, 130, 375, 160] Orientation "left" NamePlacement "alternate" Gain "-1" } Block { BlockType Gain Name "Gain3" Position [320, 213, 400, 247] Gain "1/0.0035" } Block { BlockType Gain Name "Gain4" Position [325, 170, 375, 200] Orientation "left" NamePlacement "alternate" } Block { BlockType Gain Name "Gain5" Position [330, 284, 400, 316] Orientation "left" NamePlacement "alternate" Gain "-.0002" } Block { BlockType Reference Name "Input Point" Ports [1, 1] Position [170, 60, 190, 80] SourceBlock "cstblocks/Input Point" SourceType "InputPoint" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [425, 55, 455, 85] } Block { BlockType Integrator Name "Integrator1" Ports [1, 1] Position [425, 215, 455, 245] } Block { BlockType Integrator Name "Integrator2" Ports [1, 1] Position [505, 215, 535, 245] } Block { BlockType Integrator Name "Integrator3" Ports [1, 1] Position [505, 55, 535, 85] } Block { BlockType Reference Name "Manual Switch" Ports [2, 1] Position [235, 350, 270, 390] Orientation "left" NamePlacement "alternate" SourceBlock "simulink/Signal\nRouting/Manual Switch" SourceType "Manual Switch" sw "1" action "0" } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [565, 136, 580, 174] BackgroundColor "blue" ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Gain Name "Mâ" Position [80, 55, 130, 85] Gain "40" } Block { BlockType Reference Name "Output Point" Ports [1, 1] Position [540, 190, 560, 210] Orientation "up" SourceBlock "cstblocks/Output Point" SourceType "OutputPoint" } Block { BlockType Scope Name "Scope1" Ports [1] Position [610, 159, 640, 191] Location [1, 52, 1025, 745] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } TimeRange "100" YMin "-15" YMax "15" SaveName "ScopeData1" DataFormat "StructureWithTime" } Block { BlockType Step Name "Step" Position [20, 55, 50, 85] Time "0" SampleTime "0" } Block { BlockType Sum Name "Sum1" Ports [4, 1] Position [255, 31, 280, 109] ShowName off Inputs "|++++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [255, 222, 280, 258] ShowName off Inputs "|++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType TransferFcn Name "Transfer Fcn" Position [425, 340, 485, 380] Orientation "left" NamePlacement "alternate" Numerator "[.6]" Denominator "[0.05 1]" } Block { BlockType TransferFcn Name "Transfer Fcn1" Position [325, 340, 385, 380] Orientation "left" NamePlacement "alternate" Numerator "[40]" Denominator "[0.2 1]" } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [20, 0] Branch { Points [0, -40] DstBlock "Gain1" DstPort 1 } Branch { Points [0, 75] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Integrator3" DstPort 1 } } Line { SrcBlock "Gain1" SrcPort 1 Points [-100, 0; 0, 25] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-80, 0] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Gain3" DstPort 1 } Line { SrcBlock "Gain3" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [20, 0] Branch { Points [0, -45] DstBlock "Gain4" DstPort 1 } Branch { Points [10, 0] Branch { DstBlock "Integrator2" DstPort 1 } Branch { Points [0, 70] DstBlock "Gain5" DstPort 1 } } } Line { SrcBlock "Gain4" SrcPort 1 Points [-95, 0; 0, -85] DstBlock "Sum1" DstPort 4 } Line { SrcBlock "Gain5" SrcPort 1 Points [-85, 0] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Transfer Fcn" SrcPort 1 DstBlock "Transfer Fcn1" DstPort 1 } Line { SrcBlock "Step" SrcPort 1 DstBlock "Mâ" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 Points [10, 0] DstBlock "Scope1" DstPort 1 } Line { SrcBlock "Transfer Fcn1" SrcPort 1 DstBlock "Manual Switch" DstPort 1 } Line { SrcBlock "Manual Switch" SrcPort 1 Points [-20, 0; 0, -285] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Mâ" SrcPort 1 DstBlock "Input Point" DstPort 1 } Line { SrcBlock "Input Point" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Integrator3" SrcPort 1 Points [5, 0; 0, 75] DstBlock "Mux" DstPort 1 } Line { Labels [1, 0] SrcBlock "Output Point" SrcPort 1 Points [0, 0; 0, 0; 0, 0; 0, 0] DstBlock "Mux" DstPort 2 } Line { SrcBlock "Integrator2" SrcPort 1 Points [10, 0] Branch { DstBlock "Output Point" DstPort 1 } Branch { Points [0, 130] DstBlock "Transfer Fcn" DstPort 1 } } } }