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

📄 m5_8_4.mdl

📁 电力电子仿真程序电力电子仿电力电子仿真程序真程序
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      Port {
	PortNumber		2
	Name			"Mosfet1端电压"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Demux
      Name		      "Demux1"
      Ports		      [1, 2]
      Position		      [495, 326, 500, 364]
      BackgroundColor	      "black"
      ShowName		      off
      Outputs		      "2"
      Port {
	PortNumber		1
	Name			"流过Mosfet2的电流"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      Port {
	PortNumber		2
	Name			"Mosfet2的端电压"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Diode"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [520, 150, 575, 190]
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Power\nElectronics/Diode"
      SourceType	      "Diode"
      Ron		      "0.001"
      Lon		      "0"
      Vf		      "0.8"
      IC		      "0"
      Rs		      "500"
      Cs		      "250e-9"
      Measurements	      off
    }
    Block {
      BlockType		      Reference
      Name		      "Diode1"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [520, 245, 575, 285]
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Power\nElectronics/Diode"
      SourceType	      "Diode"
      Ron		      "0.001"
      Lon		      "0"
      Vf		      "0.8"
      IC		      "0"
      Rs		      "500"
      Cs		      "250e-9"
      Measurements	      off
    }
    Block {
      BlockType		      Reference
      Name		      "L"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [620, 90, 655, 110]
      Orientation	      "left"
      SourceBlock	      "powerlib/Elements/Series RLC Branch"
      SourceType	      "Series RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      PortType		      "p1"
      LConnTagsString	      "__new0"
      RConnTagsString	      "__new0"
      Resistance	      "0"
      Inductance	      "200e-3"
      Capacitance	      "inf"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Linear \nTransformer"
      Ports		      [0, 0, 0, 0, 0, 2, 4]
      Position		      [420, 195, 480, 275]
      NamePlacement	      "alternate"
      SourceBlock	      "powerlib/Elements/Linear Transformer"
      SourceType	      "Linear Transformer"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      PortType		      "p1"
      LConnTagsString	      "a|b"
      RConnTagsString	      "A|B|C|D"
      NominalPower	      "[100 50] "
      winding1		      "[100 0.03 0.02]"
      winding2		      "[80 0.03 0.02]"
      ThreeWindings	      on
      winding3		      "[80 0.03 0.02]"
      RmLm		      "[25 25]"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Mosfet1"
      Ports		      [1, 1, 0, 0, 0, 1, 1]
      Position		      [335, 145, 390, 185]
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Power\nElectronics/Mosfet"
      SourceType	      "Mosfet"
      Ron		      "0.001"
      Lon		      "1e-6"
      Rd		      "0.001"
      IC		      "0"
      Rs		      "1e5"
      Cs		      "inf"
      Measurements	      on
    }
    Block {
      BlockType		      Reference
      Name		      "Mosfet2"
      Ports		      [1, 1, 0, 0, 0, 1, 1]
      Position		      [335, 265, 390, 305]
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Power\nElectronics/Mosfet"
      SourceType	      "Mosfet"
      Ron		      "0.001"
      Lon		      "1e-6"
      Rd		      ".001"
      IC		      "0"
      Rs		      "1e5"
      Cs		      "inf"
      Measurements	      on
    }
    Block {
      BlockType		      DiscretePulseGenerator
      Name		      "Pulse1\nGenerator"
      Position		      [225, 58, 270, 92]
      PulseType		      "Time based"
      Period		      "0.02"
      PulseWidth	      "50"
    }
    Block {
      BlockType		      DiscretePulseGenerator
      Name		      "Pulse2\nGenerator1"
      Position		      [235, 348, 280, 382]
      PulseType		      "Time based"
      Period		      "0.02"
      PulseWidth	      "50"
      PhaseDelay	      "0.01"
    }
    Block {
      BlockType		      Reference
      Name		      "R"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [647, 195, 663, 235]
      Orientation	      "down"
      NamePlacement	      "alternate"
      SourceBlock	      "powerlib/Elements/Series RLC Branch"
      SourceType	      "Series RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      PortType		      "p1"
      LConnTagsString	      "__new0"
      RConnTagsString	      "__new0"
      Resistance	      "100"
      Inductance	      "0"
      Capacitance	      "inf"
      Measurements	      "None"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [6]
      Position		      [800, 51, 840, 219]
      BackgroundColor	      "[0.000000, 1.000000, 0.000000]"
      Location		      [185, 105, 611, 623]
      Open		      off
      NumInputPorts	      "6"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
	axes5			"%<SignalLabel>"
	axes6			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
	axes3			""
	axes4			""
	axes5			""
	axes6			""
      }
      YMin		      "-0.3~-50~0.34~36~-1~-50"
      YMax		      "1~150~0.38~36.5~1~150"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Reference
      Name		      "Series RLC \nBranch1"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [242, 275, 258, 315]
      Orientation	      "down"
      NamePlacement	      "alternate"
      ShowName		      off
      SourceBlock	      "powerlib/Elements/Series RLC Branch"
      SourceType	      "Series RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      PortType		      "p1"
      LConnTagsString	      "__new0"
      RConnTagsString	      "__new0"
      Resistance	      "0"
      Inductance	      "0"
      Capacitance	      "470e-6"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Universal Bridge"
      Ports		      [0, 0, 0, 0, 0, 2, 2]
      Position		      [160, 182, 215, 258]
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Power\nElectronics/Universal Bridge"
      SourceType	      "Universal Bridge"
      Arms		      "2"
      SnubberResistance	      "1e5"
      SnubberCapacitance      "inf"
      Device		      "Diodes"
      Ron		      "1e-3"
      Lon		      "0"
      ForwardVoltages	      "[  0  0  ]"
      ForwardVoltage	      "0"
      GTOparameters	      "[ 10e-6 , 20e-6 ]"
      IGBTparameters	      "[ 1e-6 , 2e-6 ]"
      Measurements	      "None"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Voltage\n Measurement"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [0, 1, 0, 0, 0, 2]
      Position		      [700, 193, 725, 217]
      AttributesFormatString  "\\n"
      AncestorBlock	      "powerlib/Measurements/Voltage Measurement"
      CopyFcn		      "powericon('psbloadfunction',gcbh,'Measurement B"
"lock','VerifyPhasor');"
      LoadFcn		      "powericon('psbloadfunction',gcbh,'Measurement B"
"lock','');"
      PreSaveFcn	      "powericon('psbloadfunction',gcbh,'ModelCloseFcn"
"','');"
      InitFcn		      "powericon('psbloadfunction',gcbh,'InitFcnOfSPSB"
"locks','Measurement Block');"
      CloseFcn		      "powericon('psbloadfunction',gcbh,'CloseFcn','')"
";"
      TreatAsAtomicUnit	      off
      MaskType		      "Voltage Measurement"
      MaskDescription	      "Ideal voltage measurement."
      MaskHelp		      "web(psbhelp);"
      MaskPromptString	      "Phasor simulation|Output signal :|Equivalent ci"
"rcuit"
      MaskStyleString	      "checkbox,popup(Complex|Real-Imag|Magnitude-Angl"
"e|Magnitude),edit"
      MaskTunableValueString  "on,on,on"
      MaskCallbackString      "||"
      MaskEnableString	      "off,off,off"
      MaskVisibilityString    "off,on,off"
      MaskToolTipString	      "on,on,on"
      MaskVarAliasString      ",,"
      MaskVariables	      "PhasorSimulation=@1;OutputType=@2;PSBequivalent"
"=@3;"
      MaskInitialization      "switch OutputType\ncase 1\n    OutputSelection "
"= 1;\n    NormalMode = 2;\n    PhasorMode = 1;\ncase 2\n    OutputSelection ="
"[2,3];\n    NormalMode = 3;\n    PhasorMode = [1,2];\ncase 3\n    OutputSelec"
"tion =[4,5];\n    NormalMode = 3;\n    PhasorMode = [1,2];\ncase 4\n    Outpu"
"tSelection =[4];\n    NormalMode = 2;\n    PhasorMode = 1;\nend\n%\nif Phasor"
"Simulation\n    SelectionMode = PhasorMode;\nelse\n    SelectionMode = Normal"
"Mode;\nend\n"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "port"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "off|Magnitude|0"
      Port {
	PortNumber		1
	Name			"负载电压"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      System {
	Name			"Voltage\n Measurement"
	Location		[206, 474, 665, 687]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1]
	  Position		  [275, 121, 280, 179]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Phasor Measurements"
	  Ports			  [1, 1, 1]
	  Position		  [145, 123, 250, 147]
	  BackgroundColor	  "green"
	  TreatAsAtomicUnit	  on
	  System {
	    Name		    "Phasor Measurements"
	    Location		    [255, 525, 861, 796]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "measure"
	      Position		      [70, 28, 100, 42]
	    }
	    Block {
	      BlockType		      EnablePort
	      Name		      "Enable"
	      Ports		      []
	      Position		      [20, 15, 40, 35]
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "180/pi"
	      Position		      [225, 105, 245, 125]
	      Gain		      "180/pi"
	    }
	    Block {
	      BlockType		      ComplexToMagnitudeAngle
	      Name		      "Complex to\nMagnitude-Angle"
	      Ports		      [1, 2]
	      Position		      [140, 85, 195, 125]
	      ShowName		      off
	      Output		      "Magnitude and angle"
	    }
	    Block {
	      BlockType		      ComplexToRealImag
	      Name		      "Complex to\nReal-Imag"
	      Ports		      [1, 2]
	      Position		      [140, 45, 195, 85]
	      ShowName		      off
	      Output		      "Real and imag"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux2"
	      Ports		      [5, 1]
	      Position		      [275, 23, 280, 127]
	      ShowName		      off
	      Inputs		      "5"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector"
	      Ports		      [1, 1]
	      Position		      [315, 51, 350, 99]
	      Elements		      "OutputSelection"
	      InputPortWidth	      "5"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "options"
	      Position		      [380, 68, 410, 82]
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "Mux2"
	      SrcPort		      1
	      DstBlock		      "Selector"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "measure"
	      SrcPort		      1
	      Points		      [0, 0; 5, 0]
	      Branch {
		Points			[0, 30]
		Branch {
		  Points		  [0, 40]
		  DstBlock		  "Complex to\nMagnitude-Angle"
		  DstPort		  1
		}
		Branch {
		  DstBlock		  "Complex to\nReal-Imag"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Mux2"
		DstPort			1
	      }
	    }

⌨️ 快捷键说明

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