Model { Name "silo2_to_silo1" 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 "Tue Nov 15 09:06:58 2011" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "Administrator" ModifiedDateFormat "%" LastModifiedDate "Tue Nov 22 09:22:09 2011" 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 "200" 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 Product Inputs "2" Multiplication "Element-wise(.*)" ShowAdditionalParam off InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Saturate UpperLimit "0.5" LowerLimit "-0.5" LinearizeAsGain on ZeroCross on } Block { BlockType "S-Function" FunctionName "system" PortCounts "[]" SFunctionModules "''" } Block { BlockType Step Time "1" Before "0" After "1" SampleTime "-1" VectorParams1D 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 Switch Criteria "u2 >= Threshold" Threshold "0" ShowAdditionalParam off InputSameDT on OutDataTypeMode "Inherit via internal rule" RndMeth "Floor" SaturateOnIntegerOverflow on ZeroCross 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" } Block { BlockType TransportDelay DelayTime "1" InitialInput "0" BufferSize "1024" PadeOrder "0" TransDelayFeedthrough off } } 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 "silo2_to_silo1" Location [55, 118, 718, 438] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType SubSystem Name "CONVEYER 2" Ports [1, 1] Position [345, 124, 445, 166] TreatAsAtomicUnit off System { Name "CONVEYER 2" Location [128, 166, 626, 466] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Dari Silo 2" Position [110, 103, 140, 117] } Block { BlockType TransferFcn Name "Lagging" Position [220, 177, 280, 213] Denominator "[10 1]" } Block { BlockType Reference Name "Manual Switch" Ports [2, 1] Position [335, 102, 365, 138] SourceBlock "simulink/Signal\nRouting/Manual Switch" SourceType "Manual Switch" sw "0" action "0" } Block { BlockType TransportDelay Name "Transport\nDelay" Position [240, 95, 270, 125] DelayTime "10" } Block { BlockType Outport Name "Ke Silo 1" Position [425, 113, 455, 127] } Line { SrcBlock "Dari Silo 2" SrcPort 1 Points [25, 0] Branch { DstBlock "Transport\nDelay" DstPort 1 } Branch { Points [0, 85] DstBlock "Lagging" DstPort 1 } } Line { SrcBlock "Transport\nDelay" SrcPort 1 DstBlock "Manual Switch" DstPort 1 } Line { SrcBlock "Manual Switch" SrcPort 1 DstBlock "Ke Silo 1" DstPort 1 } Line { SrcBlock "Lagging" SrcPort 1 Points [15, 0; 0, -65] DstBlock "Manual Switch" DstPort 2 } } } Block { BlockType Constant Name "Constant" Position [45, 30, 75, 60] } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [105, 30, 135, 60] } Block { BlockType ToWorkspace Name "Katup Silo 2 [%]" Position [150, 235, 210, 265] VariableName "katup2" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "Level SILO 1 [cm]" Position [670, 55, 730, 85] VariableName "level1" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "Level SILO 2 [cm]" Position [360, 50, 420, 80] VariableName "level2" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType Constant Name "Pembukaan Katup 1\n0 ....... 100 %" Position [420, 220, 450, 250] } Block { BlockType SubSystem Name "Pembukaan Katup 2\n0 ..... 100 %" Ports [0, 1] Position [55, 128, 105, 172] TreatAsAtomicUnit off System { Name "Pembukaan Katup 2\n0 ..... 100 %" Location [307, 261, 805, 561] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Reference Name "Manual Switch" Ports [2, 1] Position [270, 97, 300, 133] SourceBlock "simulink/Signal\nRouting/Manual Switch" SourceType "Manual Switch" sw "0" action "0" } Block { BlockType Step Name "Pembuka katup" Position [120, 90, 150, 120] Time "20 % Waktu pembukaan katup" After "100 % Persentase bukaan katup" SampleTime "0" } Block { BlockType TransferFcn Name "Transfer Fcn" Position [180, 152, 240, 188] Denominator "[2 1] % Lagging dengan Tme Constant tau = 2" " seconds" } Block { BlockType Outport Name "Out1" Position [360, 108, 390, 122] } Line { SrcBlock "Manual Switch" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "Pembuka katup" SrcPort 1 Points [5, 0] Branch { DstBlock "Manual Switch" DstPort 1 } Branch { Points [0, 65] DstBlock "Transfer Fcn" DstPort 1 } } Line { SrcBlock "Transfer Fcn" SrcPort 1 Points [5, 0; 0, -45] DstBlock "Manual Switch" DstPort 2 } } } Block { BlockType SubSystem Name "SILO 1" Ports [2, 1] Position [490, 124, 635, 171] TreatAsAtomicUnit off System { Name "SILO 1" Location [214, 269, 695, 552] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Masukan Material\ndari CONV2" Position [190, 98, 220, 112] } Block { BlockType Inport Name "katup2" Position [170, 198, 200, 212] Port "2" } Block { BlockType TransferFcn Name "% ke bagian" Position [230, 187, 290, 223] Denominator "[100]" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [435, 90, 465, 120] InitialCondition "0 % Pada awalnya SILO 1 kosong" } Block { BlockType Constant Name "Laju keluarnya\nmaterial dari SILO2\ndalam " "keadaan katup\nterbuka penuh\n5 liter habis dalam 2 menit" Position [185, 264, 255, 296] Value "[5/(2*60)] % 5 liter material habis dalam 2" " menit" } Block { BlockType Saturate Name "Pembatas \nLevel" Position [615, 90, 645, 120] UpperLimit "25 % Batas maksimum level SILO 1 = 25 cm" LowerLimit "0" } Block { BlockType Product Name "Product" Ports [2, 1] Position [320, 196, 365, 229] InputSameDT off } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [370, 95, 390, 115] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType MATLABFcn Name "Volume to Level" Position [525, 90, 585, 120] MATLABFcn "vol_to_lev" } Block { BlockType Outport Name "level1" Position [670, 98, 700, 112] } Line { SrcBlock "Masukan Material\ndari CONV2" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "katup2" SrcPort 1 DstBlock "% ke bagian" DstPort 1 } Line { SrcBlock "% ke bagian" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Laju keluarnya\nmaterial dari SILO2\ndalam " "keadaan katup\nterbuka penuh\n5 liter habis dalam 2 menit" SrcPort 1 Points [45, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 Points [10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Volume to Level" DstPort 1 } Line { SrcBlock "Volume to Level" SrcPort 1 DstBlock "Pembatas \nLevel" DstPort 1 } Line { SrcBlock "Pembatas \nLevel" SrcPort 1 DstBlock "level1" DstPort 1 } Annotation { Name "%" Position [211, 187] } Annotation { Name "liter/second" Position [413, 201] } Annotation { Name "Volume [liter]" Position [499, 77] } Annotation { Name "liter/sec" Position [411, 82] } Annotation { Name "level [cm]" Position [605, 78] } } } Block { BlockType SubSystem Name "SILO 2" Ports [1, 2] Position [140, 122, 290, 173] TreatAsAtomicUnit off System { Name "SILO 2" Location [105, 109, 710, 392] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "katup2" Position [35, 138, 65, 152] } Block { BlockType TransferFcn Name "% ke bagian" Position [95, 127, 155, 163] Denominator "[100]" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [300, 30, 330, 60] InitialCondition "5 % Pada awalnya ada 5 liter material dalam" " SILO 2" } Block { BlockType Constant Name "Laju keluarnya\nmaterial dari SILO2\ndalam " "keadaan katup\nterbuka penuh\n5 liter habis dalam 2 menit" Position [50, 204, 120, 236] Value "[5/(2*60)] % 5 liter material habis dalam 2" " menit" } Block { BlockType Saturate Name "Pembatas \nLevel" Position [480, 30, 510, 60] UpperLimit "40 % Batas maksimum level SILO 2 = 40 cm" LowerLimit "0" } Block { BlockType MATLABFcn Name "Pengali Nol" Position [380, 105, 440, 135] MATLABFcn "pengali_nol" } Block { BlockType Product Name "Product" Ports [2, 1] Position [185, 136, 230, 169] InputSameDT off } Block { BlockType Product Name "Product1" Ports [2, 1] Position [465, 131, 510, 164] InputSameDT off } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [235, 35, 255, 55] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Constant Name "Tambahan Material" Position [50, 30, 80, 60] Value "0" } Block { BlockType MATLABFcn Name "Volume to Level" Position [390, 30, 450, 60] MATLABFcn "vol_to_lev" } Block { BlockType Outport Name "level2" Position [545, 38, 575, 52] } Block { BlockType Outport Name "Material\nke luar dari Katup" Position [570, 143, 600, 157] Port "2" } Line { SrcBlock "Tambahan Material" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "katup2" SrcPort 1 DstBlock "% ke bagian" DstPort 1 } Line { SrcBlock "% ke bagian" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Laju keluarnya\nmaterial dari SILO2\ndalam " "keadaan katup\nterbuka penuh\n5 liter habis dalam 2 menit" SrcPort 1 Points [45, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 Points [5, 0] Branch { Points [5, 0] DstBlock "Sum" DstPort 2 } Branch { DstBlock "Product1" DstPort 2 } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Volume to Level" DstPort 1 } Line { SrcBlock "Volume to Level" SrcPort 1 DstBlock "Pembatas \nLevel" DstPort 1 } Line { SrcBlock "Pembatas \nLevel" SrcPort 1 Points [10, 0] Branch { DstBlock "level2" DstPort 1 } Branch { Points [0, 45; -160, 0] DstBlock "Pengali Nol" DstPort 1 } } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Material\nke luar dari Katup" DstPort 1 } Line { SrcBlock "Pengali Nol" SrcPort 1 Points [0, 20] DstBlock "Product1" DstPort 1 } Annotation { Name "%" Position [76, 127] } Annotation { Name "liter/second" Position [278, 141] } Annotation { Name "Volume [liter]" Position [364, 17] } Annotation { Name "liter/sec" Position [276, 22] } Annotation { Name "level [cm]" Position [470, 18] } Annotation { Name "0/1" Position [457, 121] } } } Block { BlockType ToWorkspace Name "Waktu-ta'" Position [170, 30, 230, 60] VariableName "time" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Waktu-ta'" DstPort 1 } Line { SrcBlock "Pembukaan Katup 2\n0 ..... 100 %" SrcPort 1 Points [10, 0] Branch { DstBlock "SILO 2" DstPort 1 } Branch { Points [0, 100] DstBlock "Katup Silo 2 [%]" DstPort 1 } } Line { SrcBlock "SILO 2" SrcPort 1 Points [15, 0; 0, -70] DstBlock "Level SILO 2 [cm]" DstPort 1 } Line { SrcBlock "Pembukaan Katup 1\n0 ....... 100 %" SrcPort 1 Points [10, 0; 0, -75] DstBlock "SILO 1" DstPort 2 } Line { SrcBlock "CONVEYER 2" SrcPort 1 Points [10, 0; 0, -10] DstBlock "SILO 1" DstPort 1 } Line { SrcBlock "SILO 1" SrcPort 1 Points [5, 0; 0, -80] DstBlock "Level SILO 1 [cm]" DstPort 1 } Line { SrcBlock "SILO 2" SrcPort 2 Points [15, 0; 0, -15] DstBlock "CONVEYER 2" DstPort 1 } Annotation { Name "Time generator:" Position [42, 17] } } }