Model { Name "reator_simulink_optim" Version 3.00 SimParamPage "WorkspaceI/O" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "10" SolverMode "Auto" Solver "ode23" RelTol "1e-6" 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 on 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 "Tue Jul 27 17:34:25 2004" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "giotonel" ModifiedDateFormat "%" LastModifiedDate "Thu Oct 12 14:51:00 2006" 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 "reator_simulink_optim" Location [6, 74, 1018, 715] Open on ModelBrowserVisibility off ModelBrowserWidth 282 ScreenColor "darkGreen" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType Constant Name "Casss" Position [20, 184, 65, 216] Value "1.7244" } Block { BlockType Demux Name "Demux" Ports [1, 3, 0, 0, 0] Position [725, 142, 730, 258] BackgroundColor "black" ShowName off Outputs "3" } Block { BlockType Mux Name "Mux" Ports [3, 1, 0, 0, 0] Position [165, 98, 170, 302] ShowName off OpenFcn "reator_s_function_optim" Inputs "3" DisplayOption "bar" } Block { BlockType "S-Function" Name "S-Function" Ports [1, 1, 0, 0, 0] Position [260, 66, 615, 334] FunctionName "reator_s_function_optim" PortCounts "[]" SFunctionModules "''" MaskInitialization "figura=imread('reator','bmp');" MaskDisplay "image(figura);" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" } Block { BlockType Scope Name "Scope" Description "Altura, Concentração e Temperatura" Ports [3, 0, 0, 0, 0] Position [855, 142, 925, 258] Floating off Location [5, 22, 1021, 734] Open off NumInputPorts "3" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" } Grid "on" TimeRange "100" YMin "2.375~1.7244~778.56" YMax "2.625~1.72444~778.561" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope1" Description "Altura, Concentração e Temperatura" Ports [1, 0, 0, 0, 0] Position [860, 282, 900, 328] Floating off Location [5, 30, 1029, 750] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "100" YMin "2.375" YMax "2.625" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope2" Description "Altura, Concentração e Temperatura" Ports [1, 0, 0, 0, 0] Position [865, 367, 905, 413] Floating off Location [5, 30, 1029, 750] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "100" YMin "-50" YMax "300" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope3" Description "Altura, Concentração e Temperatura" Ports [1, 0, 0, 0, 0] Position [865, 442, 905, 488] Floating off Location [5, 30, 1029, 750] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "100" YMin "2.375" YMax "2.625" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Constant Name "Tsss" Position [15, 255, 60, 285] Value "778.56" } Block { BlockType Constant Name "hsss" Position [30, 115, 60, 145] Value "2.5" } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "S-Function" DstPort 1 } Line { SrcBlock "Casss" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "Tsss" SrcPort 1 DstBlock "Mux" DstPort 3 } Line { SrcBlock "Demux" SrcPort 1 Points [70, 0] Branch { DstBlock "Scope" DstPort 1 } Branch { Points [0, 145] DstBlock "Scope1" DstPort 1 } } Line { SrcBlock "Demux" SrcPort 2 Points [25, 0] Branch { DstBlock "Scope" DstPort 2 } Branch { Points [30, 0; 0, 190] DstBlock "Scope2" DstPort 1 } } Line { Labels [0, 0] SrcBlock "Demux" SrcPort 3 Points [10, 0] Branch { DstBlock "Scope" DstPort 3 } Branch { Points [0, 225] DstBlock "Scope3" DstPort 1 } } Line { SrcBlock "hsss" SrcPort 1 DstBlock "Mux" DstPort 1 } Annotation { Position [228, 540] Text "REATOR CSTR EXOTÉRMICO\nOTIMIZAÇÃO DINÂMICA" FontName "Arial" FontSize 20 } Annotation { Position [793, 231] Text "T" } Annotation { Position [788, 187] Text "Ca" } Annotation { Position [789, 144] Text "h" } Annotation { Position [423, 35] Text "Simulação do Controle Ótimo" FontName "Arial" FontSize 20 } Annotation { Position [57, 90] Text "Estacionário" } } }