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

其他行业

开发平台:

Matlab

  1. Model {
  2.   Name   "sim12ex6"
  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   ode45
  15.   RelTol   "1e-3"
  16.   AbsTol   "1e-3"
  17.   Refine   "1"
  18.   MaxStep   ".10"
  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     "sim12ex6"
  86.     Location     [142, 143, 929, 588]
  87.     Open     on
  88.     ScreenColor     white
  89.     Block {
  90.       BlockType       TransferFcn
  91.       Name       "Amplifier"
  92.       Position       [200, 93, 285, 147]
  93.       Numerator       "[10]"
  94.       Denominator       "[0.1  1]"
  95.     }
  96.     Block {
  97.       BlockType       TransferFcn
  98.       Name       "Exciter"
  99.       Position       [330, 92, 415, 148]
  100.       Numerator       "[1]"
  101.       Denominator       "[0.4  1]"
  102.     }
  103.     Block {
  104.       BlockType       TransferFcn
  105.       Name       "Generator"
  106.       Position       [470, 94, 550, 146]
  107.       Numerator       "[1]"
  108.       Denominator       "[1  1]"
  109.     }
  110.     Block {
  111.       BlockType       Scope
  112.       Name       "Scope"
  113.       Ports       [1, 0, 0, 0, 0]
  114.       Position       [645, 99, 680, 141]
  115.       Floating       off
  116.       Location       [188, 365, 512, 604]
  117.       Open       off
  118.       Grid       on
  119.       TickLabels       on
  120.       ZoomMode       on
  121.       TimeRange       "auto"
  122.       YMin       "-5"
  123.       YMax       "5"
  124.       SaveToWorkspace       off
  125.       SaveName       "ScopeData"
  126.       LimitMaxRows       on
  127.       MaxRows       "5000"
  128.       Decimation       "1"
  129.       SampleInput       off
  130.       SampleTime       "0"
  131.     }
  132.     Block {
  133.       BlockType       TransferFcn
  134.       Name       "Sensor"
  135.       Position       [265, 229, 360, 281]
  136.       Orientation       left
  137.       Numerator       "[1]"
  138.       Denominator       "[0.05  1]"
  139.     }
  140.     Block {
  141.       BlockType       Step
  142.       Name       "Step Input"
  143.       Position       [40, 92, 80, 128]
  144.       Time       "20"
  145.       Before       "1"
  146.       After       "1"
  147.     }
  148.     Block {
  149.       BlockType       Sum
  150.       Name       "Sum"
  151.       Ports       [2, 1, 0, 0, 0]
  152.       Position       [125, 100, 160, 140]
  153.       Inputs       "+-"
  154.     }
  155.     Block {
  156.       BlockType       ToWorkspace
  157.       Name       "Terminal Voltage"
  158.       Position       [645, 184, 690, 216]
  159.       VariableName       "Vt"
  160.       Buffer       "1000"
  161.       Decimation       "1"
  162.       SampleTime       "0"
  163.     }
  164.     Line {
  165.       SrcBlock       "Generator"
  166.       SrcPort       1
  167.       Points       [35, 0]
  168.       Branch {
  169. Points [25, 0]
  170. Branch {
  171.   Points   [0, 80]
  172.   DstBlock   "Terminal Voltage"
  173.   DstPort   1
  174. }
  175. Branch {
  176.   DstBlock   "Scope"
  177.   DstPort   1
  178. }
  179.       }
  180.       Branch {
  181. Points [0, 135]
  182. DstBlock "Sensor"
  183. DstPort 1
  184.       }
  185.     }
  186.     Line {
  187.       SrcBlock       "Sensor"
  188.       SrcPort       1
  189.       Points       [-165, 0; 0, -125]
  190.       DstBlock       "Sum"
  191.       DstPort       2
  192.     }
  193.     Line {
  194.       SrcBlock       "Exciter"
  195.       SrcPort       1
  196.       DstBlock       "Generator"
  197.       DstPort       1
  198.     }
  199.     Line {
  200.       SrcBlock       "Amplifier"
  201.       SrcPort       1
  202.       DstBlock       "Exciter"
  203.       DstPort       1
  204.     }
  205.     Line {
  206.       SrcBlock       "Sum"
  207.       SrcPort       1
  208.       DstBlock       "Amplifier"
  209.       DstPort       1
  210.     }
  211.     Line {
  212.       SrcBlock       "Step Input"
  213.       SrcPort       1
  214.       DstBlock       "Sum"
  215.       DstPort       1
  216.     }
  217.     Annotation {
  218.       Position       [382, 326]
  219.       FontSize       12
  220.       Text       "Simulation block diagram for Example 12.6nTermi"
  221.       "nal voltage step response"
  222.     }
  223.     Annotation {
  224.       Position       [622, 92]
  225.       VerticalAlignment       top
  226.       Text       "Vt"
  227.     }
  228.     Annotation {
  229.       Position       [437, 97]
  230.       VerticalAlignment       top
  231.       Text       "VF"
  232.     }
  233.     Annotation {
  234.       Position       [307, 97]
  235.       VerticalAlignment       top
  236.       Text       "VR"
  237.     }
  238.     Annotation {
  239.       Position       [182, 102]
  240.       VerticalAlignment       top
  241.       Text       "Ve"
  242.     }
  243.     Annotation {
  244.       Position       [57, 77]
  245.       VerticalAlignment       top
  246.       Text       "Vref"
  247.     }
  248.   }
  249. }