source: branches/gui/Block-Oriented EML/Examples/d_hx_closedloop_response.mdl.r14 (sp2) @ 968

Last change on this file since 968 was 944, checked in by Argimiro Resende Secchi, 10 years ago

Adding Block-Oriented library by Jonathan Ospino Pinedo

File size: 26.8 KB
RevLine 
[944]1Model {
2  Name                    "d_hx_closedloop_response"
3  Version                 6.2
4  MdlSubVersion           0
5  GraphicalInterface {
6    NumRootInports          0
7    NumRootOutports         0
8    ParameterArgumentNames  ""
9    ComputedModelVersion    "1.37"
10    NumModelReferences      0
11    NumTestPointedSignals   0
12  }
13  SavedCharacterEncoding  "windows-1252"
14  SaveDefaultBlockParams  on
15  SampleTimeColors        off
16  LibraryLinkDisplay      "none"
17  WideLines               off
18  ShowLineDimensions      off
19  ShowPortDataTypes       off
20  ShowLoopsOnError        on
21  IgnoreBidirectionalLines off
22  ShowStorageClass        off
23  ShowTestPointIcons      on
24  ShowViewerIcons         on
25  SortedOrder             off
26  ExecutionContextIcon    off
27  ShowLinearizationAnnotations on
28  RecordCoverage          off
29  CovPath                 "/"
30  CovSaveName             "covdata"
31  CovMetricSettings       "dw"
32  CovNameIncrementing     off
33  CovHtmlReporting        on
34  covSaveCumulativeToWorkspaceVar on
35  CovSaveSingleToWorkspaceVar on
36  CovCumulativeVarName    "covCumulativeData"
37  CovCumulativeReport     off
38  CovReportOnPause        on
39  ScopeRefreshTime        0.035000
40  OverrideScopeRefreshTime on
41  DisableAllScopes        off
42  DataTypeOverride        "UseLocalSettings"
43  MinMaxOverflowLogging   "UseLocalSettings"
44  MinMaxOverflowArchiveMode "Overwrite"
45  BlockNameDataTip        off
46  BlockParametersDataTip  off
47  BlockDescriptionStringDataTip off
48  ToolBar                 on
49  StatusBar               on
50  BrowserShowLibraryLinks off
51  BrowserLookUnderMasks   off
52  Created                 "Thu Mar 22 14:08:58 2012"
53  Creator                 "IQU"
54  UpdateHistory           "UpdateHistoryNever"
55  ModifiedByFormat        "%<Auto>"
56  LastModifiedBy          "Jonathan"
57  ModifiedDateFormat      "%<Auto>"
58  LastModifiedDate        "Thu Nov 15 15:44:21 2012"
59  ModelVersionFormat      "1.%<AutoIncrement:37>"
60  ConfigurationManager    "None"
61  LinearizationMsg        "none"
62  Profile                 off
63  ParamWorkspaceSource    "MATLABWorkspace"
64  AccelSystemTargetFile   "accel.tlc"
65  AccelTemplateMakefile   "accel_default_tmf"
66  AccelMakeCommand        "make_rtw"
67  TryForcingSFcnDF        off
68  ExtModeBatchMode        off
69  ExtModeEnableFloating   on
70  ExtModeTrigType         "manual"
71  ExtModeTrigMode         "normal"
72  ExtModeTrigPort         "1"
73  ExtModeTrigElement      "any"
74  ExtModeTrigDuration     1000
75  ExtModeTrigDurationFloating "auto"
76  ExtModeTrigHoldOff      0
77  ExtModeTrigDelay        0
78  ExtModeTrigDirection    "rising"
79  ExtModeTrigLevel        0
80  ExtModeArchiveMode      "off"
81  ExtModeAutoIncOneShot   off
82  ExtModeIncDirWhenArm    off
83  ExtModeAddSuffixToVar   off
84  ExtModeWriteAllDataToWs off
85  ExtModeArmWhenConnect   on
86  ExtModeSkipDownloadWhenConnect off
87  ExtModeLogAll           on
88  ExtModeAutoUpdateStatusClock on
89  BufferReuse             on
90  StrictBusMsg            "None"
91  ProdHWDeviceType        "32-bit Generic"
92  ShowModelReferenceBlockVersion off
93  ShowModelReferenceBlockIO off
94  Array {
95    Type                    "Handle"
96    Dimension               1
97    Simulink.ConfigSet {
98      $ObjectID               1
99      Version                 "1.1.0"
100      Array {
101        Type                    "Handle"
102        Dimension               7
103        Simulink.SolverCC {
104          $ObjectID               2
105          Version                 "1.1.0"
106          StartTime               "0.0"
107          StopTime                "100"
108          AbsTol                  "auto"
109          FixedStep               "auto"
110          InitialStep             "auto"
111          MaxNumMinSteps          "-1"
112          MaxOrder                5
113          ExtrapolationOrder      4
114          NumberNewtonIterations  1
115          MaxStep                 "auto"
116          MinStep                 "auto"
117          RelTol                  "1e-3"
118          SolverMode              "Auto"
119          Solver                  "ode45"
120          SolverName              "ode45"
121          ZeroCrossControl        "UseLocalSettings"
122          AlgebraicLoopSolver     "TrustRegion"
123          SolverResetMethod       "Fast"
124          PositivePriorityOrder   off
125          AutoInsertRateTranBlk   off
126          SampleTimeConstraint    "Unconstrained"
127          RateTranMode            "Deterministic"
128        }
129        Simulink.DataIOCC {
130          $ObjectID               3
131          Version                 "1.1.0"
132          Decimation              "1"
133          ExternalInput           "[t, u]"
134          FinalStateName          "xFinal"
135          InitialState            "xInitial"
136          LimitDataPoints         on
137          MaxDataPoints           "1000"
138          LoadExternalInput       off
139          LoadInitialState        off
140          SaveFinalState          off
141          SaveFormat              "Array"
142          SaveOutput              on
143          SaveState               off
144          SignalLogging           on
145          SaveTime                on
146          StateSaveName           "xout"
147          TimeSaveName            "tout"
148          OutputSaveName          "yout"
149          SignalLoggingName       "logsout"
150          OutputOption            "RefineOutputTimes"
151          OutputTimes             "[]"
152          Refine                  "1"
153        }
154        Simulink.OptimizationCC {
155          $ObjectID               4
156          Array {
157            Type                    "Cell"
158            Dimension               4
159            Cell                    "ZeroExternalMemoryAtStartup"
160            Cell                    "ZeroInternalMemoryAtStartup"
161            Cell                    "OptimizeModelRefInitCode"
162            Cell                    "NoFixptDivByZeroProtection"
163            PropName                "DisabledProps"
164          }
165          Version                 "1.1.0"
166          BlockReduction          on
167          BooleanDataType         on
168          ConditionallyExecuteInputs on
169          InlineParams            off
170          InlineInvariantSignals  off
171          OptimizeBlockIOStorage  on
172          BufferReuse             on
173          EnforceIntegerDowncast  on
174          ExpressionFolding       on
175          FoldNonRolledExpr       on
176          LocalBlockOutputs       on
177          ParameterPooling        on
178          RollThreshold           5
179          SystemCodeInlineAuto    off
180          StateBitsets            off
181          DataBitsets             off
182          UseTempVars             off
183          ZeroExternalMemoryAtStartup on
184          ZeroInternalMemoryAtStartup on
185          InitFltsAndDblsToZero   off
186          NoFixptDivByZeroProtection off
187          EfficientFloat2IntCast  off
188          OptimizeModelRefInitCode off
189          LifeSpan                "inf"
190          BufferReusableBoundary  on
191        }
192        Simulink.DebuggingCC {
193          $ObjectID               5
194          Version                 "1.1.0"
195          RTPrefix                "error"
196          ConsistencyChecking     "none"
197          ArrayBoundsChecking     "none"
198          SignalInfNanChecking    "none"
199          AlgebraicLoopMsg        "warning"
200          ArtificialAlgebraicLoopMsg "warning"
201          CheckSSInitialOutputMsg on
202          CheckExecutionContextPreStartOutputMsg off
203          CheckExecutionContextRuntimeOutputMsg off
204          SignalResolutionControl "UseLocalSettings"
205          BlockPriorityViolationMsg "warning"
206          MinStepSizeMsg          "warning"
207          SolverPrmCheckMsg       "warning"
208          InheritedTsInSrcMsg     "warning"
209          DiscreteInheritContinuousMsg "warning"
210          MultiTaskDSMMsg         "error"
211          MultiTaskRateTransMsg   "error"
212          SingleTaskRateTransMsg  "none"
213          TasksWithSamePriorityMsg "warning"
214          CheckMatrixSingularityMsg "none"
215          IntegerOverflowMsg      "warning"
216          Int32ToFloatConvMsg     "warning"
217          ParameterDowncastMsg    "error"
218          ParameterOverflowMsg    "error"
219          ParameterPrecisionLossMsg "warning"
220          UnderSpecifiedDataTypeMsg "none"
221          UnnecessaryDatatypeConvMsg "none"
222          VectorMatrixConversionMsg "none"
223          InvalidFcnCallConnMsg   "error"
224          FcnCallInpInsideContextMsg "Use local settings"
225          SignalLabelMismatchMsg  "none"
226          UnconnectedInputMsg     "warning"
227          UnconnectedOutputMsg    "warning"
228          UnconnectedLineMsg      "warning"
229          SFcnCompatibilityMsg    "none"
230          UniqueDataStoreMsg      "none"
231          BusObjectLabelMismatch  "warning"
232          RootOutportRequireBusObject "warning"
233          AssertControl           "UseLocalSettings"
234          EnableOverflowDetection off
235          ModelReferenceIOMsg     "none"
236          ModelReferenceVersionMismatchMessage "none"
237          ModelReferenceIOMismatchMessage "none"
238          ModelReferenceCSMismatchMessage "none"
239          ModelReferenceSimTargetVerbose off
240          UnknownTsInhSupMsg      "warning"
241          ModelReferenceDataLoggingMessage "warning"
242          ModelReferenceSymbolNameMessage "warning"
243          ModelReferenceExtraNoncontSigs "error"
244        }
245        Simulink.HardwareCC {
246          $ObjectID               6
247          Version                 "1.1.0"
248          ProdBitPerChar          8
249          ProdBitPerShort         16
250          ProdBitPerInt           32
251          ProdBitPerLong          32
252          ProdIntDivRoundTo       "Undefined"
253          ProdEndianess           "Unspecified"
254          ProdWordSize            32
255          ProdShiftRightIntArith  on
256          ProdHWDeviceType        "32-bit Generic"
257          TargetBitPerChar        8
258          TargetBitPerShort       16
259          TargetBitPerInt         32
260          TargetBitPerLong        32
261          TargetShiftRightIntArith on
262          TargetIntDivRoundTo     "Undefined"
263          TargetEndianess         "Unspecified"
264          TargetWordSize          32
265          TargetTypeEmulationWarnSuppressLevel 0
266          TargetPreprocMaxBitsSint 32
267          TargetPreprocMaxBitsUint 32
268          TargetHWDeviceType      "Specified"
269          TargetUnknown           off
270          ProdEqTarget            on
271        }
272        Simulink.ModelReferenceCC {
273          $ObjectID               7
274          Version                 "1.1.0"
275          UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange"
276          CheckModelReferenceTargetMessage "error"
277          ModelReferenceNumInstancesAllowed "Multi"
278          ModelReferencePassRootInputsByReference on
279          ModelReferenceMinAlgLoopOccurrences off
280        }
281        Simulink.RTWCC {
282          $BackupClass            "Simulink.RTWCC"
283          $ObjectID               8
284          Array {
285            Type                    "Cell"
286            Dimension               6
287            Cell                    "IncludeHyperlinkInReport"
288            Cell                    "GenerateTraceInfo"
289            Cell                    "GenerateTraceReport"
290            Cell                    "GenerateTraceReportSl"
291            Cell                    "GenerateTraceReportSf"
292            Cell                    "GenerateTraceReportEml"
293            PropName                "DisabledProps"
294          }
295          Version                 "1.1.0"
296          SystemTargetFile        "grt.tlc"
297          GenCodeOnly             off
298          MakeCommand             "make_rtw"
299          TemplateMakefile        "grt_default_tmf"
300          GenerateReport          off
301          SaveLog                 off
302          RTWVerbose              on
303          RetainRTWFile           off
304          ProfileTLC              off
305          TLCDebug                off
306          TLCCoverage             off
307          TLCAssert               off
308          ProcessScriptMode       "Default"
309          ConfigurationMode       "Optimized"
310          ConfigAtBuild           off
311          IncludeHyperlinkInReport off
312          LaunchReport            off
313          TargetLang              "C"
314          Array {
315            Type                    "Handle"
316            Dimension               2
317            Simulink.CodeAppCC {
318              $ObjectID               9
319              Array {
320                Type                    "Cell"
321                Dimension               17
322                Cell                    "IgnoreCustomStorageClasses"
323                Cell                    "IgnoreTestpoints"
324                Cell                    "InsertBlockDesc"
325                Cell                    "SFDataObjDesc"
326                Cell                    "SimulinkDataObjDesc"
327                Cell                    "DefineNamingRule"
328                Cell                    "SignalNamingRule"
329                Cell                    "ParamNamingRule"
330                Cell                    "InlinedPrmAccess"
331                Cell                    "CustomSymbolStr"
332                Cell                    "CustomSymbolStrGlobalVar"
333                Cell                    "CustomSymbolStrType"
334                Cell                    "CustomSymbolStrField"
335                Cell                    "CustomSymbolStrFcn"
336                Cell                    "CustomSymbolStrBlkIO"
337                Cell                    "CustomSymbolStrTmpVar"
338                Cell                    "CustomSymbolStrMacro"
339                PropName                "DisabledProps"
340              }
341              Version                 "1.1.0"
342              ForceParamTrailComments off
343              GenerateComments        on
344              IgnoreCustomStorageClasses on
345              IncHierarchyInIds       off
346              MaxIdLength             31
347              PreserveName            off
348              PreserveNameWithParent  off
349              ShowEliminatedStatement off
350              IncAutoGenComments      off
351              SimulinkDataObjDesc     off
352              SFDataObjDesc           off
353              IncDataTypeInIds        off
354              PrefixModelToSubsysFcnNames on
355              CustomSymbolStr         "$R$N$M"
356              MangleLength            1
357              DefineNamingRule        "None"
358              ParamNamingRule         "None"
359              SignalNamingRule        "None"
360              InsertBlockDesc         off
361              SimulinkBlockComments   on
362              EnableCustomComments    off
363              InlinedPrmAccess        "Literals"
364              ReqsInCode              off
365            }
366            Simulink.GRTTargetCC {
367              $BackupClass            "Simulink.TargetCC"
368              $ObjectID               10
369              Array {
370                Type                    "Cell"
371                Dimension               16
372                Cell                    "IncludeMdlTerminateFcn"
373                Cell                    "CombineOutputUpdateFcns"
374                Cell                    "SuppressErrorStatus"
375                Cell                    "ERTCustomFileBanners"
376                Cell                    "GenerateSampleERTMain"
377                Cell                    "GenerateTestInterfaces"
378                Cell                    "ModelStepFunctionPrototypeControlComp"
379"liant"
380                Cell                    "CPPClassGenCompliant"
381                Cell                    "MultiInstanceERTCode"
382                Cell                    "PurelyIntegerCode"
383                Cell                    "SupportNonFinite"
384                Cell                    "SupportComplex"
385                Cell                    "SupportAbsoluteTime"
386                Cell                    "SupportContinuousTime"
387                Cell                    "SupportNonInlinedSFcns"
388                Cell                    "PortableWordSizes"
389                PropName                "DisabledProps"
390              }
391              Version                 "1.1.0"
392              TargetFcnLib            "ansi_tfl_table_tmw.mat"
393              TargetLibSuffix         ""
394              TargetPreCompLibLocation ""
395              GenFloatMathFcnCalls    "ANSI_C"
396              UtilityFuncGeneration   "Auto"
397              GenerateFullHeader      on
398              GenerateSampleERTMain   off
399              IsPILTarget             off
400              ModelReferenceCompliant on
401              IncludeMdlTerminateFcn  on
402              CombineOutputUpdateFcns off
403              SuppressErrorStatus     off
404              IncludeFileDelimiter    "Auto"
405              ERTCustomFileBanners    off
406              SupportAbsoluteTime     on
407              LogVarNameModifier      "rt_"
408              MatFileLogging          on
409              MultiInstanceERTCode    off
410              SupportNonFinite        on
411              SupportComplex          on
412              PurelyIntegerCode       off
413              SupportContinuousTime   on
414              SupportNonInlinedSFcns  on
415              ExtMode                 off
416              ExtModeStaticAlloc      off
417              ExtModeTesting          off
418              ExtModeStaticAllocSize  1000000
419              ExtModeTransport        0
420              ExtModeMexFile          "ext_comm"
421              RTWCAPISignals          off
422              RTWCAPIParams           off
423              RTWCAPIStates           off
424              GenerateASAP2           off
425            }
426            PropName                "Components"
427          }
428        }
429        PropName                "Components"
430      }
431      Name                    "Configuration"
432      SimulationMode          "normal"
433      CurrentDlgPage          "Solver"
434    }
435    PropName                "ConfigurationSets"
436  }
437  Simulink.ConfigSet {
438    $PropName               "ActiveConfigurationSet"
439    $ObjectID               1
440  }
441  BlockDefaults {
442    Orientation             "right"
443    ForegroundColor         "black"
444    BackgroundColor         "white"
445    DropShadow              off
446    NamePlacement           "normal"
447    FontName                "Helvetica"
448    FontSize                10
449    FontWeight              "normal"
450    FontAngle               "normal"
451    ShowName                on
452  }
453  BlockParameterDefaults {
454    Block {
455      BlockType               Clock
456      DisplayTime             off
457    }
458    Block {
459      BlockType               Constant
460      Value                   "1"
461      VectorParams1D          on
462      OutDataTypeMode         "Inherit from 'Constant value'"
463      OutDataType             "sfix(16)"
464      ConRadixGroup           "Use specified scaling"
465      OutScaling              "2^0"
466      SampleTime              "inf"
467    }
468    Block {
469      BlockType               Derivative
470      LinearizePole           "inf"
471    }
472    Block {
473      BlockType               Gain
474      Gain                    "1"
475      Multiplication          "Element-wise(K.*u)"
476      ParameterDataTypeMode   "Same as input"
477      ParameterDataType       "sfix(16)"
478      ParameterScalingMode    "Best Precision: Matrix-wise"
479      ParameterScaling        "2^0"
480      OutDataTypeMode         "Same as input"
481      OutDataType             "sfix(16)"
482      OutScaling              "2^0"
483      LockScale               off
484      RndMeth                 "Floor"
485      SaturateOnIntegerOverflow on
486      SampleTime              "-1"
487    }
488    Block {
489      BlockType               Inport
490      UseBusObject            off
491      BusObject               "BusObject"
492      BusOutputAsStruct       off
493      PortDimensions          "-1"
494      SampleTime              "-1"
495      DataType                "auto"
496      OutDataType             "sfix(16)"
497      OutScaling              "2^0"
498      SignalType              "auto"
499      SamplingMode            "auto"
500      Interpolate             on
501    }
502    Block {
503      BlockType               Outport
504      Port                    "1"
505      UseBusObject            off
506      BusObject               "BusObject"
507      BusOutputAsStruct       off
508      PortDimensions          "-1"
509      SampleTime              "-1"
510      DataType                "auto"
511      OutDataType             "sfix(16)"
512      OutScaling              "2^0"
513      SignalType              "auto"
514      SamplingMode            "auto"
515      OutputWhenDisabled      "held"
516      InitialOutput           "[]"
517    }
518    Block {
519      BlockType               Scope
520      Floating                off
521      ModelBased              off
522      TickLabels              "OneTimeTick"
523      ZoomMode                "on"
524      Grid                    "on"
525      TimeRange               "auto"
526      YMin                    "-5"
527      YMax                    "5"
528      SaveToWorkspace         off
529      SaveName                "ScopeData"
530      LimitDataPoints         on
531      MaxDataPoints           "5000"
532      Decimation              "1"
533      SampleInput             off
534      SampleTime              "0"
535    }
536    Block {
537      BlockType               Step
538      Time                    "1"
539      Before                  "0"
540      After                   "1"
541      SampleTime              "-1"
542      VectorParams1D          on
543      ZeroCross               on
544    }
545    Block {
546      BlockType               SubSystem
547      ShowPortLabels          on
548      Permissions             "ReadWrite"
549      PermitHierarchicalResolution "All"
550      SystemSampleTime        "-1"
551      RTWFcnNameOpts          "Auto"
552      RTWFileNameOpts         "Auto"
553      SimViewingDevice        off
554      DataTypeOverride        "UseLocalSettings"
555      MinMaxOverflowLogging   "UseLocalSettings"
556    }
557    Block {
558      BlockType               Sum
559      IconShape               "rectangular"
560      Inputs                  "++"
561      InputSameDT             on
562      OutDataTypeMode         "Same as first input"
563      OutDataType             "sfix(16)"
564      OutScaling              "2^0"
565      LockScale               off
566      RndMeth                 "Floor"
567      SaturateOnIntegerOverflow on
568      SampleTime              "-1"
569    }
570    Block {
571      BlockType               ToWorkspace
572      VariableName            "simulink_output"
573      MaxDataPoints           "1000"
574      Decimation              "1"
575      SampleTime              "0"
576      FixptAsFi               off
577    }
578    Block {
579      BlockType               TransferFcn
580      Numerator               "[1]"
581      Denominator             "[1 2 1]"
582      AbsoluteTolerance       "auto"
583      Realization             "auto"
584    }
585  }
586  AnnotationDefaults {
587    HorizontalAlignment     "center"
588    VerticalAlignment       "middle"
589    ForegroundColor         "black"
590    BackgroundColor         "white"
591    DropShadow              off
592    FontName                "Helvetica"
593    FontSize                10
594    FontWeight              "normal"
595    FontAngle               "normal"
596  }
597  LineDefaults {
598    FontName                "Helvetica"
599    FontSize                9
600    FontWeight              "normal"
601    FontAngle               "normal"
602  }
603  System {
604    Name                    "d_hx_closedloop_response"
605    Location                [2, 82, 1356, 722]
606    Open                    on
607    ModelBrowserVisibility  off
608    ModelBrowserWidth       200
609    ScreenColor             "white"
610    PaperOrientation        "landscape"
611    PaperPositionMode       "auto"
612    PaperType               "A4"
613    PaperUnits              "centimeters"
614    ZoomFactor              "100"
615    ReportName              "simulink-default.rpt"
616    Block {
617      BlockType               Clock
618      Name                    "Clock"
619      Position                [865, 335, 885, 355]
620      Decimation              "10"
621    }
622    Block {
623      BlockType               TransferFcn
624      Name                    "Gf"
625      Position                [420, 282, 480, 318]
626      Numerator               "[0.016]"
627      Denominator             "[3 1]"
628    }
629    Block {
630      BlockType               TransferFcn
631      Name                    "Gi"
632      Position                [530, 172, 590, 208]
633      Denominator             "[30 1]"
634    }
635    Block {
636      BlockType               TransferFcn
637      Name                    "Gs"
638      Position                [525, 282, 585, 318]
639      Numerator               "[50]"
640      Denominator             "[30 1]"
641    }
642    Block {
643      BlockType               TransferFcn
644      Name                    "Gw"
645      Position                [525, 62, 585, 98]
646      Numerator               "[-3.33]"
647      Denominator             "[30 1]"
648    }
649    Block {
650      BlockType               TransferFcn
651      Name                    "H"
652      Position                [455, 357, 515, 393]
653      Orientation             "left"
654      Numerator               "[1.0]"
655      Denominator             "[10 1]"
656    }
657    Block {
658      BlockType               Reference
659      Name                    "PID Controller"
660      Ports                   [1, 1]
661      Position                [350, 285, 380, 315]
662      SourceBlock             "simulink_extras/Additional\nLinear/PID Controll"
663"er"
664      SourceType              "PID Controller"
665      ShowPortLabels          on
666      P                       "23.8333"
667      I                       "0"
668      D                       "0"
669    }
670    Block {
671      BlockType               Scope
672      Name                    "Scope"
673      Ports                   [1]
674      Position                [960, 274, 990, 306]
675      Location                [554, 201, 1284, 661]
676      Open                    on
677      NumInputPorts           "1"
678      List {
679        ListType                AxesTitles
680        axes1                   "Outlet Temperature"
681      }
682      DataFormat              "StructureWithTime"
683    }
684    Block {
685      BlockType               Sum
686      Name                    "Subtract"
687      Ports                   [2, 1]
688      Position                [450, 172, 480, 203]
689      Inputs                  "+-"
690      InputSameDT             off
691      OutDataTypeMode         "Inherit via internal rule"
692      OutScaling              "2^-10"
693      SaturateOnIntegerOverflow off
694    }
695    Block {
696      BlockType               Sum
697      Name                    "Subtract1"
698      Ports                   [2, 1]
699      Position                [205, 272, 235, 303]
700      Inputs                  "+-"
701      InputSameDT             off
702      OutDataTypeMode         "Inherit via internal rule"
703      OutScaling              "2^-10"
704      SaturateOnIntegerOverflow off
705    }
706    Block {
707      BlockType               Sum
708      Name                    "Subtract2"
709      Ports                   [2, 1]
710      Position                [455, 62, 485, 93]
711      Inputs                  "+-"
712      InputSameDT             off
713      OutDataTypeMode         "Inherit via internal rule"
714      OutScaling              "2^-10"
715      SaturateOnIntegerOverflow off
716    }
717    Block {
718      BlockType               Sum
719      Name                    "Subtract3"
720      Ports                   [2, 1]
721      Position                [645, 112, 675, 143]
722      InputSameDT             off
723      OutDataTypeMode         "Inherit via internal rule"
724      OutScaling              "2^-10"
725      SaturateOnIntegerOverflow off
726    }
727    Block {
728      BlockType               Sum
729      Name                    "Subtract4"
730      Ports                   [2, 1]
731      Position                [705, 202, 735, 233]
732      InputSameDT             off
733      OutDataTypeMode         "Inherit via internal rule"
734      OutScaling              "2^-10"
735      SaturateOnIntegerOverflow off
736    }
737    Block {
738      BlockType               Sum
739      Name                    "Subtract5"
740      Ports                   [2, 1]
741      Position                [855, 212, 885, 243]
742      InputSameDT             off
743      OutDataTypeMode         "Inherit via internal rule"
744      OutScaling              "2^-10"
745      SaturateOnIntegerOverflow off
746    }
747    Block {
748      BlockType               Sum
749      Name                    "Subtract6"
750      Ports                   [2, 1]
751      Position                [280, 282, 310, 313]
752      Inputs                  "+-"
753      InputSameDT             off
754      OutDataTypeMode         "Inherit via internal rule"
755      OutScaling              "2^-10"
756      SaturateOnIntegerOverflow off
757    }
758    Block {
759      BlockType               Step
760      Name                    "Ti"
761      Position                [370, 165, 400, 195]
762      Time                    "440"
763      Before                  "50"
764      After                   "50"
765      SampleTime              "0"
766    }
767    Block {
768      BlockType               Constant
769      Name                    "Ti_ss"
770      Position                [370, 220, 400, 250]
771      Value                   "50"
772    }
773    Block {
774      BlockType               Constant
775      Name                    "Ti_ss1"
776      Position                [790, 250, 820, 280]
777      Value                   "90"
778    }
779    Block {
780      BlockType               ToWorkspace
781      Name                    "To Workspace"
782      Position                [935, 215, 995, 245]
783      VariableName            "T"
784      MaxDataPoints           "inf"
785      SampleTime              "-1"
786      SaveFormat              "Array"
787    }
788    Block {
789      BlockType               ToWorkspace
790      Name                    "To Workspace1"
791      Position                [940, 330, 1000, 360]
792      VariableName            "time"
793      MaxDataPoints           "inf"
794      SampleTime              "-1"
795      SaveFormat              "Array"
796    }
797    Block {
798      BlockType               Step
799      Name                    "Tset"
800      Position                [125, 265, 155, 295]
801      Time                    "660"
802      Before                  "90"
803      After                   "90"
804      SampleTime              "0"
805    }
806    Block {
807      BlockType               Constant
808      Name                    "Tset_ss"
809      Position                [125, 320, 155, 350]
810      Value                   "90"
811    }
812    Block {
813      BlockType               Step
814      Name                    "W"
815      Position                [370, 55, 400, 85]
816      Time                    "220"
817      Before                  "12"
818      After                   "12"
819      SampleTime              "0"
820    }
821    Block {
822      BlockType               Constant
823      Name                    "W_ss"
824      Position                [370, 110, 400, 140]
825      Value                   "12"
826    }
827    Line {
828      SrcBlock                "Subtract5"
829      SrcPort                 1
830      Points                  [0, 0; 10, 0]
831      Branch {
832        DstBlock                "To Workspace"
833        DstPort                 1
834      }
835      Branch {
836        Points                  [0, 60]
837        DstBlock                "Scope"
838        DstPort                 1
839      }
840    }
841    Line {
842      SrcBlock                "Clock"
843      SrcPort                 1
844      Points                  [0, 0]
845      DstBlock                "To Workspace1"
846      DstPort                 1
847    }
848    Line {
849      SrcBlock                "Ti"
850      SrcPort                 1
851      DstBlock                "Subtract"
852      DstPort                 1
853    }
854    Line {
855      SrcBlock                "Ti_ss"
856      SrcPort                 1
857      Points                  [20, 0; 0, -40]
858      DstBlock                "Subtract"
859      DstPort                 2
860    }
861    Line {
862      SrcBlock                "W"
863      SrcPort                 1
864      DstBlock                "Subtract2"
865      DstPort                 1
866    }
867    Line {
868      SrcBlock                "W_ss"
869      SrcPort                 1
870      Points                  [10, 0; 0, -40]
871      DstBlock                "Subtract2"
872      DstPort                 2
873    }
874    Line {
875      SrcBlock                "Tset"
876      SrcPort                 1
877      DstBlock                "Subtract1"
878      DstPort                 1
879    }
880    Line {
881      SrcBlock                "Tset_ss"
882      SrcPort                 1
883      Points                  [15, 0; 0, -40]
884      DstBlock                "Subtract1"
885      DstPort                 2
886    }
887    Line {
888      SrcBlock                "Subtract2"
889      SrcPort                 1
890      DstBlock                "Gw"
891      DstPort                 1
892    }
893    Line {
894      SrcBlock                "Subtract"
895      SrcPort                 1
896      DstBlock                "Gi"
897      DstPort                 1
898    }
899    Line {
900      SrcBlock                "Gw"
901      SrcPort                 1
902      Points                  [25, 0; 0, 40]
903      DstBlock                "Subtract3"
904      DstPort                 1
905    }
906    Line {
907      SrcBlock                "Gi"
908      SrcPort                 1
909      Points                  [20, 0; 0, -55]
910      DstBlock                "Subtract3"
911      DstPort                 2
912    }
913    Line {
914      SrcBlock                "Gs"
915      SrcPort                 1
916      Points                  [20, 0; 0, -75]
917      DstBlock                "Subtract4"
918      DstPort                 2
919    }
920    Line {
921      SrcBlock                "Subtract3"
922      SrcPort                 1
923      Points                  [5, 0; 0, 80]
924      DstBlock                "Subtract4"
925      DstPort                 1
926    }
927    Line {
928      SrcBlock                "Subtract4"
929      SrcPort                 1
930      Points                  [0, 0; 35, 0]
931      Branch {
932        DstBlock                "Subtract5"
933        DstPort                 1
934      }
935      Branch {
936        Points                  [0, 155]
937        DstBlock                "H"
938        DstPort                 1
939      }
940    }
941    Line {
942      SrcBlock                "Ti_ss1"
943      SrcPort                 1
944      Points                  [0, -30]
945      DstBlock                "Subtract5"
946      DstPort                 2
947    }
948    Line {
949      SrcBlock                "Gf"
950      SrcPort                 1
951      Points                  [0, 0]
952      DstBlock                "Gs"
953      DstPort                 1
954    }
955    Line {
956      SrcBlock                "Subtract1"
957      SrcPort                 1
958      Points                  [0, 0]
959      DstBlock                "Subtract6"
960      DstPort                 1
961    }
962    Line {
963      SrcBlock                "H"
964      SrcPort                 1
965      Points                  [-200, 0; 0, -70]
966      DstBlock                "Subtract6"
967      DstPort                 2
968    }
969    Line {
970      SrcBlock                "Subtract6"
971      SrcPort                 1
972      DstBlock                "PID Controller"
973      DstPort                 1
974    }
975    Line {
976      SrcBlock                "PID Controller"
977      SrcPort                 1
978      DstBlock                "Gf"
979      DstPort                 1
980    }
981  }
982}
Note: See TracBrowser for help on using the repository browser.