⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 d9.mdl

📁 实现了两电平逆变器上异步电机直接转矩控制仿真,引入了一种典型的直接转矩控制改进算法DSVM,并进行了仿真
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    DstPort		    1
	  }
	}
      }
    }
    Block {
      BlockType		      Step
      Name		      "TL"
      Position		      [390, 170, 420, 200]
      Time		      "0.07"
      After		      "15"
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Three-Phase\nV-I Measurement"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [3, 5]
      Position		      [480, 260, 515, 340]
      AncestorBlock	      "powerlib2/Measurements/Three-Phase\nV-I Measure"
"ment"
      CopyFcn		      "  powericon('psbloadfunction',gcbh,'3-Phase VI "
"Measurement','VerifyPhasor');   "
      LoadFcn		      "powericon('psbloadfunction',gcbh,'3-Phase VI Me"
"asurement','');"
      InitFcn		      "powericon('checksum',bdroot)"
      CloseFcn		      "%3phaseVImeasurement"
      TreatAsAtomicUnit	      off
      MaskType		      "3-Phase VI Measurement"
      MaskDescription	      "This block is used to measure three-phase volta"
"ges and currents in a circuit. When connected in series with a three-phase el"
"ement, it return the three phase-to-ground voltages and line currents.\n\nThe"
" block can output the voltages and currents in per unit values or in volts an"
"d amperes. Check the appropriate boxes if you want to output the voltages and"
" currents  in pu"
      MaskHelp		      "web(psbhelp)"
      MaskPromptString	      "Voltage measurement|Use a label |Signal label  "
"(use a From block to collect signal)|Voltage  in pu|Base voltage (Vrms phase-"
"phase) :|Current measurement|Use a label|Signal label  (use a From block to c"
"ollect signal)|Currents in pu|Base power ( VA 3 phase)|Output signal :|Phasor"
" simulation|Equivalent circuit|PSBOutputType"
      MaskStyleString	      "popup(no|phase-to-ground|phase-to-phase),checkb"
"ox,edit,checkbox,edit,popup(no|yes),checkbox,edit,checkbox,edit,popup(Complex"
"|Real-Imag|Magnitude-Angle|Magnitude),checkbox,edit,edit"
      MaskTunableValueString  "off,off,off,on,on,off,off,off,on,on,on,on,on,on"
      MaskCallbackString      "powericon('psbcallbacks',gcb,'Three-phase measu"
"rements',2);|powericon('psbcallbacks',gcb,'Three-phase measurements',2);||pow"
"ericon('psbcallbacks',gcb,'Three-phase measurements',2);||powericon('psbcallb"
"acks',gcb,'Three-phase measurements',2);|powericon('psbcallbacks',gcb,'Three-"
"phase measurements',2);||powericon('psbcallbacks',gcb,'Three-phase measuremen"
"ts',4);|||||"
      MaskEnableString	      "on,on,on,on,on,on,on,on,on,on,off,on,off,on"
      MaskVisibilityString    "on,on,off,on,off,on,on,off,on,off,on,off,off,of"
"f"
      MaskToolTipString	      "on,on,on,on,on,on,on,on,on,on,on,on,on,on"
      MaskVarAliasString      ",,,,,,,,,,,,,"
      MaskVariables	      "VChoice=@1;ualv=@2;labelV=&3;Vpu=@4;Vbase=@5;IC"
"hoice=@6;ualc=@7;labelC=&8;Ppu=@9;Pbase=@10;OutputType=@11;PhasorSimulation=@"
"12;PSBequivalent=@13;PSBOutputType=&14;"
      MaskInitialization      "powericon('psbcallbacks',gcb,'Three-phase measu"
"rements',4);\nif  Vpu\n    xKv=1/(Vbase/sqrt(3)*sqrt(2));\nelse\n    xKv=1;\n"
"end\nif  Ppu\n    xKi=1/(Pbase/Vbase/sqrt(3)*sqrt(2));\nelse\n    xKi=1;\nend"
"\nswitch OutputType\ncase 1\n    OutputSelection  = [1:6];\n    PhasorModeV ="
" [1:3];\n    NormalModeV = [7:9];\n    PhasorModeI = [4:6];\n    NormalModeI "
"= [10:12];\n    Kv = xKv;\n    Ki = xKi;\ncase 2\n    OutputSelection = [7,13"
",8,14,9,15,10,16,11,17,12,18];\n    PhasorModeV = [1:6];\n    NormalModeV = ["
"13:15];\n    PhasorModeI = [7:12];\n    NormalModeI = [16:18];\n    Kv = xKv;"
"\n    Ki = xKi;\ncase 3\n    OutputSelection = [13,19,14,20,15,21,16,22,17,23"
",18,24];\n    PhasorModeV = [1:6];\n    NormalModeV = [13:15];\n    PhasorMod"
"eI = [7:12];\n    NormalModeI = [16:18];\n    Kv = [xKv 1 xKv 1 xKv 1];\n    "
"Ki = [xKi 1 xKi 1 xKi 1];\ncase 4\n    OutputSelection  = [19:24];\n    Phaso"
"rModeV = [1:3];\n    NormalModeV = [7:9];\n    PhasorModeI = [4:6];\n    Norm"
"alModeI = [10:12];\n    Kv = xKv;\n    Ki = xKi;\nend\nif PhasorSimulation\n "
"   SelectionModeV = PhasorModeV;\n    SelectionModeI = PhasorModeI;\nelse\n  "
"  SelectionModeV = NormalModeV;\n    SelectionModeI = NormalModeI;\n    Kv = "
"xKv;\n    Ki = xKi;\nend"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "phase-to-phase|off|V1|off|0|yes|off|I1|off|0|Co"
"mplex|off|1|11100"
      System {
	Name			"Three-Phase\nV-I Measurement"
	Location		[121, 175, 827, 570]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "A"
	  Position		  [15, 23, 45, 37]
	}
	Block {
	  BlockType		  Inport
	  Name			  "B"
	  Position		  [15, 83, 45, 97]
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "C"
	  Position		  [15, 138, 45, 152]
	  Port			  "3"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [155, 15, 175, 35]
	  Value			  "NaN"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [160, 60, 180, 80]
	  Value			  "NaN"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [150, 120, 170, 140]
	  NamePlacement		  "alternate"
	  Value			  "NaN"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Ia"
	  Ports			  [0, 1]
	  Position		  [55, 279, 90, 301]
	  AncestorBlock		  "powerlib2/Measurements/Three-Phase\nV-I Mea"
"surement/Ia"
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "Ia"
	    Location		    [153, 397, 333, 481]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      From
	      Name		      "source"
	      Position		      [25, 29, 100, 61]
	      NamePlacement	      "alternate"
	      GotoTag		      "tp220750"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [125, 38, 155, 52]
	    }
	    Line {
	      SrcBlock		      "source"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Ib"
	  Ports			  [0, 1]
	  Position		  [15, 304, 50, 326]
	  AncestorBlock		  "powerlib2/Measurements/Three-Phase\nV-I Mea"
"surement/Ib"
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "Ib"
	    Location		    [153, 397, 333, 481]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      From
	      Name		      "source"
	      Position		      [25, 29, 100, 61]
	      NamePlacement	      "alternate"
	      GotoTag		      "tp220751"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [125, 38, 155, 52]
	    }
	    Line {
	      SrcBlock		      "source"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Ic"
	  Ports			  [0, 1]
	  Position		  [55, 329, 90, 351]
	  AncestorBlock		  "powerlib2/Measurements/Three-Phase\nV-I Mea"
"surement/Ic"
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "Ic"
	    Location		    [153, 397, 333, 481]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      From
	      Name		      "source"
	      Position		      [25, 29, 100, 61]
	      NamePlacement	      "alternate"
	      GotoTag		      "tp220752"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [125, 38, 155, 52]
	    }
	    Line {
	      SrcBlock		      "source"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Gain
	  Name			  "Ki"
	  Position		  [490, 301, 520, 339]
	  ShowName		  off
	  Gain			  "Ki"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Kv"
	  Position		  [490, 243, 525, 287]
	  ShowName		  off
	  Gain			  "Kv"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [6, 1]
	  Position		  [145, 208, 150, 347]
	  ShowName		  off
	  Inputs		  "6"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux3"
	  Ports			  [2, 1]
	  Position		  [365, 265, 370, 325]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Phasor Measurements"
	  Ports			  [1, 1, 1]
	  Position		  [200, 267, 325, 293]
	  BackgroundColor	  "green"
	  SourceBlock		  "powerlib2/Measurements/Three-Phase\nV-I Mea"
"surement/Phasor Measurements"
	  SourceType		  "SubSystem"
	  ShowPortLabels	  on
	  Permissions		  "ReadWrite"
	  TreatAsAtomicUnit	  on
	  RTWSystemCode		  "Auto"
	  RTWFcnNameOpts	  "Auto"
	  RTWFileNameOpts	  "Auto"
	  SimViewingDevice	  off
	  DataTypeOverride	  "UseLocalSettings"
	  MinMaxOverflowLogging	  "UseLocalSettings"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector I"
	  Ports			  [1, 1]
	  Position		  [430, 300, 470, 340]
	  Elements		  "SelectionModeI"
	  InputPortWidth	  "length(OutputSelection)+6"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector V"
	  Ports			  [1, 1]
	  Position		  [430, 246, 470, 284]
	  NamePlacement		  "alternate"
	  Elements		  "SelectionModeV"
	  InputPortWidth	  "length(OutputSelection)+6"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Simulation method"
	  Position		  [205, 220, 315, 240]
	  Orientation		  "down"
	  BackgroundColor	  "magenta"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Value			  "PhasorSimulation"
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator"
	  Position		  [80, 15, 105, 45]
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator1"
	  Position		  [75, 75, 100, 105]
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator2"
	  Position		  [70, 130, 95, 160]
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Vb"
	  Ports			  [0, 1]
	  Position		  [50, 229, 85, 251]
	  AncestorBlock		  "powerlib2/Measurements/Three-Phase\nV-I Mea"
"surement/Vb"
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "Vb"
	    Location		    [153, 397, 333, 481]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      From
	      Name		      "source"
	      Position		      [25, 29, 100, 61]
	      NamePlacement	      "alternate"
	      GotoTag		      "tp220747"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [125, 38, 155, 52]
	    }
	    Line {
	      SrcBlock		      "source"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Vc"
	  Ports			  [0, 1]
	  Position		  [15, 254, 50, 276]
	  AncestorBlock		  "powerlib2/Measurements/Three-Phase\nV-I Mea"
"surement/Vc"
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "Vc"
	    Location		    [153, 397, 333, 481]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      From
	      Name		      "source"
	      Position		      [25, 29, 100, 61]
	      NamePlacement	      "alternate"
	      GotoTag		      "tp220748"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [125, 38, 155, 52]
	    }
	    Line {
	      SrcBlock		      "source"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  From
	  Name			  "source"
	  Position		  [15, 199, 90, 231]
	  GotoTag		  "tp220745"
	}
	Block {
	  BlockType		  Outport
	  Name			  "A "
	  Position		  [230, 18, 260, 32]
	}
	Block {
	  BlockType		  Outport
	  Name			  "B "
	  Position		  [230, 63, 260, 77]
	  Port			  "2"
	}
	Block {
	  BlockType		  Outport
	  Name			  "C "
	  Position		  [225, 118, 255, 132]
	  Port			  "3"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Vabc"
	  Position		  [545, 258, 575, 272]
	  NamePlacement		  "alternate"
	  Port			  "4"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Iabc"
	  Position		  [550, 313, 580, 327]
	  Port			  "5"
	}
	Line {
	  SrcBlock		  "Ic"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  6
	}
	Line {
	  SrcBlock		  "Ib"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  5
	}
	Line {
	  SrcBlock		  "Ia"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Vc"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Vb"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "source"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  Points		  [0, 0; 20, 0]
	  Branch {
	    DstBlock		    "Phasor Measurements"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 30]
	    DstBlock		    "Mux3"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Simulation method"
	  SrcPort		  1
	  DstBlock		  "Phasor Measurements"
	  DstPort		  enable
	}
	Line {
	  SrcBlock		  "Phasor Measurements"
	  SrcPort		  1
	  DstBlock		  "Mux3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux3"
	  SrcPort		  1
	  Points		  [0, 0; 30, 0]
	  Branch {
	    Points		    [0, -30]
	

⌨️ 快捷键说明

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