simexa22.mdl
上传用户:eighthdate
上传日期:2014-05-24
资源大小:270k
文件大小:7k
源码类别:

其他行业

开发平台:

Matlab

  1. Model {
  2.   Name   "simexa22"
  3.   Version   2.09
  4.   SimParamPage   Solver
  5.   SampleTimeColors   off
  6.   InvariantConstants   off
  7.   WideVectorLines   off
  8.   ShowLineWidths   off
  9.   PaperOrientation   landscape
  10.   PaperType   usletter
  11.   PaperUnits   inches
  12.   StartTime   "0.0"
  13.   StopTime   "3"
  14.   Solver   ode45
  15.   RelTol   "1e-3"
  16.   AbsTol   "1e-3"
  17.   Refine   "1"
  18.   MaxStep   "0.01"
  19.   InitialStep   "auto"
  20.   FixedStep   "auto"
  21.   MaxOrder   5
  22.   OutputOption   RefineOutputTimes
  23.   OutputTimes   "[]"
  24.   LoadExternalInput   off
  25.   ExternalInput   "[t, u]"
  26.   SaveTime   off
  27.   TimeSaveName   "tout"
  28.   SaveState   off
  29.   StateSaveName   "xout"
  30.   SaveOutput   off
  31.   OutputSaveName   "yout"
  32.   LoadInitialState   off
  33.   InitialState   "xInitial"
  34.   SaveFinalState   off
  35.   FinalStateName   "xFinal"
  36.   LimitMaxRows   off
  37.   MaxRows   "1000"
  38.   Decimation   "1"
  39.   AlgebraicLoopMsg   warning
  40.   MinStepSizeMsg   warning
  41.   UnconnectedInputMsg   warning
  42.   UnconnectedOutputMsg   warning
  43.   UnconnectedLineMsg   warning
  44.   ConsistencyChecking   off
  45.   ZeroCross   on
  46.   SimulationMode   normal
  47.   RTWSystemTargetFile   "grt.tlc"
  48.   RTWInlineParameters   off
  49.   RTWRetainRTWFile   off
  50.   RTWTemplateMakefile   "grt_vc.tmf"
  51.   RTWMakeCommand   "make_rtw"
  52.   RTWGenerateCodeOnly   off
  53.   ExtModeMexFile   "ext_comm"
  54.   ExtModeBatchMode   off
  55.   BlockDefaults {
  56.     Orientation     right
  57.     ForegroundColor     black
  58.     BackgroundColor     white
  59.     DropShadow     off
  60.     NamePlacement     normal
  61.     FontName     "Helvetica"
  62.     FontSize     10
  63.     FontWeight     normal
  64.     FontAngle     normal
  65.     ShowName     on
  66.   }
  67.   AnnotationDefaults {
  68.     HorizontalAlignment     center
  69.     VerticalAlignment     middle
  70.     ForegroundColor     black
  71.     BackgroundColor     white
  72.     DropShadow     off
  73.     FontName     "Helvetica"
  74.     FontSize     10
  75.     FontWeight     normal
  76.     FontAngle     normal
  77.   }
  78.   LineDefaults {
  79.     FontName     "Helvetica"
  80.     FontSize     9
  81.     FontWeight     normal
  82.     FontAngle     normal
  83.   }
  84.   System {
  85.     Name     "simexa22"
  86.     Location     [217, 269, 848, 696]
  87.     Open     on
  88.     ScreenColor     white
  89.     Block {
  90.       BlockType       Gain
  91.       Name       "Gain  1"
  92.       Position       [220, 263, 280, 337]
  93.       Orientation       left
  94.       Gain       "25"
  95.     }
  96.     Block {
  97.       BlockType       Gain
  98.       Name       "Gain 2"
  99.       Position       [210, 163, 275, 227]
  100.       Orientation       left
  101.       Gain       "5"
  102.     }
  103.     Block {
  104.       BlockType       Integrator
  105.       Name       "Integrator 1"
  106.       Ports       [1, 1, 0, 0, 0]
  107.       Position       [225, 95, 275, 145]
  108.       ExternalReset       none
  109.       InitialConditionSource      internal
  110.       InitialCondition       "0"
  111.       LimitOutput       off
  112.       UpperSaturationLimit      "inf"
  113.       LowerSaturationLimit      "-inf"
  114.       ShowSaturationPort      off
  115.       ShowStatePort       off
  116.       AbsoluteTolerance       "auto"
  117.     }
  118.     Block {
  119.       BlockType       Integrator
  120.       Name       "Integrator 2"
  121.       Ports       [1, 1, 0, 0, 0]
  122.       Position       [380, 97, 425, 143]
  123.       ExternalReset       none
  124.       InitialConditionSource      internal
  125.       InitialCondition       "0"
  126.       LimitOutput       off
  127.       UpperSaturationLimit      "inf"
  128.       LowerSaturationLimit      "-inf"
  129.       ShowSaturationPort      off
  130.       ShowStatePort       off
  131.       AbsoluteTolerance       "auto"
  132.     }
  133.     Block {
  134.       BlockType       Scope
  135.       Name       "Scope 2"
  136.       Ports       [1, 0, 0, 0, 0]
  137.       Position       [420, 13, 465, 67]
  138.       Floating       off
  139.       Location       [188, 365, 512, 604]
  140.       Open       off
  141.       Grid       on
  142.       TickLabels       on
  143.       ZoomMode       on
  144.       TimeRange       "auto"
  145.       YMin       "-5"
  146.       YMax       "5"
  147.       SaveToWorkspace       off
  148.       SaveName       "ScopeData"
  149.       LimitMaxRows       on
  150.       MaxRows       "5000"
  151.       Decimation       "1"
  152.       SampleInput       off
  153.       SampleTime       "0"
  154.     }
  155.     Block {
  156.       BlockType       Scope
  157.       Name       "Scope1"
  158.       Ports       [1, 0, 0, 0, 0]
  159.       Position       [515, 95, 555, 145]
  160.       Floating       off
  161.       Location       [188, 365, 512, 604]
  162.       Open       off
  163.       Grid       on
  164.       TickLabels       on
  165.       ZoomMode       on
  166.       TimeRange       "auto"
  167.       YMin       "-5"
  168.       YMax       "5"
  169.       SaveToWorkspace       off
  170.       SaveName       "ScopeData"
  171.       LimitMaxRows       on
  172.       MaxRows       "5000"
  173.       Decimation       "1"
  174.       SampleInput       off
  175.       SampleTime       "0"
  176.     }
  177.     Block {
  178.       BlockType       Step
  179.       Name       "Step Input"
  180.       Position       [5, 78, 75, 142]
  181.       Time       "100"
  182.       Before       "25"
  183.       After       "25"
  184.     }
  185.     Block {
  186.       BlockType       Sum
  187.       Name       "Sum"
  188.       Ports       [3, 1, 0, 0, 0]
  189.       Position       [135, 101, 170, 139]
  190.       Inputs       "+--"
  191.     }
  192.     Line {
  193.       SrcBlock       "Step Input"
  194.       SrcPort       1
  195.       DstBlock       "Sum"
  196.       DstPort       1
  197.     }
  198.     Line {
  199.       SrcBlock       "Sum"
  200.       SrcPort       1
  201.       DstBlock       "Integrator 1"
  202.       DstPort       1
  203.     }
  204.     Line {
  205.       SrcBlock       "Gain 2"
  206.       SrcPort       1
  207.       Points       [-85, 0]
  208.       DstBlock       "Sum"
  209.       DstPort       3
  210.     }
  211.     Line {
  212.       SrcBlock       "Integrator 2"
  213.       SrcPort       1
  214.       Points       [45, 0]
  215.       Branch {
  216. DstBlock "Scope1"
  217. DstPort 1
  218.       }
  219.       Branch {
  220. Points [0, 180]
  221. DstBlock "Gain  1"
  222. DstPort 1
  223.       }
  224.     }
  225.     Line {
  226.       SrcBlock       "Gain  1"
  227.       SrcPort       1
  228.       Points       [-120, 0; 0, -180]
  229.       DstBlock       "Sum"
  230.       DstPort       2
  231.     }
  232.     Line {
  233.       SrcBlock       "Integrator 1"
  234.       SrcPort       1
  235.       Points       [30, 0]
  236.       Branch {
  237. DstBlock "Integrator 2"
  238. DstPort 1
  239.       }
  240.       Branch {
  241. Points [0, -80]
  242. DstBlock "Scope 2"
  243. DstPort 1
  244.       }
  245.       Branch {
  246. Points [0, 75]
  247. DstBlock "Gain 2"
  248. DstPort 1
  249.       }
  250.     }
  251.     Annotation {
  252.       Position       [452, 102]
  253.       VerticalAlignment       top
  254.       Text       "x1"
  255.     }
  256.     Annotation {
  257.       Position       [332, 102]
  258.       VerticalAlignment       top
  259.       Text       "x2"
  260.     }
  261.     Annotation {
  262.       Position       [197, 97]
  263.       VerticalAlignment       top
  264.       Text       "x2dot"
  265.     }
  266.     Annotation {
  267.       Position       [37, 57]
  268.       VerticalAlignment       top
  269.       Text       "F = 25"
  270.     }
  271.     Annotation {
  272.       Position       [300, 366]
  273.       FontSize       12
  274.       Text       "Simulation diagram for the system of Example "
  275.       "A.22"
  276.     }
  277.   }
  278. }