Model { Name "TimeDomain_ControlofTankLevel" Version 3.00 SimParamPage "Solver" SampleTimeColors on InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "20" SolverMode "Auto" Solver "ode45" RelTol "1e-3" 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 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 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 "Fri Mar 16 18:59:09 2001" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" ModifiedDateFormat "%" LastModifiedDate "Sat Mar 17 16:17:18 2001" 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 "TimeDomain_ControlofTankLevel" Location [289, 132, 789, 595] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType Gain Name "1/A" Position [180, 111, 225, 139] FontSize 12 Gain "0.5" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "1/Ti" Position [325, 209, 375, 241] Orientation "left" FontSize 12 Gain "0.2" SaturateOnIntegerOverflow on } Block { BlockType Step Name "F'i" Position [15, 70, 45, 100] FontSize 12 Time "1" Before "0" After "1" SampleTime "0" } Block { BlockType Integrator Name "Integral\nController" Ports [1, 1, 0, 0, 0] Position [350, 110, 380, 140] ShowName off FontSize 12 ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "Integrator" Ports [1, 1, 0, 0, 0] Position [265, 110, 295, 140] ShowName off FontSize 12 ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Gain Name "Kc" Position [205, 195, 250, 225] Orientation "left" FontSize 12 Gain "1" SaturateOnIntegerOverflow on } Block { BlockType Scope Name "Scope" Ports [1, 0, 0, 0, 0] Position [340, 54, 370, 86] FontSize 12 Floating off Location [182, 280, 506, 519] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "yonly" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [75, 93, 105, 157] ShowName off FontSize 12 IconShape "rectangular" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1, 0, 0, 0] Position [275, 189, 300, 231] Orientation "left" ShowName off FontSize 12 IconShape "rectangular" Inputs "|+|+" SaturateOnIntegerOverflow on } Line { SrcBlock "F'i" SrcPort 1 Points [0, 40] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [20, 0] Branch { Points [0, 80] DstBlock "Sum1" DstPort 1 } Branch { Labels [1, 0] Points [0, 0] Branch { DstBlock "Integral\nController" DstPort 1 } Branch { Points [0, -55] DstBlock "Scope" DstPort 1 } } } Line { SrcBlock "1/Ti" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Kc" DstPort 1 } Line { Labels [2, 0] SrcBlock "Kc" SrcPort 1 Points [-160, 0; 0, -65] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "1/A" DstPort 1 } Line { SrcBlock "1/A" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integral\nController" SrcPort 1 Points [20, 0; 0, 100] DstBlock "1/Ti" DstPort 1 } Annotation { Position [145, 317] Text "Solution to:\nA dh'/dt + Kc h' + (Kc/Ti) Int(h'" " dt) = F'i\nProblem Given in Example 11.4 of\n\"Chemical Process Control\" by" " \nGeorge Stephanopoulos\nPrentice Hall of India" FontSize 12 } Annotation { Position [149, 110] Text "A dh'/dt" FontSize 12 } Annotation { Position [240, 109] Text "dh'/dt" FontSize 12 } Annotation { Position [307, 115] Text "h'" FontSize 12 } Annotation { Position [442, 177] Text "Int (h' dt)" FontSize 12 } Annotation { Position [123, 226] Text "Kc(h' + (1/Ti) Int (h' dt) )" FontSize 12 } Annotation { Position [95, 407] Text "Done on: 16-Mar-2001\nM.Subramanian" } } }