Model { Name "TwoTanksInSeriesImpulseInput" Version 3.00 SimParamPage "Solver" SampleTimeColors off 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 "Sat Mar 17 21:03:47 2001" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" ModifiedDateFormat "%" LastModifiedDate "Sat Mar 17 23:44:12 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 "TwoTanksInSeriesImpulseInput" Location [326, 89, 826, 544] 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/A1" Position [205, 59, 250, 91] FontSize 11 Gain "1/10" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "1/A2" Position [205, 198, 245, 232] FontSize 11 Gain "1/10" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "1/R1" Position [195, 135, 250, 165] Orientation "left" FontSize 11 Gain "1/0.1" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "1/R2" Position [195, 265, 250, 295] Orientation "left" FontSize 11 Gain "1/0.35" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "Fo" Position [30, 60, 60, 90] FontSize 11 Value "20" } Block { BlockType Integrator Name "Integrator" Ports [1, 1, 0, 0, 0] Position [285, 60, 315, 90] ShowName off FontSize 11 ExternalReset "none" InitialConditionSource "internal" InitialCondition "3" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "Integrator1" Ports [1, 1, 0, 0, 0] Position [295, 200, 325, 230] ShowName off FontSize 11 ExternalReset "none" InitialConditionSource "internal" InitialCondition "7" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [115, 47, 135, 103] ShowName off FontSize 11 IconShape "rectangular" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1, 0, 0, 0] Position [115, 185, 140, 245] ShowName off FontSize 11 IconShape "rectangular" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Scope Name "h1" Ports [1, 0, 0, 0, 0] Position [380, 59, 410, 91] FontSize 11 Floating off Location [188, 355, 512, 594] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" 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 Scope Name "h2" Ports [1, 0, 0, 0, 0] Position [385, 199, 415, 231] FontSize 11 Floating off Location [188, 355, 512, 594] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" 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" } Line { SrcBlock "1/A1" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "1/A1" DstPort 1 } Line { Labels [1, 0] SrcBlock "Integrator" SrcPort 1 Points [30, 0] Branch { DstBlock "h1" DstPort 1 } Branch { Labels [1, 0] Points [0, 75] DstBlock "1/R1" DstPort 1 } } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "1/A2" DstPort 1 } Line { SrcBlock "1/A2" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { Labels [1, 0] SrcBlock "Integrator1" SrcPort 1 Points [25, 0] Branch { DstBlock "h2" DstPort 1 } Branch { Points [0, 65] DstBlock "1/R2" DstPort 1 } } Line { SrcBlock "1/R2" SrcPort 1 Points [-100, 0; 0, -45] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "1/R1" SrcPort 1 Points [-100, 0] Branch { Points [0, 65] DstBlock "Sum1" DstPort 1 } Branch { Points [0, -55] DstBlock "Sum" DstPort 2 } } Line { SrcBlock "Fo" SrcPort 1 DstBlock "Sum" DstPort 1 } Annotation { Position [167, 63] Text "A1 dh1/dt" FontSize 11 } Annotation { Position [258, 61] Text "dh1/dt" FontSize 11 } Annotation { Position [346, 62] Text "h1" FontSize 11 } Annotation { Position [152, 141] Text "h1/R1" FontSize 11 } Annotation { Position [174, 198] Text "A2 dh2/dt" FontSize 11 } Annotation { Position [266, 203] Text "dh2/dt" FontSize 11 } Annotation { Position [355, 201] Text "h2" FontSize 11 } Annotation { Position [301, 109] Text "Initial = 2\nImpulse = 1" } Annotation { Position [316, 245] Text "Initial = 7" } Annotation { Position [142, 362] Text "Two Non-interacting tanks in series:\nTank 1: " " A1 dh1/dt + h1/R1 = Fo\nTank 2: A2 dh2/dt + h2/R2 = h1/R1\n\nImpulse I" "nput to tank 1" FontSize 12 } Annotation { Position [87, 437] Text "Done on: 17-Mar-2001\nM.Subramanian" } } }