Model { Name "Gerador_ControladorFuzzy" Version 8.2 MdlSubVersion 0 SavedCharacterEncoding "windows-1252" GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.20" NumModelReferences 0 NumTestPointedSignals 0 } SaveDefaultBlockParams on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" DataTypeOverrideAppliesTo "AllNumericTypes" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" FPTRunName "Run 1" MaxMDLFileLineLength 120 Object { $PropName "BdWindowsInfo" $ObjectID 1 $ClassName "Simulink.BDWindowsInfo" Object { $PropName "WindowsInfo" $ObjectID 2 $ClassName "Simulink.WindowInfo" IsActive [1] Location [-9.0, -9.0, 1938.0, 1048.0] Object { $PropName "ModelBrowserInfo" $ObjectID 3 $ClassName "Simulink.ModelBrowserInfo" Visible [0] DockPosition "Left" Width [50] Height [50] Filter [9] } Object { $PropName "ExplorerBarInfo" $ObjectID 4 $ClassName "Simulink.ExplorerBarInfo" Visible [1] } Object { $PropName "EditorsInfo" $ObjectID 5 $ClassName "Simulink.EditorInfo" IsActive [1] ViewObjType "SimulinkTopLevel" LoadSaveID "0" Extents [1886.0, 846.0] ZoomFactor [2.0] Offset [-162.88505323505319, -93.356920556920514] } } } Created "Fri Oct 08 21:10:08 2010" Creator "Leonel Laboissiere" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "rodol" ModifiedDateFormat "%" LastModifiedDate "Thu Apr 12 17:32:30 2018" RTWModifiedTimeStamp 445455132 ModelVersionFormat "1.%" ConfigurationManager "none" SampleTimeColors off SampleTimeAnnotations off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowDesignRanges off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowSignalResolutionIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off SimulationMode "normal" PauseTimes "5" NumberOfSteps 1 SnapshotBufferSize 10 SnapshotInterval 10 NumberOfLastSnapshots 0 LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off Object { $PropName "DataLoggingOverride" $ObjectID 6 $ClassName "Simulink.SimulationData.ModelLoggingInfo" model_ "Gerador_ControladorFuzzy" Array { Type "Cell" Dimension 1 Cell "Gerador_ControladorFuzzy" PropName "logAsSpecifiedByModels_" } Array { Type "Cell" Dimension 1 Cell "" PropName "logAsSpecifiedByModelsSSIDs_" } } RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on CovForceBlockReductionOff on CovEnableCumulative on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on CovModelRefEnable "Off" CovExternalEMLEnable off ExtModeBatchMode off ExtModeEnableFloating on ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigDurationFloating "auto" 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 ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 7 Version "1.13.1" Array { Type "Handle" Dimension 9 Simulink.SolverCC { $ObjectID 8 Version "1.13.1" StartTime "0.0" StopTime "50" AbsTol "auto" FixedStep "auto" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ZcThreshold "auto" ConsecutiveZCsStepRelTol "10*128*eps" MaxConsecutiveZCs "1000" ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "0.2" MinStep "auto" MaxConsecutiveMinStep "1" RelTol "1e-3" SolverMode "Auto" EnableConcurrentExecution off ConcurrentTasks off Solver "ode23t" SolverName "ode23t" SolverJacobianMethodControl "auto" ShapePreserveControl "DisableAll" ZeroCrossControl "UseLocalSettings" ZeroCrossAlgorithm "Nonadaptive" AlgebraicLoopSolver "TrustRegion" SolverResetMethod "Fast" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" InsertRTBMode "Whenever possible" } Simulink.DataIOCC { $ObjectID 9 Version "1.13.1" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints on MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveCompleteFinalSimState off SaveFormat "Array" SignalLoggingSaveFormat "ModelDataLogs" SaveOutput on SaveState off SignalLogging on DSMLogging on InspectSignalLogs off SaveTime on ReturnWorkspaceOutputs off StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" DSMLoggingName "dsmout" OutputOption "RefineOutputTimes" OutputTimes "[]" ReturnWorkspaceOutputsName "out" Refine "1" } Simulink.OptimizationCC { $ObjectID 10 Version "1.13.1" Array { Type "Cell" Dimension 4 Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "NoFixptDivByZeroProtection" Cell "OptimizeModelRefInitCode" PropName "DisabledProps" } BlockReduction on BooleanDataType on ConditionallyExecuteInputs on InlineParams off UseIntDivNetSlope off UseFloatMulNetSlope off DefaultUnderspecifiedDataType "double" UseSpecifiedMinMax off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnhancedBackFolding off StrengthReduction off ExpressionFolding on BooleansAsBitfields off BitfieldContainerType "uint_T" EnableMemcpy on MemcpyThreshold 64 PassReuseOutputArgsAs "Structure reference" ExpressionDepthLimit 2147483647 FoldNonRolledExpr on LocalBlockOutputs on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off ActiveStateOutputEnumStorageType "Native Integer" UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero on NoFixptDivByZeroProtection off EfficientFloat2IntCast off EfficientMapNaN2IntZero on OptimizeModelRefInitCode off LifeSpan "inf" MaxStackSize "Inherit from target" BufferReusableBoundary on SimCompilerOptimization "Off" AccelVerboseBuild off ParallelExecutionInRapidAccelerator on } Simulink.DebuggingCC { $ObjectID 11 Version "1.13.1" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" SignalInfNanChecking "none" SignalRangeChecking "none" ReadBeforeWriteMsg "UseLocalSettings" WriteAfterWriteMsg "UseLocalSettings" WriteAfterReadMsg "UseLocalSettings" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" SaveWithDisabledLinksMsg "warning" SaveWithParameterizedLinksMsg "warning" CheckSSInitialOutputMsg on UnderspecifiedInitializationDetection "Classic" MergeDetectMultiDrivingBlocksExec "none" CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "UseLocalSettings" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" TimeAdjustmentMsg "none" MaxConsecutiveZCsMsg "error" MaskedZcDiagnostic "warning" IgnoredZcDiagnostic "warning" SolverPrmCheckMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "error" MultiTaskCondExecSysMsg "error" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" SigSpecEnsureSampleTimeMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterUnderflowMsg "none" ParameterPrecisionLossMsg "warning" ParameterTunabilityLossMsg "warning" FixptConstUnderflowMsg "none" FixptConstOverflowMsg "none" FixptConstPrecisionLossMsg "none" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" FcnCallInpInsideContextMsg "UseLocalSettings" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SFcnCompatibilityMsg "none" FrameProcessingCompatibilityMsg "warning" UniqueDataStoreMsg "none" BusObjectLabelMismatch "warning" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceMultiInstanceNormalModeStructChecksumCheck "error" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" StateNameClashWarn "warning" SimStateInterfaceChecksumMismatchMsg "warning" SimStateOlderReleaseMsg "error" InitInArrayFormatMsg "warning" StrictBusMsg "ErrorLevel1" BusNameAdapt "WarnAndRepair" NonBusSignalsTreatedAsBus "none" LoggingUnavailableSignals "error" BlockIODiagnostic "none" SFUnusedDataAndEventsDiag "warning" SFUnexpectedBacktrackingDiag "warning" SFInvalidInputDataAccessInChartInitDiag "warning" SFNoUnconditionalDefaultTransitionDiag "warning" SFTransitionOutsideNaturalParentDiag "warning" SFUnconditionalTransitionShadowingDiag "warning" SFUndirectedBroadcastEventsDiag "warning" SFTransitionActionBeforeConditionDiag "warning" } Simulink.HardwareCC { $ObjectID 12 Version "1.13.1" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdBitPerLongLong 64 ProdBitPerFloat 32 ProdBitPerDouble 64 ProdBitPerPointer 32 ProdLargestAtomicInteger "Char" ProdLargestAtomicFloat "None" ProdIntDivRoundTo "Undefined" ProdEndianess "Unspecified" ProdWordSize 32 ProdShiftRightIntArith on ProdLongLongMode off ProdHWDeviceType "32-bit Generic" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 32 TargetBitPerLongLong 64 TargetBitPerFloat 32 TargetBitPerDouble 64 TargetBitPerPointer 32 TargetLargestAtomicInteger "Char" TargetLargestAtomicFloat "None" TargetShiftRightIntArith on TargetLongLongMode off TargetIntDivRoundTo "Undefined" TargetEndianess "Unspecified" TargetWordSize 32 TargetTypeEmulationWarnSuppressLevel 0 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "Specified" TargetUnknown off ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 13 Version "1.13.1" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" EnableParallelModelReferenceBuilds off ParallelModelReferenceErrorOnInvalidPool on ParallelModelReferenceMATLABWorkerInit "None" ModelReferenceNumInstancesAllowed "Multi" PropagateVarSize "Infer from blocks in model" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off PropagateSignalLabelsOutOfModel off SupportModelReferenceSimTargetCustomCode off } Simulink.SFSimCC { $ObjectID 14 Version "1.13.1" SFSimEnableDebug on SFSimOverflowDetection on SFSimEcho on SimBlas on SimCtrlC on SimExtrinsic on SimIntegrity on SimUseLocalCustomCode off SimParseCustomCode on SimBuildMode "sf_incremental_build" SimGenImportedTypeDefs off } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 15 Version "1.13.1" Array { Type "Cell" Dimension 2 Cell "IncludeHyperlinkInReport" Cell "GenerateTraceInfo" PropName "DisabledProps" } SystemTargetFile "grt.tlc" TLCOptions "" GenCodeOnly off MakeCommand "make_rtw" GenerateMakefile on PackageGeneratedCodeAndArtifacts off PackageName "" TemplateMakefile "grt_default_tmf" PostCodeGenCommand "" Description "" GenerateReport off SaveLog off RTWVerbose on RetainRTWFile off ProfileTLC off TLCDebug off TLCCoverage off TLCAssert off ProcessScriptMode "Default" ConfigurationMode "Optimized" ProcessScript "" ConfigurationScript "" ConfigAtBuild off RTWUseLocalCustomCode off RTWUseSimCustomCode off CustomSourceCode "" CustomHeaderCode "" CustomInclude "" CustomSource "" CustomLibrary "" CustomInitializer "" CustomTerminator "" Toolchain "Automatically locate an installed toolchain" BuildConfiguration "Faster Builds" IncludeHyperlinkInReport off LaunchReport off PortableWordSizes off GenerateErtSFunction off CreateSILPILBlock "None" CodeExecutionProfiling off CodeExecutionProfileVariable "executionProfile" CodeProfilingSaveOptions "SummaryOnly" CodeProfilingInstrumentation off SILDebugging off TargetLang "C" IncludeBusHierarchyInRTWFileBlockHierarchyMap off IncludeERTFirstTime off GenerateTraceInfo off GenerateTraceReport off GenerateTraceReportSl off GenerateTraceReportSf off GenerateTraceReportEml off GenerateCodeInfo off GenerateWebview off GenerateCodeMetricsReport off GenerateCodeReplacementReport off RTWCompilerOptimization "Off" RTWCustomCompilerOptimizations "" CheckMdlBeforeBuild "Off" CustomRebuildMode "OnUpdate" DataInitializer "" SharedConstantsCachingThreshold 1024 Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 16 Version "1.13.1" Array { Type "Cell" Dimension 16 Cell "IgnoreCustomStorageClasses" Cell "InsertBlockDesc" Cell "SFDataObjDesc" Cell "SimulinkDataObjDesc" Cell "DefineNamingRule" Cell "SignalNamingRule" Cell "ParamNamingRule" Cell "InlinedPrmAccess" Cell "CustomSymbolStr" Cell "CustomSymbolStrGlobalVar" Cell "CustomSymbolStrType" Cell "CustomSymbolStrField" Cell "CustomSymbolStrFcn" Cell "CustomSymbolStrBlkIO" Cell "CustomSymbolStrTmpVar" Cell "CustomSymbolStrMacro" PropName "DisabledProps" } ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IgnoreTestpoints off IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off OperatorAnnotations off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off MATLABFcnDesc off IncDataTypeInIds off MangleLength 1 CustomSymbolStrGlobalVar "$R$N$M" CustomSymbolStrType "$N$R$M_T" CustomSymbolStrField "$N$M" CustomSymbolStrFcn "$R$N$M$F" CustomSymbolStrFcnArg "rt$I$N$M" CustomSymbolStrBlkIO "rtb_$N$M" CustomSymbolStrTmpVar "$N$M" CustomSymbolStrMacro "$R$N$M" CustomSymbolStrUtil "$N$C" DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off InsertPolySpaceComments off SimulinkBlockComments on MATLABSourceComments off EnableCustomComments off InternalIdentifier "Shortened" InlinedPrmAccess "Literals" ReqsInCode off UseSimReservedNames off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 17 Version "1.13.1" Array { Type "Cell" Dimension 14 Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "GenerateTestInterfaces" Cell "ModelStepFunctionPrototypeControlCompliant" Cell "PortableWordSizes" Cell "PurelyIntegerCode" Cell "GenerateAllocFcn" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" PropName "DisabledProps" } TargetFcnLib "ansi_tfl_table_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" CodeReplacementLibrary "ANSI_C" UtilityFuncGeneration "Auto" ERTMultiwordTypeDef "System defined" ERTMultiwordLength 256 MultiwordLength 2048 GenerateFullHeader on GenerateSampleERTMain off GenerateTestInterfaces off IsPILTarget off ModelReferenceCompliant on ParMdlRefBuildCompliant on CompOptLevelCompliant on ConcurrentExecutionCompliant on IncludeMdlTerminateFcn on GeneratePreprocessorConditionals "Disable all" CombineOutputUpdateFcns off CombineSignalStateStructs off SuppressErrorStatus off ERTFirstTimeCompliant off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on SupportVariableSizeSignals off EnableShiftOperators on ParenthesesLevel "Nominal" MATLABClassNameForMDSCustomization "Simulink.SoftwareTarget.GRTCustomization" ModelStepFunctionPrototypeControlCompliant off CPPClassGenCompliant off AutosarCompliant off GRTInterface on GenerateAllocFcn off UseMalloc off ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" ExtModeIntrfLevel "Level1" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off RTWCAPIRootIO off GenerateASAP2 off } PropName "Components" } } hdlcoderui.hdlcc { $ObjectID 18 Version "1.13.1" Description "HDL Coder custom configuration component" Name "HDL Coder" Array { Type "Cell" Dimension 1 Cell "" PropName "HDLConfigFile" } HDLCActiveTab "0" } PropName "Components" } Name "Configuration" CurrentDlgPage "Solver" ConfigPrmDlgPosition [ 228, 112, 1308, 752 ] } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 7 } Object { $PropName "DataTransfer" $ObjectID 19 $ClassName "Simulink.GlobalDataTransfer" DefaultTransitionBetweenSyncTasks "Ensure deterministic transfer (maximum delay)" DefaultTransitionBetweenAsyncTasks "Ensure data integrity only" DefaultTransitionBetweenContTasks "Ensure deterministic transfer (minimum delay)" DefaultExtrapolationMethodBetweenContTasks "None" AutoInsertRateTranBlk [0] } ExplicitPartitioning off BlockDefaults { ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Arial" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on BlockRotation 0 BlockMirror off } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Arial" FontSize 10 FontWeight "normal" FontAngle "normal" UseDisplayTextAsClickCallback off } LineDefaults { FontName "Arial" FontSize 9 FontWeight "normal" FontAngle "normal" } MaskDefaults { SelfModifiable "off" IconFrame "on" IconOpaque "on" RunInitForIconRedraw "off" IconRotate "none" PortRotate "default" IconUnits "autoscale" } MaskParameterDefaults { Evaluate "on" Tunable "on" NeverSave "off" Internal "off" ReadOnly "off" Enabled "on" Visible "on" ToolTip "on" } BlockParameterDefaults { Block { BlockType Constant Value "1" VectorParams1D on SamplingMode "Sample based" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Inherit from 'Constant value'" LockScale off SampleTime "inf" FramePeriod "inf" PreserveConstantTs off } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ParamMin "[]" ParamMax "[]" ParamDataTypeStr "Inherit: Same as input" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Same as input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Inport Port "1" OutputFunctionCall off OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: auto" LockScale off BusOutputAsStruct off PortDimensions "-1" VarSizeSig "Inherit" SampleTime "-1" SignalType "auto" SamplingMode "auto" LatchByDelayingOutsideSignal off LatchInputForFeedbackSignals off Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" IgnoreLimit off ZeroCross on ContinuousStateAttributes "''" } Block { BlockType Mux Inputs "4" DisplayOption "none" UseBusObject off BusObject "BusObject" NonVirtualBus off } Block { BlockType Outport Port "1" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: auto" LockScale off BusOutputAsStruct off PortDimensions "-1" VarSizeSig "Inherit" SampleTime "-1" SignalType "auto" SamplingMode "auto" SourceOfInitialOutputValue "Dialog" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Scope ModelBased off TickLabels "OneTimeTick" ZoomMode "on" Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "Array" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "-1" } Block { BlockType Step Time "1" Before "0" After "1" SampleTime "-1" VectorParams1D on ZeroCross on } Block { BlockType SubSystem ShowPortLabels "FromPortIcon" Permissions "ReadWrite" PermitHierarchicalResolution "All" TreatAsAtomicUnit off CheckFcnCallInpInsideContextMsg off SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" FunctionInterfaceSpec "void_void" RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" SimViewingDevice off DataTypeOverride "UseLocalSettings" DataTypeOverrideAppliesTo "AllNumericTypes" MinMaxOverflowLogging "UseLocalSettings" SFBlockType "NONE" Variant off GeneratePreprocessorConditionals off ContentPreviewEnabled off } Block { BlockType Sum IconShape "rectangular" Inputs "++" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on AccumDataTypeStr "Inherit: Inherit via internal rule" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Same as first input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType TransferFcn Numerator "[1]" Denominator "[1 2 1]" AbsoluteTolerance "auto" ContinuousStateAttributes "''" Realization "auto" } Block { BlockType TransportDelay DelayTime "1" InitialOutput "0" BufferSize "1024" FixedBuffer off TransDelayFeedthrough off PadeOrder "0" } } System { Name "Gerador_ControladorFuzzy" Location [-9, -9, 1929, 1039] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "200" ReportName "simulink-default.rpt" SIDHighWatermark "47" Block { BlockType SubSystem Name "GOVERNOR\n& DIESEL ENGINE" SID "1" Ports [2, 1] Position [110, 83, 200, 167] ZOrder -1 DropShadow on MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 20 $ClassName "Simulink.Mask" Type "Diesel Engine & Governor" Description "Esse bloco implementa um motor diesel e controle de velocidade:\n1ª e 2ª entradas: velocidades de refer" "encia e atual (pu)\nSaída: Torque mecânico do motor diesel.Motor inertia should be combined with generator.\nFunção t" "ransferência do controlador:\n Hc=T1(1/s+T2+T3^2.s)\nFunção transferência do atuador: \n Ha= K.(1+T4.s) / [ (" "s (1+T5.s)(1+T6.s) ]\nMotor :\n Tempo de atraso Td\n\n(See reference in Tutorial Session 5)" Array { Type "Simulink.MaskParameter" Dimension 6 Object { $ObjectID 21 Type "edit" Name "K" Prompt "Regulator gain K: " Value "40" } Object { $ObjectID 22 Type "edit" Name "Tr" Prompt "Regulator time constants [T1 T2 T3 ] (s) :" Value "[0.0025945 0.24 11]" } Object { $ObjectID 23 Type "edit" Name "Ta" Prompt "Actuator time constants [T4 T5 T6] (s) :" Value "[0.25 0.009 0.0384]" } Object { $ObjectID 24 Type "edit" Name "Tlim" Prompt "Torque limits [Tmin Tmax] (pu) :" Value "[0 1.1]" } Object { $ObjectID 25 Type "edit" Name "Tm0" Prompt "Initial value of mechanical power Pm0 (pu) :" Value "0.000270147" } Object { $ObjectID 26 Type "edit" Name "Td" Prompt "Engine time delay Td (s) :" Value "0.024" } PropName "Parameters" } } System { Name "GOVERNOR\n& DIESEL ENGINE" Location [-9, -9, 1929, 1039] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "wref (pu)" SID "2" Position [25, 38, 55, 52] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "w (pu)" SID "3" Position [25, 73, 55, 87] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType SubSystem Name "Controlador fuzzy" SID "7" Ports [1, 1] Position [145, 43, 200, 87] ZOrder -6 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Controlador fuzzy" Location [-9, -9, 1929, 1039] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "125" Block { BlockType Inport Name "Erro" SID "8" Position [20, 203, 50, 217] ZOrder -1 IconDisplay "Port number" } Block { BlockType Gain Name " Kp_Plinear" SID "30" Position [545, 194, 590, 226] ZOrder 11 Gain "1/.037" } Block { BlockType TransferFcn Name "Filtro PB" SID "39" Position [460, 601, 525, 639] ZOrder 2 Numerator "[1 0]" Denominator "[1/2 1]" } Block { BlockType Reference Name "Fuzzy Logic \nController" SID "31" Ports [1, 1] Position [740, 186, 800, 234] ZOrder 10 LibraryVersion "1.186" SourceBlock "fuzblock/Fuzzy Logic \nController" SourceType "FIS" ContentPreviewEnabled off fis "PDlinear" } Block { BlockType Gain Name "Gain K" SID "32" Position [835, 192, 880, 228] ZOrder 9 Gain "32" Port { PortNumber 1 Name "u" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Gain Name "Kd_PDlinear" SID "33" Position [595, 377, 640, 413] ZOrder 8 Gain "0.13/.5" } Block { BlockType Gain Name "Kd_PDnlinear" SID "34" Position [555, 602, 590, 638] ZOrder 7 } Block { BlockType Gain Name "Kp_PDlinear" SID "35" Position [550, 317, 595, 353] ZOrder 6 Gain "1/0.12" } Block { BlockType Gain Name "Kp_PDnlinear" SID "36" Position [560, 523, 600, 557] ZOrder 5 } Block { BlockType Mux Name "Mux" SID "37" Ports [2, 1] Position [685, 531, 690, 569] ZOrder 4 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux1" SID "38" Ports [2, 1] Position [685, 326, 690, 364] ZOrder 3 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType TransferFcn Name "TF4" SID "40" Position [495, 376, 560, 414] ZOrder 1 Numerator "[1 0]" Denominator "[1/2 1]" } Block { BlockType Outport Name "u" SID "16" Position [1015, 203, 1045, 217] ZOrder -9 IconDisplay "Port number" } Line { Name "u" ZOrder 24 Labels [1, 1] SrcBlock "Gain K" SrcPort 1 DstBlock "u" DstPort 1 } Line { ZOrder 13 SrcBlock "Fuzzy Logic \nController" SrcPort 1 DstBlock "Gain K" DstPort 1 } Line { ZOrder 14 SrcBlock "Kd_PDnlinear" SrcPort 1 Points [37, 0; 0, -60] DstBlock "Mux" DstPort 2 } Line { ZOrder 15 SrcBlock "Kp_PDnlinear" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { ZOrder 16 SrcBlock "Filtro PB" SrcPort 1 DstBlock "Kd_PDnlinear" DstPort 1 } Line { ZOrder 17 SrcBlock "Kd_PDlinear" SrcPort 1 Points [9, 0; 0, -40] DstBlock "Mux1" DstPort 2 } Line { ZOrder 18 SrcBlock "Kp_PDlinear" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { ZOrder 19 SrcBlock "TF4" SrcPort 1 DstBlock "Kd_PDlinear" DstPort 1 } Line { ZOrder 25 SrcBlock "Erro" SrcPort 1 Points [400, 0; 0, 125] Branch { ZOrder 21 Points [0, 60] DstBlock "TF4" DstPort 1 } Branch { ZOrder 20 DstBlock "Kp_PDlinear" DstPort 1 } } Line { ZOrder 23 SrcBlock "Mux1" SrcPort 1 Points [30, 0] DstBlock "Fuzzy Logic \nController" DstPort 1 } Annotation { SID "42" Name "Controlador PD Linear" Position [570, 295, 670, 310] AutoSize on WordWrap off ZOrder -2 } Annotation { SID "43" Name "Controlador PD Não-Linear" Position [570, 500, 692, 515] AutoSize on WordWrap off ZOrder -3 } Annotation { SID "44" Name "Controlador P Linear" Position [570, 185, 663, 200] AutoSize on WordWrap off ZOrder -4 } Annotation { SID "45" Position [855, 234, 854, 233] AutoSize on WordWrap off ZOrder -5 } Annotation { SID "46" Position [826, 200, 825, 199] AutoSize on WordWrap off ZOrder -6 } } } Block { BlockType TransportDelay Name "ENGINE\nTd" SID "4" Ports [1, 1] Position [490, 50, 520, 80] ZOrder -3 DelayTime "Td" InitialOutput "Tm0" } Block { BlockType Gain Name "Gain K" SID "5" Position [240, 52, 270, 78] ZOrder -4 Gain "K" } Block { BlockType Integrator Name "Integrator" SID "6" Ports [1, 1] Position [555, 50, 585, 80] ZOrder -5 InitialCondition "Tm0" LimitOutput on UpperSaturationLimit "Tlim(2)" LowerSaturationLimit "Tlim(1)" Port { PortNumber 1 Name "Torque" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Sum Name "Sum" SID "17" Ports [2, 1] Position [90, 29, 105, 96] ZOrder -7 ShowName off Inputs "+-" } Block { BlockType TransferFcn Name "TF1" SID "18" Position [300, 46, 375, 84] ZOrder -8 Numerator "([Ta(1) 1])" Denominator "([Ta(2) 1])" } Block { BlockType TransferFcn Name "TF2" SID "19" Position [400, 46, 465, 84] ZOrder -9 Numerator "1" Denominator "([Ta(3) 1])" } Block { BlockType Outport Name "Tmec (pu)" SID "20" Position [650, 58, 680, 72] ZOrder -10 IconDisplay "Port number" InitialOutput "0" } Line { ZOrder 1 SrcBlock "Gain K" SrcPort 1 DstBlock "TF1" DstPort 1 } Line { ZOrder 2 SrcBlock "Sum" SrcPort 1 DstBlock "Controlador fuzzy" DstPort 1 } Line { ZOrder 3 SrcBlock "TF1" SrcPort 1 DstBlock "TF2" DstPort 1 } Line { ZOrder 4 SrcBlock "w (pu)" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { ZOrder 5 SrcBlock "wref (pu)" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { ZOrder 6 SrcBlock "TF2" SrcPort 1 DstBlock "ENGINE\nTd" DstPort 1 } Line { ZOrder 7 SrcBlock "ENGINE\nTd" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { Name "Torque" ZOrder 8 Labels [1, 0] SrcBlock "Integrator" SrcPort 1 DstBlock "Tmec (pu)" DstPort 1 } Line { ZOrder 9 SrcBlock "Controlador fuzzy" SrcPort 1 DstBlock "Gain K" DstPort 1 } Annotation { SID "21" Name "ACTUATOR" Position [401, 110, 401, 110] AutoSize on WordWrap off ZOrder -1 } } } Block { BlockType Gain Name "Gain" SID "22" Position [235, 114, 255, 136] ZOrder -2 ShowName off ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Inercia" SID "23" Position [320, 113, 345, 137] ZOrder -3 Gain "1/(2*1.07)" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Constant Name "Inicial" SID "24" Position [320, 168, 345, 182] ZOrder -4 NamePlacement "alternate" ShowName off } Block { BlockType Integrator Name "Integrator" SID "25" Ports [2, 1] Position [375, 117, 405, 148] ZOrder -5 ShowName off InitialConditionSource "external" } Block { BlockType Scope Name "Leitura\nPID" SID "26" Ports [2] Position [475, 128, 495, 152] ZOrder -6 BackgroundColor "gray" Floating off Location [1, 55, 1921, 1029] Open off NumInputPorts "2" List { ListType AxesTitles axes1 "Rotação" axes2 "Torque" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off TimeRange "80" YMin "0.9~0" YMax "1.2~1.5" DataFormat "StructureWithTime" LimitDataPoints off SampleTime "0" } Block { BlockType Step Name "Step" SID "27" Position [45, 92, 70, 118] ZOrder -7 Time "0" SampleTime "0" } Block { BlockType Sum Name "Sum" SID "28" Ports [2, 1] Position [275, 115, 295, 135] ZOrder -8 ShowName off IconShape "round" Inputs "-+|" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Step Name "Te (pu)" SID "47" Position [230, 57, 255, 83] ZOrder 1 Time "25" SampleTime "0" } Line { ZOrder 1 SrcBlock "Sum" SrcPort 1 DstBlock "Inercia" DstPort 1 } Line { ZOrder 2 SrcBlock "Integrator" SrcPort 1 Points [30, 0] Branch { ZOrder 3 DstBlock "Leitura\nPID" DstPort 1 } Branch { ZOrder 4 Points [0, -105; -355, 0; 0, 115] DstBlock "GOVERNOR\n& DIESEL ENGINE" DstPort 2 } } Line { ZOrder 5 SrcBlock "Gain" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { ZOrder 6 SrcBlock "GOVERNOR\n& DIESEL ENGINE" SrcPort 1 Points [10, 0] Branch { ZOrder 7 DstBlock "Gain" DstPort 1 } Branch { ZOrder 8 Points [0, 85; 225, 0; 0, -65] DstBlock "Leitura\nPID" DstPort 2 } } Line { ZOrder 9 SrcBlock "Step" SrcPort 1 DstBlock "GOVERNOR\n& DIESEL ENGINE" DstPort 1 } Line { ZOrder 10 SrcBlock "Inercia" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { ZOrder 11 SrcBlock "Inicial" SrcPort 1 Points [10, 0] DstBlock "Integrator" DstPort 2 } Line { ZOrder 13 SrcBlock "Te (pu)" SrcPort 1 Points [25, 0] DstBlock "Sum" DstPort 1 } } }