Model { Name "kendalian_level" Version 5.0 SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ExecutionOrder off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Wed Nov 24 08:30:13 2010" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "Administrator" ModifiedDateFormat "%" LastModifiedDate "Tue Dec 14 19:17:02 2010" ModelVersionFormat "1.%" ConfigurationManager "None" SimParamPage "Solver" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "normal" 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 on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on BufferReuse on RTWExpressionDepthLimit 5 SimulationMode "normal" Solver "ode45" SolverMode "Auto" StartTime "0.0" StopTime "100" MaxOrder 5 MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "auto" RelTol "1e-6" AbsTol "auto" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" LoadExternalInput off ExternalInput "[t, u]" LoadInitialState off InitialState "xInitial" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" Decimation "1" LimitDataPoints on MaxDataPoints "1000" SignalLoggingName "sigsOut" ConsistencyChecking "none" ArrayBoundsChecking "none" AlgebraicLoopMsg "warning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" CheckForMatrixSingularity "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterPrecisionLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SfunCompatibilityCheckMsg "none" RTWInlineParameters off BlockReductionOpt on BooleanDataType on ConditionallyExecuteInputs on ParameterPooling on OptimizeBlockIOStorage on ZeroCross on AssertionControl "UseLocalSettings" ProdHWDeviceType "Microprocessor" ProdHWWordLengths "8,16,32,32" RTWSystemTargetFile "grt.tlc" RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off RTWRetainRTWFile off TLCProfiler off TLCDebug off TLCCoverage off TLCAssertion off BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType Constant Value "1" VectorParams1D on ShowAdditionalParam off OutDataTypeMode "Inherit from 'Constant value'" OutDataType "sfix(16)" ConRadixGroup "Use specified scaling" OutScaling "2^0" } Block { BlockType Inport Port "1" PortDimensions "-1" SampleTime "-1" ShowAdditionalParam off LatchInput off DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" ZeroCross on } Block { BlockType MATLABFcn MATLABFcn "sin" OutputDimensions "-1" OutputSignalType "auto" Output1D on } Block { BlockType Outport Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Saturate UpperLimit "0.5" LowerLimit "-0.5" LinearizeAsGain on ZeroCross on } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" ShowAdditionalParam off InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType ToWorkspace VariableName "simulink_output" MaxDataPoints "1000" Decimation "1" SampleTime "0" } Block { BlockType TransferFcn Numerator "[1]" Denominator "[1 2 1]" AbsoluteTolerance "auto" Realization "auto" } } 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 "kendalian_level" Location [140, 83, 720, 376] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Constant Name "Constant" Position [50, 25, 80, 55] } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [120, 25, 150, 55] } Block { BlockType SubSystem Name "Kendalian LEVEL" Ports [0, 2] Position [195, 103, 295, 252] TreatAsAtomicUnit off System { Name "Kendalian LEVEL" Location [66, 95, 564, 378] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Constant Name "Debit masukan\n[liter/second]" Position [30, 95, 60, 125] Value "0.2" } Block { BlockType SubSystem Name "SILO1" Ports [1, 1] Position [240, 89, 340, 131] TreatAsAtomicUnit off System { Name "SILO1" Location [216, 122, 714, 405] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [145, 153, 175, 167] } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [210, 145, 240, 175] InitialCondition "4.0468" } Block { BlockType Saturate Name "Saturation" Position [315, 145, 345, 175] UpperLimit "8.0287" LowerLimit "0" } Block { BlockType SubSystem Name "Time Constant" Ports [1, 1] Position [480, 141, 530, 179] TreatAsAtomicUnit off System { Name "Time Constant" Location [192, 253, 694, 567] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [110, 103, 140, 117] } Block { BlockType TransferFcn Name "1/tau" Position [205, 92, 265, 128] Denominator "[0.01]" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [300, 95, 330, 125] InitialCondition "15" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [160, 100, 180, 120] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [380, 103, 410, 117] } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "1/tau" DstPort 1 } Line { SrcBlock "1/tau" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [15, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 90; -180, 0] DstBlock "Sum" DstPort 2 } } } } Block { BlockType MATLABFcn Name "Volume to Level" Position [380, 145, 440, 175] MATLABFcn "vol_to_lev" } Block { BlockType Outport Name "level1" Position [575, 153, 605, 167] } Line { SrcBlock "In1" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Time Constant" SrcPort 1 DstBlock "level1" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Saturation" DstPort 1 } Line { SrcBlock "Saturation" SrcPort 1 DstBlock "Volume to Level" DstPort 1 } Line { SrcBlock "Volume to Level" SrcPort 1 DstBlock "Time Constant" DstPort 1 } Annotation { Name "volume masuk\n[liter]" Position [280, 195] } Annotation { Name "V" Position [273, 168] } Annotation { Name "y1" Position [329, 96] } } } Block { BlockType SubSystem Name "SILO2" Ports [1, 1] Position [245, 204, 345, 246] TreatAsAtomicUnit off System { Name "SILO2" Location [216, 122, 714, 405] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [105, 158, 135, 172] } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [175, 150, 205, 180] } Block { BlockType Saturate Name "Saturation" Position [240, 150, 270, 180] UpperLimit "13.603" LowerLimit "0" } Block { BlockType SubSystem Name "Time Constant" Ports [1, 1] Position [450, 146, 500, 184] TreatAsAtomicUnit off System { Name "Time Constant" Location [295, 193, 793, 493] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [80, 103, 110, 117] } Block { BlockType TransferFcn Name "1/tau" Position [205, 92, 265, 128] Denominator "[0.01]" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [300, 95, 330, 125] } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [160, 100, 180, 120] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [380, 103, 410, 117] } Line { SrcBlock "Sum" SrcPort 1 DstBlock "1/tau" DstPort 1 } Line { SrcBlock "1/tau" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [15, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 60; -180, 0] DstBlock "Sum" DstPort 2 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } } } Block { BlockType MATLABFcn Name "Volume to Level" Position [345, 150, 405, 180] MATLABFcn "vol_to_lev" } Block { BlockType Outport Name "level2" Position [575, 158, 605, 172] } Line { SrcBlock "In2" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Time Constant" SrcPort 1 DstBlock "level2" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Saturation" DstPort 1 } Line { SrcBlock "Saturation" SrcPort 1 DstBlock "Volume to Level" DstPort 1 } Line { SrcBlock "Volume to Level" SrcPort 1 DstBlock "Time Constant" DstPort 1 } Annotation { Name "volume masuk\n[liter]" Position [290, 185] } Annotation { Name "V" Position [283, 158] } Annotation { Name "y2" Position [329, 96] } } } Block { BlockType Outport Name "Level SILO 1 [cm]" Position [475, 103, 505, 117] } Block { BlockType Outport Name "Level SILO 2 [cm]" Position [470, 218, 500, 232] Port "2" } Line { SrcBlock "SILO2" SrcPort 1 DstBlock "Level SILO 2 [cm]" DstPort 1 } Line { SrcBlock "SILO1" SrcPort 1 DstBlock "Level SILO 1 [cm]" DstPort 1 } Line { SrcBlock "Debit masukan\n[liter/second]" SrcPort 1 Points [105, 0] Branch { DstBlock "SILO1" DstPort 1 } Branch { Points [0, 115] DstBlock "SILO2" DstPort 1 } } } } Block { BlockType ToWorkspace Name "LEVEL SILO 1" Position [345, 125, 405, 155] VariableName "level1" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "LEVEL SILO 2" Position [345, 200, 405, 230] VariableName "level2" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "Waktu" Position [215, 25, 275, 55] VariableName "time" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Waktu" DstPort 1 } Line { SrcBlock "Kendalian LEVEL" SrcPort 1 DstBlock "LEVEL SILO 1" DstPort 1 } Line { SrcBlock "Kendalian LEVEL" SrcPort 2 DstBlock "LEVEL SILO 2" DstPort 1 } } }