Model { Name "kolam_air_hangat_2011_dgn_PENGENDALI" 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 "Fri Apr 29 08:08:43 2011" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "Administrator" ModifiedDateFormat "%" LastModifiedDate "Fri May 20 09:32:08 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 "2000" 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 Demux Outputs "4" DisplayOption "none" BusSelectionMode off } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ShowAdditionalParam off ParameterDataTypeMode "Same as input" ParameterDataType "sfix(16)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "2^0" OutDataTypeMode "Same as input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } 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 Mux Inputs "4" DisplayOption "none" } 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 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 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 "kolam_air_hangat_2011_dgn_PENGENDALI" Location [48, 35, 780, 530] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType ToWorkspace Name "Acuan Waktu t" Position [165, 70, 225, 100] VariableName "time" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType Constant Name "Constant" Position [25, 70, 55, 100] } Block { BlockType Demux Name "Demux" Ports [1, 3] Position [140, 454, 145, 516] BackgroundColor "black" ShowName off Outputs "3" } Block { BlockType SubSystem Name "Gangguan Hujan" Ports [0, 2] Position [15, 384, 115, 426] FontSize 10 TreatAsAtomicUnit off System { Name "Gangguan Hujan" Location [314, 178, 812, 478] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Constant Name "Debit Air Hujan\n[liter/second]" Position [60, 44, 140, 76] Value "400" } Block { BlockType Step Name "Hujan Berhenti" Position [65, 200, 95, 230] Time "20*60 % Hujan berhenti pada menit ke-20" SampleTime "0" } Block { BlockType Step Name "Mulai Hujan" Position [65, 120, 95, 150] Time "15*60 % Hujan mulai pada menit ke-15" SampleTime "0" } Block { BlockType Product Name "Product" Ports [2, 1] Position [185, 51, 230, 84] InputSameDT off } Block { BlockType Constant Name "Suhu Udara" Position [260, 180, 290, 210] Value "30" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [125, 155, 145, 175] ShowName off IconShape "round" Inputs "+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Gangguan Level" Position [360, 103, 390, 117] } Block { BlockType Outport Name "Gangguan Suhu" Position [365, 188, 395, 202] Port "2" } Line { SrcBlock "Suhu Udara" SrcPort 1 DstBlock "Gangguan Suhu" DstPort 1 } Line { SrcBlock "Debit Air Hujan\n[liter/second]" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 Points [55, 0; 0, 40] DstBlock "Gangguan Level" DstPort 1 } Line { SrcBlock "Mulai Hujan" SrcPort 1 Points [35, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Hujan Berhenti" SrcPort 1 Points [35, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0; 0, -90] DstBlock "Product" DstPort 2 } } } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [95, 70, 125, 100] } Block { BlockType SubSystem Name "Katup Air Dingin" Ports [2, 1] Position [205, 218, 320, 262] TreatAsAtomicUnit off System { Name "Katup Air Dingin" Location [253, 242, 751, 542] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Dari\nSumber Air Dingin" Position [90, 193, 120, 207] } Block { BlockType Inport Name "Dari\nPusat Kendali\n(0 ........ 1)" Position [100, 48, 130, 62] Port "2" } Block { BlockType Demux Name "Demux" Ports [1, 2] Position [175, 181, 180, 219] BackgroundColor "black" ShowName off Outputs "2" } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [375, 181, 380, 219] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Product Name "Product" Ports [2, 1] Position [250, 46, 295, 79] InputSameDT off } Block { BlockType Outport Name "Out1" Position [415, 193, 445, 207] } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "Dari\nSumber Air Dingin" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 DstBlock "Mux" DstPort 2 } Line { SrcBlock "Dari\nPusat Kendali\n(0 ........ 1)" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [10, 0; 0, -120] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 Points [30, 0; 0, 125] DstBlock "Mux" DstPort 1 } Annotation { Name "Suhu Air Dingin [C]" Position [282, 217] } Annotation { Name "Pengaturan Debit Air Dingin" Position [264, 137] } } } Block { BlockType SubSystem Name "Katup Air Panas" Ports [2, 1] Position [205, 153, 325, 197] TreatAsAtomicUnit off System { Name "Katup Air Panas" Location [253, 242, 751, 542] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Dari\nSumber Air Panas" Position [90, 193, 120, 207] } Block { BlockType Inport Name "Dari\nPusat Kendali\n(0 ........ 1)" Position [100, 48, 130, 62] Port "2" } Block { BlockType Demux Name "Demux" Ports [1, 2] Position [175, 181, 180, 219] BackgroundColor "black" ShowName off Outputs "2" } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [375, 181, 380, 219] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Product Name "Product" Ports [2, 1] Position [250, 46, 295, 79] InputSameDT off } Block { BlockType Outport Name "Out1" Position [415, 193, 445, 207] } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "Dari\nSumber Air Panas" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 DstBlock "Mux" DstPort 2 } Line { SrcBlock "Dari\nPusat Kendali\n(0 ........ 1)" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [10, 0; 0, -120] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 Points [30, 0; 0, 125] DstBlock "Mux" DstPort 1 } Annotation { Name "Suhu Air Panas [C]" Position [282, 217] } Annotation { Name "Pengaturan Debit Air Panas" Position [264, 137] } } } Block { BlockType SubSystem Name "Katup Pembuangan" Ports [1, 1] Position [205, 284, 320, 326] TreatAsAtomicUnit off System { Name "Katup Pembuangan" Location [262, 224, 760, 524] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Dari\nPusat \nKendali \n(0.......1)" Position [95, 123, 125, 137] } Block { BlockType Constant Name "Debit Maksimum\nKatup Pembuangan \n[liter/s" "econd]" Position [105, 15, 135, 45] Value "50" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 21, 260, 54] InputSameDT off } Block { BlockType Outport Name "Out1" Position [350, 33, 380, 47] } Line { SrcBlock "Debit Maksimum\nKatup Pembuangan \n[liter/s" "econd]" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Dari\nPusat \nKendali \n(0.......1)" SrcPort 1 Points [70, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "Kolam Air Hangat" Ports [5, 4] Position [345, 144, 640, 466] TreatAsAtomicUnit off System { Name "Kolam Air Hangat" Location [10, 65, 781, 542] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "125" Block { BlockType Inport Name "Dari Sumber \nAir Panas" Position [65, 43, 95, 57] } Block { BlockType Inport Name "Dari Sumber \nAir Dingin" Position [65, 148, 95, 162] Port "2" } Block { BlockType Inport Name "Katup Pembuangan\n[liter/sec]" Position [60, 258, 90, 272] Port "3" } Block { BlockType Inport Name "Suhu Udara Luar [C]" Position [60, 318, 90, 332] Port "4" } Block { BlockType Inport Name "Gangguan Hujan" Position [60, 393, 90, 407] Port "5" } Block { BlockType Saturate Name "Batas Level" Position [535, 45, 565, 75] UpperLimit "2.5 % dalamnya kolam 2.5 m" LowerLimit "0" } Block { BlockType Saturate Name "Batas Suhu" Position [565, 245, 595, 275] UpperLimit "80 % Suhu Air Panas 80 C" LowerLimit "15 % Suhu Air Dingin 15 C" } Block { BlockType Demux Name "Demux" Ports [1, 2] Position [155, 13, 160, 82] BackgroundColor "black" ShowName off Outputs "2" } Block { BlockType Demux Name "Demux1" Ports [1, 2] Position [155, 118, 160, 187] BackgroundColor "black" ShowName off Outputs "2" } Block { BlockType Demux Name "Demux2" Ports [1, 2] Position [130, 363, 135, 432] BackgroundColor "black" ShowName off Outputs "2" } Block { BlockType SubSystem Name "Penghitung Level" Ports [4, 1] Position [305, 16, 490, 104] TreatAsAtomicUnit off System { Name "Penghitung Level" Location [335, 193, 988, 493] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Debit Air Panas\n[liter/sec]" Position [45, 23, 75, 37] } Block { BlockType Inport Name "Debit Air Dingin\n[liter/sec]" Position [50, 98, 80, 112] Port "2" } Block { BlockType Inport Name "Katup Pembuangan\n[liter/sec]1" Position [55, 198, 85, 212] Port "3" } Block { BlockType Inport Name "Tambahan Air Hujan\n[liter/sec]" Position [55, 253, 85, 267] Port "4" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [290, 105, 320, 135] InitialCondition "0 % Air dalam kolam pada saat awal" } Block { BlockType Sum Name "Sum" Ports [4, 1] Position [205, 100, 235, 140] ShowName off IconShape "round" Inputs "++-+" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType TransferFcn Name "Volume [liter] to Level [m]" Position [440, 102, 500, 138] Numerator "[0.001] % liter ke m3" Denominator "[10*4] % luas penampang = panjang X leb" "ar" } Block { BlockType Outport Name "Level [m]" Position [575, 103, 605, 117] } Line { SrcBlock "Debit Air Panas\n[liter/sec]" SrcPort 1 Points [140, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Debit Air Dingin\n[liter/sec]" SrcPort 1 Points [107, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Katup Pembuangan\n[liter/sec]1" SrcPort 1 Points [102, 0] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Volume [liter] to Level [m]" DstPort 1 } Line { SrcBlock "Volume [liter] to Level [m]" SrcPort 1 Points [0, -10] DstBlock "Level [m]" DstPort 1 } Line { SrcBlock "Tambahan Air Hujan\n[liter/sec]" SrcPort 1 Points [130, 0] DstBlock "Sum" DstPort 4 } Annotation { Name "Volume [liter]" Position [357, 91] } } } Block { BlockType SubSystem Name "Penghitung Suhu" Ports [5, 1] Position [315, 164, 495, 356] TreatAsAtomicUnit off System { Name "Penghitung Suhu" Location [-11, 67, 760, 544] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "158" Block { BlockType Inport Name "Dari Sumber\nAir Panas" Position [110, 63, 140, 77] } Block { BlockType Inport Name "Dari Sumber\nAir Dingin" Position [110, 118, 140, 132] Port "2" } Block { BlockType Inport Name "Dari Level \nSekarang" Position [115, 208, 145, 222] Port "3" } Block { BlockType Inport Name "Suhu Udara Luar [C]" Position [115, 258, 145, 272] Port "4" } Block { BlockType Inport Name "Dari Air Hujan" Position [115, 328, 145, 342] Port "5" } Block { BlockType Demux Name "Demux" Ports [1, 2] Position [215, 51, 220, 89] BackgroundColor "black" ShowName off Outputs "2" } Block { BlockType Demux Name "Demux1" Ports [1, 2] Position [215, 106, 220, 144] BackgroundColor "black" ShowName off Outputs "2" } Block { BlockType Demux Name "Demux2" Ports [1, 2] Position [210, 316, 215, 354] BackgroundColor "black" ShowName off Outputs "2" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [320, 45, 350, 75] } Block { BlockType Integrator Name "Integrator1" Ports [1, 1] Position [320, 100, 350, 130] } Block { BlockType Integrator Name "Integrator2" Ports [1, 1] Position [285, 295, 315, 325] NamePlacement "alternate" } Block { BlockType Mux Name "Mux" Ports [8, 1] Position [360, 165, 370, 255] ShowName off Inputs "8" DisplayOption "bar" } Block { BlockType MATLABFcn Name "Rumus Azas Black" Position [445, 195, 505, 225] MATLABFcn "azas_Black" } Block { BlockType Outport Name "Suhu [C]" Position [555, 203, 585, 217] } Line { SrcBlock "Dari Sumber\nAir Panas" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Dari Sumber\nAir Dingin" SrcPort 1 DstBlock "Demux1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Demux1" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Rumus Azas Black" SrcPort 1 DstBlock "Suhu [C]" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Rumus Azas Black" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [115, 0; 0, 95; -125, 0] DstBlock "Mux" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [10, 0; 0, 35; -25, 0; 0, 35] DstBlock "Mux" DstPort 2 } Line { SrcBlock "Demux" SrcPort 2 Points [75, 0; 0, 115] DstBlock "Mux" DstPort 3 } Line { SrcBlock "Demux1" SrcPort 2 Points [30, 0; 0, 70] DstBlock "Mux" DstPort 4 } Line { SrcBlock "Dari Level \nSekarang" SrcPort 1 DstBlock "Mux" DstPort 5 } Line { SrcBlock "Suhu Udara Luar [C]" SrcPort 1 Points [100, 0; 0, -40] DstBlock "Mux" DstPort 6 } Line { SrcBlock "Dari Air Hujan" SrcPort 1 DstBlock "Demux2" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 1 Points [30, 0; 0, -15] DstBlock "Integrator2" DstPort 1 } Line { SrcBlock "Integrator2" SrcPort 1 Points [10, 0; 0, -75] DstBlock "Mux" DstPort 7 } Line { SrcBlock "Demux2" SrcPort 2 Points [120, 0; 0, -100] DstBlock "Mux" DstPort 8 } Annotation { Name "Jika Level = 0, Suhu = Suhu Udara Luar" Position [245, 234] } Annotation { Name "debit air panas" Position [265, 50] } Annotation { Name "suhu air panas" Position [265, 90] } Annotation { Name "debit air dingin" Position [264, 108] } Annotation { Name "suhu air dingin" Position [263, 147] } Annotation { Name "Volume air panas [liter]" Position [405, 46] } Annotation { Name "Volume air dingin [liter]" Position [412, 94] } Annotation { Name "x(1)" Position [383, 168] } Annotation { Name "x(8)" Position [383, 247] } Annotation { Name "Debit Air Hujan" Position [253, 330] } Annotation { Name "Volume Air Hujan [liter]" Position [389, 297] } Annotation { Name "Suhu Air Hujan" Position [248, 351] } } } Block { BlockType SubSystem Name "Sensor Level" Ports [1, 1] Position [240, 369, 340, 411] TreatAsAtomicUnit off System { Name "Sensor Level" Location [281, 130, 779, 430] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Level In" Position [110, 103, 140, 117] } Block { BlockType SubSystem Name "Keterlambatan\n(Lagging)" Ports [1, 1] Position [170, 89, 270, 131] TreatAsAtomicUnit off System { Name "Keterlambatan\n(Lagging)" Location [63, 150, 561, 450] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [100, 83, 130, 97] } Block { BlockType TransferFcn Name "1/tau\ntau = time constant" Position [210, 72, 270, 108] Denominator "[2]" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [320, 75, 350, 105] } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [160, 80, 180, 100] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [395, 83, 425, 97] } Line { SrcBlock "Sum" SrcPort 1 DstBlock "1/tau\ntau = time constant" DstPort 1 } Line { SrcBlock "1/tau\ntau = time constant" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, 60; -200, 0] DstBlock "Sum" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Annotation { Name "Keadaan Awal Level" Position [328, 61] } Annotation { Name "time constant adalah waktu yang dip" "erlukan untuk\nmencapai 63 % dari keadaan akhir suatu perubahan" Position [301, 227] } } } Block { BlockType Gain Name "Level to Voltage" Position [315, 95, 345, 125] Gain "2" } Block { BlockType Outport Name "Voltage Out]" Position [395, 103, 425, 117] } Line { SrcBlock "Level In" SrcPort 1 DstBlock "Keterlambatan\n(Lagging)" DstPort 1 } Line { SrcBlock "Level to Voltage" SrcPort 1 DstBlock "Voltage Out]" DstPort 1 } Line { SrcBlock "Keterlambatan\n(Lagging)" SrcPort 1 DstBlock "Level to Voltage" DstPort 1 } } } Block { BlockType SubSystem Name "Sensor Suhu" Ports [1, 1] Position [240, 444, 340, 486] TreatAsAtomicUnit off System { Name "Sensor Suhu" Location [256, 227, 754, 527] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Temp In" Position [105, 123, 135, 137] } Block { BlockType SubSystem Name "Keterlambatan\n(Lagging)" Ports [1, 1] Position [165, 109, 265, 151] TreatAsAtomicUnit off System { Name "Keterlambatan\n(Lagging)" Location [63, 150, 561, 450] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [100, 83, 130, 97] } Block { BlockType TransferFcn Name "1/tau\ntau = time constant" Position [210, 72, 270, 108] Denominator "[2]" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [320, 75, 350, 105] InitialCondition "30" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [160, 80, 180, 100] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [395, 83, 425, 97] } Line { SrcBlock "Sum" SrcPort 1 DstBlock "1/tau\ntau = time constant" DstPort 1 } Line { SrcBlock "1/tau\ntau = time constant" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, 60; -200, 0] DstBlock "Sum" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Annotation { Name "Keadaan Awal Level" Position [328, 61] } Annotation { Name "time constant adalah waktu yang dip" "erlukan untuk\nmencapai 63 % dari keadaan akhir suatu perubahan" Position [301, 227] } } } Block { BlockType Gain Name "Temp to Voltage" Position [295, 112, 350, 148] Gain "1/20" } Block { BlockType Outport Name "Voltage Out]" Position [390, 123, 420, 137] } Line { SrcBlock "Temp In" SrcPort 1 DstBlock "Keterlambatan\n(Lagging)" DstPort 1 } Line { SrcBlock "Temp to Voltage" SrcPort 1 DstBlock "Voltage Out]" DstPort 1 } Line { SrcBlock "Keterlambatan\n(Lagging)" SrcPort 1 DstBlock "Temp to Voltage" DstPort 1 } } } Block { BlockType Outport Name "Level Air Hangat [m]" Position [605, 53, 635, 67] } Block { BlockType Outport Name "Suhu Air [C]" Position [670, 253, 700, 267] Port "2" } Block { BlockType Outport Name "Level Air Hangat\nBacaan SENSOR [V]" Position [420, 383, 450, 397] Port "3" } Block { BlockType Outport Name "Suhu Air\nBacaan SENSOR [V]" Position [415, 458, 445, 472] Port "4" } Line { SrcBlock "Dari Sumber \nAir Panas" SrcPort 1 Points [20, 0] Branch { DstBlock "Demux" DstPort 1 } Branch { Points [0, 130] DstBlock "Penghitung Suhu" DstPort 1 } } Line { SrcBlock "Dari Sumber \nAir Dingin" SrcPort 1 Points [10, 0] Branch { DstBlock "Demux1" DstPort 1 } Branch { Points [0, 65] DstBlock "Penghitung Suhu" DstPort 2 } } Line { SrcBlock "Sensor Level" SrcPort 1 DstBlock "Level Air Hangat\nBacaan SENSOR [V]" DstPort 1 } Line { SrcBlock "Batas Level" SrcPort 1 Points [5, 0] Branch { DstBlock "Level Air Hangat [m]" DstPort 1 } Branch { Points [0, 65; -290, 0; 0, 155] Branch { Points [15, 0] DstBlock "Penghitung Suhu" DstPort 3 } Branch { Points [-85, 0; 0, 110] DstBlock "Sensor Level" DstPort 1 } } } Line { SrcBlock "Batas Suhu" SrcPort 1 Points [40, 0] Branch { DstBlock "Suhu Air [C]" DstPort 1 } Branch { Points [5, 0; 0, 165; -445, 0; 0, 40] DstBlock "Sensor Suhu" DstPort 1 } } Line { SrcBlock "Penghitung Level" SrcPort 1 DstBlock "Batas Level" DstPort 1 } Line { SrcBlock "Penghitung Suhu" SrcPort 1 DstBlock "Batas Suhu" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Penghitung Level" DstPort 1 } Line { SrcBlock "Demux1" SrcPort 1 Points [40, 0; 0, -85] DstBlock "Penghitung Level" DstPort 2 } Line { SrcBlock "Katup Pembuangan\n[liter/sec]" SrcPort 1 Points [135, 0; 0, -195] DstBlock "Penghitung Level" DstPort 3 } Line { SrcBlock "Suhu Udara Luar [C]" SrcPort 1 Points [205, 0] DstBlock "Penghitung Suhu" DstPort 4 } Line { SrcBlock "Sensor Suhu" SrcPort 1 DstBlock "Suhu Air\nBacaan SENSOR [V]" DstPort 1 } Line { SrcBlock "Gangguan Hujan" SrcPort 1 Points [5, 0] Branch { DstBlock "Demux2" DstPort 1 } Branch { Points [0, -60] DstBlock "Penghitung Suhu" DstPort 5 } } Line { SrcBlock "Demux2" SrcPort 1 Points [45, 0; 0, -215; 90, 0; 0, -75] DstBlock "Penghitung Level" DstPort 4 } Annotation { Name "Debit Air Panas[liter/sec]" Position [224, 23] } Annotation { Name "Suhu Air Panas [C]" Position [217, 70] } Annotation { Name "Debit Air Dingin[liter/sec]" Position [229, 128] } Annotation { Name "Suhu Air Dingin [C]" Position [217, 175] } Annotation { Name "[0.....2.5 m]" Position [267, 299] } Annotation { Name "[0......5 V]" Position [371, 382] } Annotation { Name "[0......5 V]" Position [373, 457] } Annotation { Name "[0 ...... 100 C]" Position [157, 452] } Annotation { Name "Debit Air Hujan" Position [155, 369] } } } Block { BlockType ToWorkspace Name "Level Air dalam\nKolam [m]" Position [705, 170, 765, 200] VariableName "level" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [690, 376, 695, 414] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux1" Ports [2, 1] Position [140, 386, 145, 424] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType ToWorkspace Name "Pengukuran Level Air dalam\nKolam [V]" Position [815, 335, 890, 365] VariableName "sensor_level" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "Pengukuran Suhu Air dalam\nKolam [V]" Position [820, 415, 895, 445] VariableName "sensor_suhu" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType SubSystem Name "Pusat Kendali" Ports [1, 1] Position [385, 519, 585, 581] Orientation "left" TreatAsAtomicUnit off System { Name "Pusat Kendali" Location [127, 142, 680, 480] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Dari Sensor" Position [55, 103, 85, 117] } Block { BlockType SubSystem Name "Algoritma\nKendali" Ports [2, 3] Position [240, 47, 450, 233] TreatAsAtomicUnit off System { Name "Algoritma\nKendali" Location [272, 195, 774, 547] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Selisih Level" Position [45, 43, 75, 57] } Block { BlockType Inport Name "Selisih Suhu" Position [50, 178, 80, 192] Port "2" } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [150, 97, 155, 168] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType MATLABFcn Name "Pengatur\nKatup Air Dingin" Position [240, 120, 300, 150] MATLABFcn "katup_air_dingin" } Block { BlockType MATLABFcn Name "Pengatur\nKatup Air Panas" Position [240, 45, 300, 75] MATLABFcn "katup_air_panas" } Block { BlockType MATLABFcn Name "Pengatur\nKatup Pembuangan" Position [245, 195, 305, 225] MATLABFcn "katup_buang" } Block { BlockType Outport Name "ke Katup Air Panas\n(0 .......1)" Position [365, 53, 395, 67] } Block { BlockType Outport Name "ke Katup Air Dingin\n(0 .......1)" Position [365, 128, 395, 142] Port "2" } Block { BlockType Outport Name "ke Katup Air Pembuangan\n(0 .......1)" Position [360, 203, 390, 217] Port "3" } Line { SrcBlock "Selisih Level" SrcPort 1 Points [25, 0; 0, 65] DstBlock "Mux" DstPort 1 } Line { SrcBlock "Selisih Suhu" SrcPort 1 Points [25, 0; 0, -35] DstBlock "Mux" DstPort 2 } Line { SrcBlock "Mux" SrcPort 1 Points [30, 0; 0, -5] Branch { Points [0, -70] DstBlock "Pengatur\nKatup Air Panas" DstPort 1 } Branch { Points [0, 5] DstBlock "Pengatur\nKatup Air Dingin" DstPort 1 } Branch { Points [0, 80] DstBlock "Pengatur\nKatup Pembuangan" DstPort 1 } } Line { SrcBlock "Pengatur\nKatup Air Panas" SrcPort 1 DstBlock "ke Katup Air Panas\n(0 .......1)" DstPort 1 } Line { SrcBlock "Pengatur\nKatup Air Dingin" SrcPort 1 DstBlock "ke Katup Air Dingin\n(0 .......1)" DstPort 1 } Line { SrcBlock "Pengatur\nKatup Pembuangan" SrcPort 1 DstBlock "ke Katup Air Pembuangan\n(0 .......1)" DstPort 1 } Annotation { Name "PROGRAMMABLE LOGIC CONTROLLER (PLC)" Position [136, 270] } } } Block { BlockType Demux Name "Demux" Ports [1, 2] Position [120, 70, 125, 145] BackgroundColor "black" ShowName off Outputs "2" } Block { BlockType Constant Name "Level yang diinginkan\ndalam [Volt]" Position [20, 13, 95, 47] Value "[2.25*2] % Level yang diinginkan 2.25 m => " "tegangan 4.5 Volt " } Block { BlockType Mux Name "Mux" Ports [3, 1] Position [490, 80, 495, 150] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Constant Name "Suhu yang diinginkan\ndalam Volt" Position [15, 219, 95, 251] Value "[45/20] % Suhu yang diinginkan 45 C ==> {45" "/20) Volt" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [150, 20, 170, 40] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [155, 180, 175, 200] ShowName off IconShape "round" Inputs "|-+" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Ke Katup-Katup" Position [545, 108, 575, 122] } Line { SrcBlock "Dari Sensor" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Ke Katup-Katup" DstPort 1 } Line { SrcBlock "Level yang diinginkan\ndalam [Volt]" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [30, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Demux" SrcPort 2 Points [5, 0; 0, 65] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Suhu yang diinginkan\ndalam Volt" SrcPort 1 Points [65, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 Points [25, 0; 0, 65] DstBlock "Algoritma\nKendali" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Algoritma\nKendali" DstPort 2 } Line { SrcBlock "Algoritma\nKendali" SrcPort 1 Points [15, 0; 0, 10] DstBlock "Mux" DstPort 1 } Line { SrcBlock "Algoritma\nKendali" SrcPort 2 Points [10, 0; 0, -25] DstBlock "Mux" DstPort 2 } Line { SrcBlock "Algoritma\nKendali" SrcPort 3 Points [20, 0] DstBlock "Mux" DstPort 3 } Annotation { Name "Level Aktual" Position [165, 96] } Annotation { Name "Suhu Aktual" Position [164, 118] } } } Block { BlockType ToWorkspace Name "Suhu Air dalam\nKolam [C]1" Position [705, 250, 765, 280] VariableName "suhu" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType Constant Name "Suhu Udara" Position [270, 355, 300, 385] Value "30" } Block { BlockType SubSystem Name "Sumber Air Dingin" Ports [0, 1] Position [50, 269, 150, 311] TreatAsAtomicUnit off System { Name "Sumber Air Dingin" Location [342, 256, 840, 556] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Constant Name "Debit Air Dingin\n[liter/second]" Position [110, 47, 190, 83] Value "100" } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [290, 91, 295, 129] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Constant Name "Suhu Air Dingin\n[C]" Position [160, 130, 190, 160] Value "15" } Block { BlockType Outport Name "Sumber\nAir Dingin" Position [360, 103, 390, 117] } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Sumber\nAir Dingin" DstPort 1 } Line { SrcBlock "Debit Air Dingin\n[liter/second]" SrcPort 1 Points [40, 0; 0, 35] DstBlock "Mux" DstPort 1 } Line { SrcBlock "Suhu Air Dingin\n[C]" SrcPort 1 Points [40, 0; 0, -25] DstBlock "Mux" DstPort 2 } } } Block { BlockType SubSystem Name "Sumber Air Panas" Ports [0, 1] Position [50, 144, 150, 186] TreatAsAtomicUnit off System { Name "Sumber Air Panas" Location [342, 256, 840, 556] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Constant Name "Debit Air Panas\n[liter/second]" Position [110, 54, 190, 86] Value "100" } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [290, 91, 295, 129] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Constant Name "Suhu Air Panas\n[C]" Position [160, 130, 190, 160] Value "80" } Block { BlockType Outport Name "Sumber\nAir Panas" Position [360, 103, 390, 117] } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Sumber\nAir Panas" DstPort 1 } Line { SrcBlock "Debit Air Panas\n[liter/second]" SrcPort 1 Points [40, 0; 0, 30] DstBlock "Mux" DstPort 1 } Line { SrcBlock "Suhu Air Panas\n[C]" SrcPort 1 Points [40, 0; 0, -25] DstBlock "Mux" DstPort 2 } } } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Acuan Waktu t" DstPort 1 } Line { SrcBlock "Kolam Air Hangat" SrcPort 1 DstBlock "Level Air dalam\nKolam [m]" DstPort 1 } Line { SrcBlock "Kolam Air Hangat" SrcPort 2 DstBlock "Suhu Air dalam\nKolam [C]1" DstPort 1 } Line { SrcBlock "Kolam Air Hangat" SrcPort 3 Points [0, 5; 10, 0] Branch { Points [0, 35] DstBlock "Mux" DstPort 1 } Branch { DstBlock "Pengukuran Level Air dalam\nKolam [V]" DstPort 1 } } Line { SrcBlock "Kolam Air Hangat" SrcPort 4 Points [0, 5; 10, 0] Branch { Points [0, -25] DstBlock "Mux" DstPort 2 } Branch { DstBlock "Pengukuran Suhu Air dalam\nKolam [V]" DstPort 1 } } Line { SrcBlock "Mux" SrcPort 1 Points [40, 0; 0, 155] DstBlock "Pusat Kendali" DstPort 1 } Line { SrcBlock "Katup Air Panas" SrcPort 1 DstBlock "Kolam Air Hangat" DstPort 1 } Line { SrcBlock "Katup Air Dingin" SrcPort 1 DstBlock "Kolam Air Hangat" DstPort 2 } Line { SrcBlock "Katup Pembuangan" SrcPort 1 DstBlock "Kolam Air Hangat" DstPort 3 } Line { SrcBlock "Suhu Udara" SrcPort 1 DstBlock "Kolam Air Hangat" DstPort 4 } Line { SrcBlock "Sumber Air Panas" SrcPort 1 DstBlock "Katup Air Panas" DstPort 1 } Line { SrcBlock "Sumber Air Dingin" SrcPort 1 Points [5, 0; 0, -60] DstBlock "Katup Air Dingin" DstPort 1 } Line { SrcBlock "Pusat Kendali" SrcPort 1 Points [-270, 0; 0, -65] DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [20, 0; 0, -280] DstBlock "Katup Air Panas" DstPort 2 } Line { SrcBlock "Demux" SrcPort 2 Points [30, 0; 0, -235] DstBlock "Katup Air Dingin" DstPort 2 } Line { SrcBlock "Demux" SrcPort 3 Points [40, 0] DstBlock "Katup Pembuangan" DstPort 1 } Line { SrcBlock "Gangguan Hujan" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Gangguan Hujan" SrcPort 2 DstBlock "Mux1" DstPort 2 } Line { SrcBlock "Mux1" SrcPort 1 Points [10, 0; 0, 30] DstBlock "Kolam Air Hangat" DstPort 5 } Annotation { Name "DIAMATI dan DIRASAKAN\noleh PENGAMAT" Position [853, 269] } } }