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

其他行业

开发平台:

Matlab

  1. Model {
  2.   Name   "simexa27"
  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   "20"
  14.   Solver   ode23
  15.   RelTol   "1e-3"
  16.   AbsTol   "1e-3"
  17.   Refine   "1"
  18.   MaxStep   "0.1"
  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     "simexa27"
  86.     Location     [193, 190, 824, 617]
  87.     Open     on
  88.     ScreenColor     white
  89.     Block {
  90.       BlockType       Gain
  91.       Name       "Gain1"
  92.       Position       [450, 288, 510, 362]
  93.       Orientation       left
  94.       Gain       "5"
  95.     }
  96.     Block {
  97.       BlockType       Gain
  98.       Name       "Gain2"
  99.       Position       [350, 228, 410, 302]
  100.       Orientation       left
  101.       Gain       "4"
  102.     }
  103.     Block {
  104.       BlockType       Gain
  105.       Name       "Gain3"
  106.       Position       [215, 173, 280, 237]
  107.       Orientation       left
  108.       Gain       "2"
  109.     }
  110.     Block {
  111.       BlockType       Integrator
  112.       Name       "Integrato1"
  113.       Ports       [1, 1, 0, 0, 0]
  114.       Position       [215, 95, 265, 145]
  115.       ExternalReset       none
  116.       InitialConditionSource      internal
  117.       InitialCondition       "0"
  118.       LimitOutput       off
  119.       UpperSaturationLimit      "inf"
  120.       LowerSaturationLimit      "-inf"
  121.       ShowSaturationPort      off
  122.       ShowStatePort       off
  123.       AbsoluteTolerance       "auto"
  124.     }
  125.     Block {
  126.       BlockType       Integrator
  127.       Name       "Integrator2"
  128.       Ports       [1, 1, 0, 0, 0]
  129.       Position       [365, 97, 410, 143]
  130.       ExternalReset       none
  131.       InitialConditionSource      internal
  132.       InitialCondition       "0"
  133.       LimitOutput       off
  134.       UpperSaturationLimit      "inf"
  135.       LowerSaturationLimit      "-inf"
  136.       ShowSaturationPort      off
  137.       ShowStatePort       off
  138.       AbsoluteTolerance       "auto"
  139.     }
  140.     Block {
  141.       BlockType       Integrator
  142.       Name       "Integrator3"
  143.       Ports       [1, 1, 0, 0, 0]
  144.       Position       [465, 97, 510, 143]
  145.       ExternalReset       none
  146.       InitialConditionSource      internal
  147.       InitialCondition       "0"
  148.       LimitOutput       off
  149.       UpperSaturationLimit      "inf"
  150.       LowerSaturationLimit      "-inf"
  151.       ShowSaturationPort      off
  152.       ShowStatePort       off
  153.       AbsoluteTolerance       "auto"
  154.     }
  155.     Block {
  156.       BlockType       Scope
  157.       Name       "Scope"
  158.       Ports       [1, 0, 0, 0, 0]
  159.       Position       [575, 98, 620, 142]
  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       [15, 71, 60, 119]
  181.       Time       "100"
  182.       Before       "5"
  183.       After       "5"
  184.     }
  185.     Block {
  186.       BlockType       Sum
  187.       Name       "Sum"
  188.       Ports       [4, 1, 0, 0, 0]
  189.       Position       [140, 88, 180, 147]
  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       "Integrato1"
  202.       DstPort       1
  203.     }
  204.     Line {
  205.       SrcBlock       "Integrato1"
  206.       SrcPort       1
  207.       Points       [40, 0]
  208.       Branch {
  209. DstBlock "Integrator2"
  210. DstPort 1
  211.       }
  212.       Branch {
  213. Points [0, 85]
  214. DstBlock "Gain3"
  215. DstPort 1
  216.       }
  217.     }
  218.     Line {
  219.       SrcBlock       "Gain3"
  220.       SrcPort       1
  221.       Points       [-90, 0; 0, -65]
  222.       DstBlock       "Sum"
  223.       DstPort       4
  224.     }
  225.     Line {
  226.       SrcBlock       "Gain2"
  227.       SrcPort       1
  228.       Points       [-240, 0; 0, -140]
  229.       DstBlock       "Sum"
  230.       DstPort       3
  231.     }
  232.     Line {
  233.       SrcBlock       "Gain1"
  234.       SrcPort       1
  235.       Points       [-355, 0; 0, -215]
  236.       DstBlock       "Sum"
  237.       DstPort       2
  238.     }
  239.     Line {
  240.       SrcBlock       "Integrator2"
  241.       SrcPort       1
  242.       Points       [25, 0]
  243.       Branch {
  244. DstBlock "Integrator3"
  245. DstPort 1
  246.       }
  247.       Branch {
  248. Points [0, 145]
  249. DstBlock "Gain2"
  250. DstPort 1
  251.       }
  252.     }
  253.     Line {
  254.       SrcBlock       "Integrator3"
  255.       SrcPort       1
  256.       Points       [20, 0]
  257.       Branch {
  258. DstBlock "Scope"
  259. DstPort 1
  260.       }
  261.       Branch {
  262. Points [0, 205]
  263. DstBlock "Gain1"
  264. DstPort 1
  265.       }
  266.     }
  267.     Annotation {
  268.       Position       [318, 388]
  269.       FontSize       12
  270.       Text       "Simulation diagram for the system of Example "
  271.       "A.27 "
  272.     }
  273.     Annotation {
  274.       Position       [332, 97]
  275.       VerticalAlignment       top
  276.       Text       "x3"
  277.     }
  278.     Annotation {
  279.       Position       [437, 97]
  280.       VerticalAlignment       top
  281.       Text       "x2"
  282.     }
  283.     Annotation {
  284.       Position       [537, 98]
  285.       VerticalAlignment       top
  286.       Text       "x1"
  287.     }
  288.     Annotation {
  289.       Position       [197, 92]
  290.       VerticalAlignment       top
  291.       Text       "x3dot"
  292.     }
  293.     Annotation {
  294.       Position       [37, 52]
  295.       VerticalAlignment       top
  296.       Text       "5u(t)"
  297.     }
  298.   }
  299. }