shiliangkongzhi.mdl

来自「是矢量控制的仿真」· MDL 代码 · 共 2,617 行 · 第 1/5 页

MDL
2,617 行
字号
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Phir*"
	  Position		  [25, 38, 55, 52]
	}
	Block {
	  BlockType		  Gain
	  Name			  "KF"
	  Position		  [80, 29, 140, 61]
	  Gain			  "1/0.149"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Id*"
	  Position		  [165, 38, 195, 52]
	}
	Line {
	  SrcBlock		  "KF"
	  SrcPort		  1
	  DstBlock		  "Id*"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Phir*"
	  SrcPort		  1
	  DstBlock		  "KF"
	  DstPort		  1
	}
	Annotation {
	  Name			  "Id* = Phir*/ Lm "
	  Position		  [89, 98]
	}
	Annotation {
	  Name			  "Lm= 34.7 mH"
	  Position		  [84, 118]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "iqs* Calculation"
      Ports		      [2, 1]
      Position		      [215, 232, 260, 283]
      NamePlacement	      "alternate"
      TreatAsAtomicUnit	      off
      System {
	Name			"iqs* Calculation"
	Location		[2, 82, 1014, 717]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Te*"
	  Position		  [25, 13, 55, 27]
	}
	Block {
	  BlockType		  Inport
	  Name			  "Phir"
	  Position		  [25, 53, 55, 67]
	  Port			  "2"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [125, 35, 245, 55]
	  ShowName		  off
	  Expr			  "u[1]*0.3624/(u[2]+1e-3)"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1]
	  Position		  [80, 25, 100, 60]
	  ShowName		  off
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Iq*"
	  Position		  [275, 38, 305, 52]
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Phir"
	  SrcPort		  1
	  Points		  [0, -10]
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  DstBlock		  "Iq*"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Te*"
	  SrcPort		  1
	  Points		  [0, 15]
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "Fcn"
	  DstPort		  1
	}
	Annotation {
	  Name			  "Iq= ( 2/3) * (2/p) * ( Lr/Lm) * (Te / Phir)"
	  Position		  [124, 91]
	}
	Annotation {
	  Name			  "Lm = 34.7 mH"
	  Position		  [319, 86]
	}
	Annotation {
	  Name			  "Lr = Ll'r +Lm = 0.8 +34.7= 35.5 mH"
	  Position		  [369, 104]
	}
	Annotation {
	  Name			  "p= nb of poles = 4"
	  Position		  [329, 124]
	}
	Annotation {
	  Name			  "Iq= 0.341 * (Te / Phir)"
	  Position		  [89, 116]
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "powergui"
      Ports		      []
      Position		      [80, 513, 169, 559]
      DropShadow	      on
      ShowName		      off
      SourceBlock	      "powerlib2/powergui"
      SourceType	      "PSB option menu block"
      Frange		      "[0:2:500]"
      Ylog		      off
      Xlog		      on
      save		      off
      variable		      "ZData"
      ZoomFFT		      on
      StartTime		      "0.0"
      cycles		      "1"
      DisplayStyle	      "off"
      fundamental	      "60"
      FreqAxis		      off
      MaxFrequency	      "1000"
      frequencyindice	      "1"
      frequencyindicesteady   "1"
      RmsSteady		      "1"
      display		      off
      Ts		      "2e-6"
      methode		      off
      frequency		      "60"
      echomessages	      off
    }
    Block {
      BlockType		      Step
      Name		      "wref"
      Position		      [60, 268, 90, 292]
      NamePlacement	      "alternate"
      Time		      "0.4"
      Before		      "120"
      After		      "160"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Constant
      Name		      "wref "
      Position		      [125, 98, 155, 122]
      NamePlacement	      "alternate"
      Value		      "100"
    }
    Block {
      BlockType		      Constant
      Name		      "wref 1"
      Position		      [150, 323, 180, 347]
      NamePlacement	      "alternate"
      Value		      "0.2873"
    }
    Line {
      SrcBlock		      "DQ-ABC"
      SrcPort		      1
      DstBlock		      "Current Regulator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Speed_controller"
      SrcPort		      1
      DstBlock		      "iqs* Calculation"
      DstPort		      1
    }
    Line {
      SrcBlock		      "ABC-DQ"
      SrcPort		      1
      Points		      [0, -75]
      DstBlock		      "Flux Calculation"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Unit Delay4"
      SrcPort		      1
      Points		      [-60, 0; 0, -100]
      Branch {
	DstBlock		"Current Regulator"
	DstPort			2
      }
      Branch {
	Points			[0, -145]
	DstBlock		"ABC-DQ"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Teta Calculation"
      SrcPort		      1
      Points		      [0, 0; 15, 0]
      Branch {
	DstBlock		"ABC-DQ"
	DstPort			1
      }
      Branch {
	Points			[0, 190; -70, 0]
	DstBlock		"DQ-ABC"
	DstPort			3
      }
    }
    Line {
      SrcBlock		      "iqs* Calculation"
      SrcPort		      1
      DstBlock		      "DQ-ABC"
      DstPort		      2
    }
    Line {
      SrcBlock		      "id* Calculation"
      SrcPort		      1
      Points		      [30, 0; 0, -100]
      DstBlock		      "DQ-ABC"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Flux Calculation"
      SrcPort		      1
      Points		      [-80, 0; 0, 75]
      Branch {
	DstBlock		"Teta Calculation"
	DstPort			2
      }
      Branch {
	Points			[0, 50]
	Branch {
	  Points		  [0, 95]
	  DstBlock		  "iqs* Calculation"
	  DstPort		  2
	}
	Branch {
	  DstBlock		  "Scope4"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Induction Motor\n50 HP / 460 V"
      SrcPort		      1
      DstBlock		      "Demux"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Bus Bar (thin horiz)"
      SrcPort		      1
      DstBlock		      "Vdc"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Bus Bar (thin horiz)"
      SrcPort		      2
      DstBlock		      "IGBT Inverter"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Vdc"
      SrcPort		      1
      Points		      [35, 0]
      DstBlock		      "IGBT Inverter"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Current Regulator"
      SrcPort		      1
      DstBlock		      "IGBT Inverter"
      DstPort		      3
    }
    Line {
      Name		      "Vab (V)"
      Labels		      [-1, 0]
      SrcBlock		      "Vab"
      SrcPort		      1
      DstBlock		      "Scope"
      DstPort		      1
    }
    Line {
      Labels		      [3, 1]
      SrcBlock		      "Demux"
      SrcPort		      3
      Points		      [20, 0; 0, -110]
      DstBlock		      "Scope"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      2
      Points		      [0, 0; 30, 0]
      Branch {
	Labels			[2, 1]
	Points			[0, -55]
	DstBlock		"Scope"
	DstPort			4
      }
      Branch {
	Points			[0, 150]
	Branch {
	  DstBlock		  "Unit Delay3"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 25]
	  DstBlock		  "Scope2"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "IGBT Inverter"
      SrcPort		      3
      DstBlock		      "Induction Motor\n50 HP / 460 V"
      DstPort		      3
    }
    Line {
      SrcBlock		      "IGBT Inverter"
      SrcPort		      1
      Points		      [0, 0; 5, 0]
      Branch {
	DstBlock		"Induction Motor\n50 HP / 460 V"
	DstPort			1
      }
      Branch {
	Points			[0, -90]
	DstBlock		"Vab"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "IGBT Inverter"
      SrcPort		      2
      Points		      [0, 0; 15, 0]
      Branch {
	DstBlock		"Induction Motor\n50 HP / 460 V"
	DstPort			2
      }
      Branch {
	Points			[0, -100]
	DstBlock		"Vab"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      1
      Points		      [0, 0; 10, 0]
      Branch {
	Points			[0, 160]
	DstBlock		"Unit Delay4"
	DstPort			1
      }
      Branch {
	Labels			[2, 1]
	Points			[0, -60]
	DstBlock		"Scope"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Unit Delay3"
      SrcPort		      1
      Points		      [0, 0; -45, 0]
      Branch {
	DstBlock		"Teta Calculation"
	DstPort			3
      }
      Branch {
	Points			[-170, 0]
	DstBlock		"Speed_controller"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "ABC-DQ"
      SrcPort		      2
      Points		      [10, 0; 0, -70]
      DstBlock		      "Unit Delay5"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Unit Delay5"
      SrcPort		      1
      Points		      [-150, 0; 0, 30]
      DstBlock		      "Teta Calculation"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Load_torque"
      SrcPort		      1
      Points		      [30, 0]
      DstBlock		      "Induction Motor\n50 HP / 460 V"
      DstPort		      4
    }
    Line {
      SrcBlock		      "wref 1"
      SrcPort		      1
      DstBlock		      "id* Calculation"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Signal Builder"
      SrcPort		      2
      DstBlock		      "Speed_controller"
      DstPort		      1
    }
  }
}
MatData {
  NumRecords		  1
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    , \\   8    (     @         %    "
"\"     $    !     0         %  0 #     $   !(    9W)I9%-E='1I;F< 8VAA;FYE;', "
"    87AE<P          8V]M;6]N        9&%T85-E=       9&%T85-E=$ED>   #@   #   "
"  &    \"     0         !0    @    !     @    $         !  $ &\\ ;@ .    @ @ "
"  8    (     @         %    \"     $    \"     0         %  0 \"@    $   \"\""
"    >$1A=&$      'E$871A      !S=&5P6       <W1E<%D      'E-:6X       !Y36%X "
"       8V]L;W(      &QI;F53='EL90!L:6YE5VED=&@ ;&%B96P      &]U=$EN9&5X  !A;&"
"Q81&%T80  86QL641A=&$           X   !     !@    @    &          4    (     0 "
"   (    !          D    0                      #X/PX   !     !@    @    &    "
"      4    (     0    (    !          D    0    4[@>A>M1T#]3N!Z%ZU'0/PX    X "
"   !@    @    &          4    (     0    $    !          D    (              "
" .    .     8    (    !@         %    \"     $    !     0         )    \"    "
"           #@   #     &    \"     8         !0    @               $         "
"\"0         .    ,     8    (    !@         %    \"                0         "
")          X   !(    !@    @    &          4    (     0    ,    !          D "
"   8    0C[HV:SZZC\\                     #@   #     &    \"     0         !0 "
"   @    !     0    $         !  \" \"T    .    .     8    (    !@         %  "
"  \"     $    !     0         )    \"            /@_#@   $     &    \"     0 "
"        !0    @    !    \"     $         !    !    !3 &D 9P!N &$ ;  @ #$ #@  "
" #@    &    \"     8         !0    @    !     0    $         \"0    @        "
"   #P/PX   !P    !@    @    !          4    (     0    $    !          X   ! "
"    !@    @    &          4    (     0    (    !          D    0             "
"         #X/PX   !P    !@    @    !          4    (     0    $    !          "
"X   !     !@    @    &          4    (     0    (    !          D    0    4[@"
">A>M1T#]3N!Z%ZU'0/PX   !0    !@    @    &          4    (     0    0    !    "
"      D    @              !F9F9F9F;F/V9F9F9F9N8_        ^#\\.    4     8    ("
"    !@         %    \"     $    $     0         )    (            %E         "
"64        !)0        $E #@   #@    &    \"     8         !0    @    !     0  "
"  $         \"0    @               X    X    !@    @    &          4    (    "
" 0    $    !          D    (               .    ,     8    (    !@         % "
"   \"                0         )          X    P    !@    @    &          4  "
"  (               !          D         #@   $@    &    \"     8         !0   "
" @    !     P    $         \"0   !@   #8@7-&E/;F/P          V(%S1I3VYC\\.    "
",     8    (    !          %    \"     $    !     0         $  ( +0    X    X"
"    !@    @    &          4    (     0    $    !          D    (            ^"
"#\\.    0     8    (    !          %    \"     $    (     0         $    $   "
" %, :0!G &X 80!L \"  ,@ .    .     8    (    !@         %    \"     $    !   "
"  0         )    \"             ! #@   (     &    \"     $         !0    @   "
" !     0    $         #@   %     &    \"     8         !0    @    !    !     "
"$         \"0   \"               &9F9F9F9N8_9F9F9F9FYC\\       #X/PX   \"    "
" !@    @    !          4    (     0    $    !          X   !0    !@    @    &"
"          4    (     0    0    !          D    @            64        !90    "
"    $E         24 .    \\ (   8    (     @         %    \"     $    \"     0 "
"        %  0 \"P    $    W    8VAA;FYE;',   !Y3&EM         &QA8F5L4&]S    ;&%"
"B96Q(      !L86)E;%!A=&-H   .    .     8    (    !@         %    \"     $    "
"!     0         )    \"             ! #@   $     &    \"     8         !0    "
"@    !     @    $         \"0   !           (!&0       0%I #@   #     &    \""
"     0         !0    @    !     @    $         !  $ %0 3  .    .     8    (  "
"  !@         %    \"     $    !     0         )    \"         2 'LM #@   #@  "
"  &    \"     8         !0    @    !     0    $         \"0    @        ( ![+"
"0 X    X    !@    @    &          4    (     0    $    !          D    (     "
"       \\#\\.    0     8    (    !@         %    \"     $    \"     0        "
" )    $            /\"_        \\#\\.    ,     8    (    !          %    \"  "
"   $    \"     0         $  0 5 !,  X    X    !@    @    &          4    (   "
"  0    $    !          D    (        \"( <RT .    .     8    (    !@         "
"%    \"     $    !     0         )    \"         @ ',M #@   &@!   &    \"    "
" (         !0    @    !     0    $         !0 $  D    !    )    &1I<W!4:6UE &"
"1I<W!-;V1E &UI;E1I;64  &UA>%1I;64        .    0     8    (    !@         %   "
" \"     $    \"     0         )    $                       ^#\\.    .     8  "
"  (    !@         %    \"     $    !     0         )    \"            / _#@  "
" #@    &    \"     8         !0    @    !     0    $         \"0    @        "
"       X    X    !@    @    &          4    (     0    $    !          D    ("
"            ^#\\.    0 $   8    (     @         %    \"     $    !     0     "
"    %  0 #@    $    J    86-T:79E1&ES<$ED> !T:6UE4F%N9V4      &YA;64         "
"            #@   $     &    \"     8         !0    @    !     @    $         "
"\"0   !              0        / _#@   $     &    \"     8         !0    @    "
"!     @    $         \"0   !                       /@_#@   $     &    \"     "
"0         !0    @    !    !P    $         !     X   !' '( ;P!U '  (  Q    #@ "
"  #@    &    \"     8         !0    @    !     0    $         \"0    @       "
"    #P/P"
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?