Model { Name "LiquidLevelDynamics" Version 3.00 SimParamPage "RTW" 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 03 07:24:50 2001" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" ModifiedDateFormat "%" LastModifiedDate "Sat Mar 17 16:12:38 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 "LiquidLevelDynamics" Location [323, 113, 800, 533] 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 [200, 57, 265, 83] FontSize 14 Gain "0.01" SaturateOnIntegerOverflow on } Block { BlockType Constant Name "Fi" Position [15, 45, 45, 75] FontSize 14 Value "1" } Block { BlockType Integrator Name "Integrator" Ports [1, 1, 0, 0, 0] Position [285, 55, 315, 85] FontSize 14 ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Scope Name "Scope" Ports [1, 0, 0, 0, 0] Position [365, 54, 395, 86] FontSize 14 Floating off Location [162, 250, 486, 489] 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 Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [70, 50, 95, 85] ShowName off FontSize 14 IconShape "rectangular" Inputs "+-" SaturateOnIntegerOverflow on } Block { BlockType Math Name "h1/2" Ports [1, 1, 0, 0, 0] Position [90, 120, 120, 150] Orientation "left" FontSize 14 Operator "sqrt" OutputSignalType "auto" } Block { BlockType Gain Name "ko" Position [185, 121, 255, 149] Orientation "left" FontSize 14 Gain "0.01" SaturateOnIntegerOverflow on } Line { SrcBlock "Fi" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "1/A" DstPort 1 } Line { SrcBlock "1/A" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "ko" SrcPort 1 DstBlock "h1/2" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [15, 0] Branch { DstBlock "Scope" DstPort 1 } Branch { Points [0, 65] DstBlock "ko" DstPort 1 } } Line { SrcBlock "h1/2" SrcPort 1 Points [-30, 0] DstBlock "Sum" DstPort 2 } Annotation { Position [177, 225] Text "Liquid Level Dynamics of a Cylindrical Tank\n\n" "dh/dt = (Fi - ko.sqrt(h))/A" FontSize 14 } Annotation { Position [54, 296] Text "M.Subramanian\n03-Mar-2001" } Annotation { Position [333, 53] Text "h" FontSize 14 } Annotation { Position [145, 57] Text "Fi - ko.sqrt(h)" FontSize 12 } } }