Model { Name "Dahlinuvregulator" Version 5.1 SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off SortedOrder 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 "Mon Apr 07 13:58:30 2008" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "Petr Ščevík" ModifiedDateFormat "%" LastModifiedDate "Sun Apr 27 13:36:53 2008" 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 "20" MaxOrder 5 MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "0.25" RelTol "1e-3" 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 Clock DisplayTime off } 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 DiscreteTransferFcn Numerator "[1]" Denominator "[1 0.5]" Realization "auto" RTWStateStorageClass "Auto" } Block { BlockType Mux Inputs "4" DisplayOption "none" } Block { BlockType Scope Floating off ModelBased off TickLabels "OneTimeTick" ZoomMode "on" Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off } 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" } } 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 "Dahlinuvregulator" Location [227, 113, 1035, 930] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Clock Name "Clock" Position [640, 35, 660, 55] Decimation "10" } Block { BlockType Constant Name "Constant" Position [100, 125, 130, 155] } Block { BlockType Constant Name "Constant1" Position [60, 365, 90, 395] } Block { BlockType Constant Name "Constant2" Position [65, 520, 95, 550] } Block { BlockType DiscreteTransferFcn Name "Dahlinuv regulator" Position [170, 362, 280, 398] Numerator "[0.74 -0.5 0 0 0]" Denominator "[1 -0.51 0 0 -0.49]" } Block { BlockType DiscreteTransferFcn Name "Diskretizovana soustava" Position [160, 122, 220, 158] Numerator "[0.66]" Denominator "[1 -0.67 0 0 0]" } Block { BlockType Mux Name "Mux1" Ports [2, 1] Position [510, 546, 515, 584] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType DiscreteTransferFcn Name "Regulovana soustava" Position [400, 362, 460, 398] Numerator "[0.66]" Denominator "[1 -0.67 0 0 0]" } Block { BlockType Scope Name "Scope1" Ports [1] Position [305, 124, 335, 156] Location [188, 365, 512, 604] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } SaveName "ScopeData1" DataFormat "StructureWithTime" } Block { BlockType Scope Name "Scope2" Ports [1] Position [295, 519, 325, 551] Location [188, 365, 512, 604] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } SaveName "ScopeData5" DataFormat "StructureWithTime" } Block { BlockType Scope Name "Scope3" Ports [1] Position [525, 364, 555, 396] Location [188, 365, 1060, 929] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } SaveName "ScopeData3" DataFormat "StructureWithTime" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [120, 370, 140, 390] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType ToWorkspace Name "To Workspace" Position [570, 285, 630, 315] VariableName "y" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace1" Position [715, 30, 775, 60] VariableName "t" MaxDataPoints "inf" SampleTime "1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace2" Position [280, 50, 340, 80] VariableName "soustava" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace3" Position [295, 585, 355, 615] VariableName "u" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace4" Position [330, 240, 390, 270] VariableName "u1" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType Scope Name "u" Ports [1] Position [555, 549, 585, 581] Location [188, 365, 1060, 929] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } SaveName "ScopeData6" DataFormat "StructureWithTime" } Block { BlockType Scope Name "u1" Ports [1] Position [330, 294, 360, 326] Location [188, 365, 512, 604] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } SaveName "ScopeData4" DataFormat "StructureWithTime" } Block { BlockType DiscreteTransferFcn Name "vypocteny \nprubeh akcni veliciny" Position [140, 517, 250, 553] Numerator "[0.74 -0.5]" Denominator "[1 -0.51]" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Diskretizovana soustava" DstPort 1 } Line { SrcBlock "Diskretizovana soustava" SrcPort 1 Points [30, 0] Branch { DstBlock "Scope1" DstPort 1 } Branch { Points [0, -75] DstBlock "To Workspace2" DstPort 1 } } Line { SrcBlock "Dahlinuv regulator" SrcPort 1 Points [0, 0; 10, 0] Branch { Points [60, 0] Branch { DstBlock "Regulovana soustava" DstPort 1 } Branch { Points [0, 175] DstBlock "Mux1" DstPort 1 } } Branch { Points [0, -70; 15, 0] Branch { DstBlock "u1" DstPort 1 } Branch { Points [0, -55] DstBlock "To Workspace4" DstPort 1 } } } Line { SrcBlock "Regulovana soustava" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [0, 100; -360, 0] DstBlock "Sum" DstPort 2 } Branch { Points [10, 0] Branch { DstBlock "Scope3" DstPort 1 } Branch { Points [0, -80] DstBlock "To Workspace" DstPort 1 } } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Dahlinuv regulator" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Clock" SrcPort 1 DstBlock "To Workspace1" DstPort 1 } Line { SrcBlock "vypocteny \nprubeh akcni veliciny" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, 65] DstBlock "To Workspace3" DstPort 1 } Branch { Points [10, 0] Branch { DstBlock "Scope2" DstPort 1 } Branch { Points [0, 40] DstBlock "Mux1" DstPort 2 } } } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "vypocteny \nprubeh akcni veliciny" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "u" DstPort 1 } } }