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

📄 power_3levelvsc.mdl

📁 AC/DC三电平变换器
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Demux1"
	      SrcPort		      1
	      Points		      [25, 0; 0, -45]
	      DstBlock		      "2nd-Order\nFilter3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Iabc "
	      SrcPort		      1
	      Points		      [20, 0; 0, 5]
	      DstBlock		      "Demux1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Demux"
	      SrcPort		      2
	      DstBlock		      "2nd-Order\nFilter1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Demux"
	      SrcPort		      3
	      Points		      [40, 0]
	      DstBlock		      "2nd-Order\nFilter2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "2nd-Order\nFilter2"
	      SrcPort		      1
	      Points		      [40, 0]
	      DstBlock		      "Mux"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "2nd-Order\nFilter1"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "2nd-Order\nFilter6"
	      SrcPort		      1
	      DstBlock		      " Vdc*"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Vdc "
	      SrcPort		      1
	      DstBlock		      "2nd-Order\nFilter6"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      " Vabc*"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "2nd-Order\nFilter"
	      SrcPort		      1
	      Points		      [40, 0]
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Vabc"
	      SrcPort		      1
	      DstBlock		      "Demux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Demux"
	      SrcPort		      1
	      Points		      [25, 0; 0, -45]
	      DstBlock		      "2nd-Order\nFilter"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Controller"
	  Ports			  [3, 1]
	  Position		  [355, 39, 445, 171]
	  BackgroundColor	  "lightBlue"
	  DropShadow		  on
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskHideContents	  off
	  MaskType		  "DC Regulator"
	  MaskPromptString	  "DC Voltage setpoint (Volts)|Vdc Regulator G"
"ains: [ Kp  Ki ]|Current Regulators Gain: [ Kp Ki Kd ]|Nominal Voltage and po"
"wer: [ Vnom (volts rms L-L)  Pnom (VA) ]|Time Step (s)"
	  MaskStyleString	  "edit,edit,edit,edit,edit"
	  MaskTunableValueString  "on,on,on,on,on"
	  MaskCallbackString	  "||||"
	  MaskEnableString	  "on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,on"
	  MaskToolTipString	  "on,on,on,on,on"
	  MaskVarAliasString	  ",,,,"
	  MaskVariables		  "Vdc_Ref=@1;Par_VdcReg=@2;Par_IReg=@3;Par_No"
"m=@4;Ts=@5;"
	  MaskInitialization	  "Vnom=Par_Nom(1);\nPnom=Par_Nom(2);\nKp_I=Pa"
"r_IReg(1);\nKi_I=Par_IReg(2);\nKp_Vdc=Par_VdcReg(1);\nKi_Vdc=Par_VdcReg(2);\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "Vdc_Ref|[0.015 1.6]|[0.3 20]|[600 500e3]|Ts"
"_Control"
	  MaskTabNameString	  ",,,,"
	  System {
	    Name		    "Controller"
	    Location		    [146, 172, 1065, 635]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Vabc"
	      Position		      [15, 123, 45, 137]
	      IconDisplay	      "Port number"
	      PortDimensions	      "3"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Iabc"
	      Position		      [115, 243, 145, 257]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      PortDimensions	      "3"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Vdc"
	      Position		      [275, 348, 305, 362]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      PortDimensions	      "1"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "A->pu"
	      Position		      [170, 235, 200, 265]
	      Gain		      "sqrt(3)*Vnom/sqrt(2)/Pnom"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [510, 240, 530, 260]
	      ShowName		      off
	      Value		      "0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant6"
	      Position		      [295, 383, 345, 407]
	      ShowName		      off
	      Value		      "Vdc_Ref"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Current\nRegulators"
	      Ports		      [4, 1]
	      Position		      [605, 178, 685, 277]
	      BackgroundColor	      "yellow"
	      DropShadow	      on
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      MaskHideContents	      off
	      MaskType		      "Current Regulators"
	      MaskDescription	      "Sign convention:\nId positive(+) flowin"
"g into converter ==> Converter absorbing real power = P positive(+) \nIq nega"
"tive(-) flowing into converter (inductive current) ==> Converter absorbing re"
"active power = Q positive(+) "
	      MaskPromptString	      "Proportional gain (Kp):|Integral gain ("
"Ki):|Derivative gain (Kd):|Time constant for derivative (s):|Output limits: ["
" Upper   Lower ]|Output initial value:|Sample time:"
	      MaskStyleString	      "edit,edit,edit,edit,edit,edit,edit"
	      MaskTunableValueString  "on,on,on,on,on,on,on"
	      MaskCallbackString      "||||||"
	      MaskEnableString	      "on,on,on,on,on,on,on"
	      MaskVisibilityString    "on,on,on,on,on,on,on"
	      MaskToolTipString	      "on,on,on,on,on,on,on"
	      MaskVarAliasString      ",,,,,,"
	      MaskVariables	      "Kp=@1;Ki=@2;Kd=@3;TcD=@4;Par_Limits=@5;"
"Init=@6;Ts=@7;"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      MaskValueString	      "Kp_I|Ki_I|0|0.2e-3|[12 -12]|0|Ts"
	      MaskTabNameString	      ",,,,,,"
	      System {
		Name			"Current\nRegulators"
		Location		[58, 157, 947, 662]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "IdIq"
		  Position		  [30, 173, 60, 187]
		  IconDisplay		  "Port number"
		  PortDimensions	  "2"
		}
		Block {
		  BlockType		  Inport
		  Name			  "Vd"
		  Position		  [60, 83, 90, 97]
		  Port			  "2"
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Inport
		  Name			  "IdIq_Ref"
		  Position		  [25, 273, 55, 287]
		  Port			  "3"
		  IconDisplay		  "Port number"
		  PortDimensions	  "2"
		}
		Block {
		  BlockType		  Inport
		  Name			  "Vdc"
		  Position		  [545, 333, 575, 347]
		  Port			  "4"
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Gain
		  Name			  " Ltot"
		  Position		  [365, 410, 395, 440]
		  Gain			  "0.1055"
		}
		Block {
		  BlockType		  Demux
		  Name			  "Demux"
		  Ports			  [1, 2]
		  Position		  [185, 141, 190, 214]
		  ShowName		  off
		  Outputs		  "2"
		  Port {
		    PortNumber		    1
		    Name		    "Id"
		    PropagatedSignals	    "Vd"
		    RTWStorageClass	    "Auto"
		    DataLoggingNameMode	    "SignalName"
		  }
		  Port {
		    PortNumber		    2
		    Name		    "Iq"
		    PropagatedSignals	    "Vq"
		    RTWStorageClass	    "Auto"
		    DataLoggingNameMode	    "SignalName"
		  }
		}
		Block {
		  BlockType		  Demux
		  Name			  "Demux1"
		  Ports			  [1, 2]
		  Position		  [185, 241, 190, 314]
		  ShowName		  off
		  Outputs		  "2"
		  Port {
		    PortNumber		    1
		    Name		    "Id_Ref"
		    RTWStorageClass	    "Auto"
		    DataLoggingNameMode	    "SignalName"
		  }
		  Port {
		    PortNumber		    2
		    Name		    "Iq_Ref"
		    RTWStorageClass	    "Auto"
		    DataLoggingNameMode	    "SignalName"
		  }
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto1"
		  Position		  [105, 304, 160, 326]
		  ForegroundColor	  "darkGreen"
		  ShowName		  off
		  GotoTag		  "IdIqref"
		  TagVisibility		  "global"
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto3"
		  Position		  [115, 201, 150, 219]
		  ForegroundColor	  "darkGreen"
		  ShowName		  off
		  GotoTag		  "IdIq"
		  TagVisibility		  "global"
		}
		Block {
		  BlockType		  Reference
		  Name			  "Id \nPID"
		  Ports			  [1, 1]
		  Position		  [360, 137, 405, 183]
		  SourceBlock		  "powerlib_extras/Discrete \nControl "
"Blocks/Discrete\nPID Controller"
		  SourceType		  "Discrete PID Controller"
		  ShowPortLabels	  "on"
		  Kp			  "Kp"
		  Ki			  "Ki"
		  Kd			  "Kd"
		  TcD			  "TcD"
		  Par_Limits		  "Par_Limits"
		  Init			  "Init"
		  Ts			  "Ts"
		}
		Block {
		  BlockType		  Reference
		  Name			  "Iq \nPID"
		  Ports			  [1, 1]
		  Position		  [355, 322, 400, 368]
		  SourceBlock		  "powerlib_extras/Discrete \nControl "
"Blocks/Discrete\nPID Controller"
		  SourceType		  "Discrete PID Controller"
		  ShowPortLabels	  "on"
		  Kp			  "Kp"
		  Ki			  "Ki"
		  Kd			  "Kd"
		  TcD			  "TcD"
		  Par_Limits		  "Par_Limits"
		  Init			  "Init"
		  Ts			  "Ts"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Ltot "
		  Position		  [380, 220, 410, 250]
		  Gain			  "0.1055"
		}
		Block {
		  BlockType		  Reference
		  Name			  "Mean Value"
		  Ports			  [1, 1]
		  Position		  [160, 66, 210, 114]
		  SourceBlock		  "powerlib_extras/Discrete\nMeasureme"
"nts/Discrete \nMean value"
		  SourceType		  "Discrete Mean value"
		  ShowPortLabels	  "on"
		  Freq			  "60"
		  Vinit			  "1.007"
		  Ts			  "Ts"
		}
		Block {
		  BlockType		  Mux
		  Name			  "Mux"
		  Ports			  [2, 1]
		  Position		  [570, 198, 575, 267]
		  ShowName		  off
		  Inputs		  "2"
		  DisplayOption		  "bar"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product"
		  Ports			  [3, 1]
		  Position		  [755, 221, 790, 289]
		  ShowName		  off
		  Inputs		  "**/"
		  RndMeth		  "Floor"
		}
		Block {
		  BlockType		  Saturate
		  Name			  "Saturation"
		  Position		  [605, 325, 635, 355]
		  UpperLimit		  "10000"
		  LowerLimit		  "10"
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum"
		  Ports			  [2, 1]
		  Position		  [280, 145, 310, 175]
		  ShowName		  off
		  IconShape		  "round"
		  Inputs		  "|-+"
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum1"
		  Ports			  [2, 1]
		  Position		  [275, 330, 305, 360]
		  ShowName		  off
		  IconShape		  "round"
		  Inputs		  "|-+"
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum2"
		  Ports			  [3, 1]
		  Position		  [455, 145, 485, 175]
		  ShowName		  off
		  IconShape		  "round"
		  Inputs		  "+|-|+"
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum3"
		  Ports			  [2, 1]
		  Position		  [455, 330, 485, 360]
		  ShowName		  off
		  IconShape		  "round"
		  Inputs		  "|--"
		}
		Block {
		  BlockType		  Constant
		  Name			  "Vdc value for converter AC \noutput"
" of 1 pu for m=1"
		  Position		  [590, 243, 720, 267]
		  Value			  "240*sqrt(2)/(sqrt(3)/2)"
		}
		Block {
		  BlockType		  Reference
		  Name			  "mean Value "
		  Ports			  [1, 1]
		  Position		  [675, 315, 725, 365]
		  SourceBlock		  "powerlib_extras/Discrete\nMeasureme"
"nts/Discrete \nMean value"
		  SourceType		  "Discrete Mean value"
		  ShowPortLabels	  "on"
		  Freq			  "60"
		  Vinit			  "500"
		  Ts			  "Ts"
		}
		Block {
		  BlockType		  Outport
		  Name			  "VdVq"
		  Position		  [825, 248, 855, 262]
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		}
		Line {
		  SrcBlock		  "Sum3"
		  SrcPort		  1
		  Points		  [30, 0; 0, -95]
		  DstBlock		  "Mux"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Vdc"
		  SrcPort		  1
		  DstBlock		  "Saturation"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "mean Value "
		  SrcPort		  1
		  Points		  [5, 0; 0, -65]
		  DstBlock		  "Product"
		  DstPort		  3

⌨️ 快捷键说明

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