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

📄 proj2_02_report_version.mdl

📁 2电平SV调制逆变器离散模型
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Gain
      Name		      "Gain1"
      Position		      [385, 210, 415, 240]
      ShowName		      off
      Gain		      "1/4160"
      Port {
	PortNumber		1
	Name			"vAB(pu)"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Gain
      Name		      "Gain2"
      Position		      [385, 250, 415, 280]
      ShowName		      off
      Gain		      "1/139"
      Port {
	PortNumber		1
	Name			"iA(pu)"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Ground (input)"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [1]
      Position		      [465, 165, 495, 195]
      Orientation	      "down"
      ShowName		      off
      SourceBlock	      "powerlib2/Connectors/Ground (input)"
      SourceType	      "Ground"
    }
    Block {
      BlockType		      Reference
      Name		      "Ground (output)"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [0, 1]
      Position		      [246, 190, 274, 215]
      Orientation	      "up"
      ShowName		      off
      SourceBlock	      "powerlib2/Connectors/Ground (output)"
      SourceType	      "Ground"
      PSBOutputType	      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Load "
      Ports		      [3, 3]
      Position		      [385, 80, 455, 160]
      NamePlacement	      "alternate"
      SourceBlock	      "powerlib2/Elements/3-Phase\nSeries RLC Branch "
      SourceType	      "3-phase RLC series element"
      R			      "15.58"
      L			      "20e-3"
      C			      "inf"
    }
    Block {
      BlockType		      Reference
      Name		      "Neutral (output)"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [0, 1]
      Position		      [41, 140, 79, 175]
      Orientation	      "up"
      ShowName		      off
      SourceBlock	      "powerlib2/Connectors/Neutral (output)"
      SourceType	      "Neutral"
      no		      "1"
      PSBOutputType	      "1"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [2]
      Position		      [540, 306, 585, 364]
      ShowName		      off
      Location		      [538, 111, 963, 705]
      Open		      on
      NumInputPorts	      "2"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
      }
      TimeRange		      "0.05"
      YMin		      "-6000~-150"
      YMax		      "6000~150"
      SaveToWorkspace	      on
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope3"
      Ports		      [4]
      Position		      [530, 214, 575, 271]
      ShowName		      off
      Location		      [5, 53, 1029, 743]
      Open		      on
      NumInputPorts	      "4"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"vAO(pu)"
	axes4			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
	axes3			""
	axes4			""
      }
      TimeRange		      "0.05"
      YMin		      "1~-1.5~-2~-1.5"
      YMax		      "6~1.5~2~1.5"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem:\nGateSignals"
      Ports		      [0, 2]
      Position		      [93, 205, 157, 285]
      Orientation	      "up"
      DropShadow	      on
      NamePlacement	      "alternate"
      TreatAsAtomicUnit	      off
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      Port {
	PortNumber		2
	Name			"Sector #"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      System {
	Name			"Subsystem:\nGateSignals"
	Location		[21, 74, 1021, 724]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  DigitalClock
	  Name			  "Clock"
	  Position		  [40, 221, 75, 239]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  SampleTime		  "Ts"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [40, 262, 75, 278]
	  ShowName		  off
	  Value			  "360"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant3"
	  Position		  [40, 241, 75, 259]
	  ShowName		  off
	  Value			  "F1"
	}
	Block {
	  BlockType		  DataStoreMemory
	  Name			  "Data Store\nMemory"
	  Position		  [335, 200, 367, 230]
	  DataStoreName		  "t"
	  InitialValue		  "[0, 0, 0,1]"
	  RTWStateStorageClass	  "Auto"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  DataStoreRead
	  Name			  "Data Store\nRead"
	  Position		  [335, 135, 365, 165]
	  DataStoreName		  "t"
	  SampleTime		  "Ts"
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux"
	  Ports			  [1, 4]
	  Position		  [395, 121, 400, 174]
	  BackgroundColor	  "black"
	  ShowName		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Repeating\nSequence"
	  Ports			  [0, 1]
	  Position		  [55, 121, 80, 149]
	  SourceBlock		  "simulink/Sources/Repeating\nSequence"
	  SourceType		  "Repeating table"
	  rep_seq_t		  "[0 Ts_i/2 Ts_i/2 Ts_i]"
	  rep_seq_y		  "[1 1 -1 -1]"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem:\nDwelling time\nand sector #"
	  Ports			  [1, 0, 0, 1]
	  Position		  [250, 172, 295, 208]
	  DropShadow		  on
	  TreatAsAtomicUnit	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Subsystem:\nDwelling time\nand sector #"
	    Location		    [221, 74, 1021, 724]
	    Open		    off
	    ModelBrowserVisibility  on
	    ModelBrowserWidth	    212
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Ref_Q"
	      Position		      [145, 323, 175, 337]
	    }
	    Block {
	      BlockType		      TriggerPort
	      Name		      "Trigger"
	      Ports		      []
	      Position		      [165, 220, 185, 240]
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux1"
	      Ports		      [4, 1]
	      Position		      [455, 281, 460, 334]
	      ShowName		      off
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux2"
	      Ports		      [2, 1]
	      Position		      [193, 270, 242, 275]
	      Orientation	      "up"
	      ShowName		      off
	      Inputs		      "2"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux8"
	      Ports		      [2, 1]
	      Position		      [315, 300, 350, 305]
	      Orientation	      "down"
	      NamePlacement	      "alternate"
	      ShowName		      off
	      Inputs		      "2"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      DataStoreWrite
	      Name		      "Save_data"
	      Position		      [480, 295, 510, 325]
	      DataStoreName	      "t"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "T0"
	      Position		      [355, 304, 430, 326]
	      NamePlacement	      "alternate"
	      ShowName		      off
	      Expr		      "Ts_i-u[1]-u[2]"
	      Port {
		PortNumber		1
		Name			"T0"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "floor(u/60)+1"
	      Position		      [220, 320, 240, 340]
	      Expr		      "floor(u/60)+1"
	      Port {
		PortNumber		1
		Name			"sect#"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "ma*Ts_i*sin(pi/3-u)"
	      Position		      [360, 200, 385, 220]
	      Expr		      "ma*Ts_i*sin(pi/3-u)"
	      Port {
		PortNumber		1
		Name			"Ta"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "ma*Ts_i*sin(u)"
	      Position		      [335, 240, 360, 260]
	      Expr		      "ma*Ts_i*sin(u)"
	      Port {
		PortNumber		1
		Name			"Tb"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "theta_updt\nu[1]-(u[2]-1)*pi/3"
	      Position		      [260, 199, 285, 221]
	      Expr		      "(u[1]-(u[2]-1)*60)*pi/180"
	    }
	    Line {
	      Name		      "Ta"
	      Labels		      [0, 0]
	      SrcBlock		      "ma*Ts_i*sin(pi/3-u)"
	      SrcPort		      1
	      Points		      [45, 0; 0, 75]
	      Branch {
		DstBlock		"Mux1"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Mux8"
		DstPort			2
	      }
	    }
	    Line {
	      Name		      "Tb"
	      SrcBlock		      "ma*Ts_i*sin(u)"
	      SrcPort		      1
	      Points		      [35, 0; 0, 25]
	      Branch {
		Labels			[2, 0]
		Points			[0, 25]
		DstBlock		"Mux1"
		DstPort			2
	      }
	      Branch {
		Points			[-75, 0]
		DstBlock		"Mux8"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Mux1"
	      SrcPort		      1
	      DstBlock		      "Save_data"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux2"
	      SrcPort		      1
	      Points		      [0, -55]
	      DstBlock		      "theta_updt\nu[1]-(u[2]-1)*pi/3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "theta_updt\nu[1]-(u[2]-1)*pi/3"
	      SrcPort		      1
	      Points		      [20, 0]
	      Branch {
		Labels			[1, 0]
		DstBlock		"ma*Ts_i*sin(pi/3-u)"
		DstPort			1
	      }
	      Branch {
		Points			[0, 40]
		DstBlock		"ma*Ts_i*sin(u)"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Ref_Q"
	      SrcPort		      1
	      Points		      [25, 0]
	      Branch {
		DstBlock		"floor(u/60)+1"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Mux2"
		DstPort			1
	      }
	    }
	    Line {
	      Name		      "sect#"
	      Labels		      [0, 0]
	      SrcBlock		      "floor(u/60)+1"
	      SrcPort		      1
	      Points		      [5, 0]
	      Branch {
		Labels			[1, 1]
		Points			[0, -40]
		DstBlock		"Mux2"
		DstPort			2
	      }
	      Branch {
		DstBlock		"Mux1"
		DstPort			4
	      }
	    }
	    Line {
	      Labels		      [0, 0]
	      SrcBlock		      "Mux8"
	      SrcPort		      1
	      Points		      [0, 5]
	      DstBlock		      "T0"
	      DstPort		      1
	    }
	    Line {
	      Name		      "T0"
	      Labels		      [1, 0]
	      SrcBlock		      "T0"
	      SrcPort		      1
	      DstBlock		      "Mux1"
	      DstPort		      3
	    }
	    Annotation {
	      Name		      "Subsystem: Dwelling time and sector #"
	      Position		      [323, 172]
	      FontName		      "Arial Black"
	      FontSize		      13
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem:\nGating pattern"
	  Ports			  [4, 1]
	  Position		  [445, 116, 485, 179]
	  DropShadow		  on
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "Subsystem:\nGating pattern"
	    Location		    [2, 74, 1014, 724]
	    Open		    on
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Ta"
	      Position		      [40, 253, 70, 267]
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Tb"
	      Position		      [40, 288, 70, 302]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "T0"
	      Position		      [40, 348, 70, 362]
	      Port		      "3"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Sect #"
	      Position		      [40, 198, 70, 212]
	      Port		      "4"
	    }
	    Block {
	      BlockType		      Logic
	      Name		      "    1"
	      Ports		      [1, 1]
	      Position		      [425, 510, 455, 530]
	      ShowName		      off
	      Operator		      "NOT"
	      Inputs		      "1"
	      ShowAdditionalParam     on
	      AllPortsSameDT	      off
	      OutDataTypeMode	      "Boolean"
	    }
	    Block {
	      BlockType		      Logic
	      Name		      "    2"
	      Ports		      [1, 1]
	      Position		      [425, 550, 455, 570]
	      ShowName		      off
	      Operator		      "NOT"
	      Inputs		      "1"
	      ShowAdditionalParam     on
	      AllPortsSameDT	      off
	      OutDataTypeMode	      "Boolean"
	    }
	    Block {
	      BlockType		      Logic
	      Name		      "    3"
	      Ports		      [1, 1]
	      Position		      [430, 590, 460, 610]
	      ShowName		      off
	      Operator		      "NOT"
	      Inputs		      "1"
	      ShowAdditionalParam     on
	      AllPortsSameDT	      off
	      OutDataTypeMode	      "Boolean"

⌨️ 快捷键说明

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