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

📄 smeqvec10.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "vs"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [-50, 0]
	  DstBlock		  "Sum1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Gain6"
	  SrcPort		  1
	  DstBlock		  "Integrator2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Gain6"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "vf"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  Points		  [-55, 0]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "rot1"
	  SrcPort		  1
	  DstBlock		  "Dot Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  Points		  [60, 0]
	  Branch {
	    Points		    [0, 130]
	    Branch {
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "ia"
	      DstPort		      1
	    }
	  }
	  Branch {
	    Points		    [0, -70]
	    DstBlock		    "Dot Product"
	    DstPort		    2
	  }
	}
	Line {
	  Name			  "Te"
	  Labels		  [0, 0]
	  SrcBlock		  "Dot Product"
	  SrcPort		  1
	  DstBlock		  "Te"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux2"
	  SrcPort		  1
	  DstBlock		  "Inverse\ninductance"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Inverse\ninductance"
	  SrcPort		  1
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  Name			  "fk"
	  Labels		  [0, 0]
	  SrcBlock		  "Integrator1"
	  SrcPort		  1
	  Points		  [15, 0; 0, -230]
	  DstBlock		  "Mux2"
	  DstPort		  2
	}
	Line {
	  Name			  "ff"
	  Labels		  [0, 0]
	  SrcBlock		  "Integrator2"
	  SrcPort		  1
	  Points		  [35, 0]
	  DstBlock		  "Mux2"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  Points		  [40, 0; 0, 305]
	  DstBlock		  "damper\nreistances"
	  DstPort		  1
	}
	Line {
	  Name			  "if"
	  Labels		  [0, 0]
	  SrcBlock		  "Demux"
	  SrcPort		  3
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "if"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 135]
	    DstBlock		    "Gain1"
	    DstPort		    1
	  }
	}
	Annotation {
	  Name			  "DAMPERS"
	  Position		  [208, 432]
	  ForegroundColor	  "blue"
	  FontName		  "Arial"
	  FontSize		  12
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "ARMATURE"
	  Position		  [208, 156]
	  ForegroundColor	  "blue"
	  FontName		  "Arial"
	  FontSize		  12
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "fa"
	  Position		  [297, 104]
	}
	Annotation {
	  Name			  "ia"
	  Position		  [480, 110]
	}
	Annotation {
	  Name			  "FIELD"
	  Position		  [203, 317]
	  ForegroundColor	  "blue"
	  FontName		  "Arial"
	  FontSize		  12
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "DQ MODEL OF THE SYNCHRONOUS MACHINE"
	  Position		  [320, 531]
	  ForegroundColor	  "red"
	  FontSize		  14
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "Flux bus"
	  Position		  [326, 80]
	}
	Annotation {
	  Name			  "Current bus"
	  Position		  [458, 79]
	}
	Annotation {
	  Name			  "(per unit)"
	  Position		  [320, 554]
	  ForegroundColor	  "magenta"
	  FontName		  "Arial"
	  FontSize		  14
	  FontWeight		  "bold"
	}
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [170, 430, 190, 450]
      NamePlacement	      "alternate"
      ShowName		      off
      IconShape		      "round"
      Inputs		      "-+|"
      Port {
	PortNumber		1
	Name			"slip"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum2"
      Ports		      [3, 1]
      Position		      [605, 365, 625, 385]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "-+-"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum4"
      Ports		      [2, 1]
      Position		      [675, 105, 695, 125]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|++"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Scope
      Name		      "currents"
      Ports		      [1]
      Position		      [800, 238, 830, 282]
      ForegroundColor	      "green"
      NamePlacement	      "alternate"
      Location		      [579, 83, 1098, 254]
      Open		      on
      NumInputPorts	      "1"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"Current amplitude & dq components [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "5"
      YMin		      "-10"
      YMax		      "10"
      SaveName		      "ScopeData2"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "delta"
      Ports		      [1]
      Position		      [530, 431, 565, 479]
      ForegroundColor	      "green"
      NamePlacement	      "alternate"
      Location		      [553, 558, 1107, 819]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"Torque angle [o]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "5"
      YMin		      "-200"
      YMax		      "50"
      SaveName		      "ScopeData4"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "if"
      Ports		      [1]
      Position		      [545, 303, 575, 347]
      ForegroundColor	      "green"
      NamePlacement	      "alternate"
      Location		      [47, 76, 563, 280]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"Field current [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "5"
      YMin		      "0"
      YMax		      "6"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      SubSystem
      Name		      "info"
      Ports		      []
      Position		      [411, 669, 522, 771]
      ForegroundColor	      "darkGreen"
      DropShadow	      on
      ShowName		      off
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('INFO')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"info"
	Location		[471, 704, 1089, 809]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"97"
	Annotation {
	  Name			  "The synchronous machine is operating at a l"
"oading condition previously established by running the model file \n<smeqvec9"
".mdl>. The machine is now experiencing  a three-phase short circuit at the te"
"rminals of specified\nduration before being cleared. The ensuing transients a"
"re observed on several scopes.\n"
	  Position		  [10, 45]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  FontName		  "Arial"
	  FontSize		  12
	}
	Annotation {
	  Name			  "SYNCHRONOUS MACHINE  "
	  Position		  [305, 15]
	  ForegroundColor	  "red"
	  FontSize		  12
	  FontWeight		  "bold"
	  FontAngle		  "italic"
	}
	Annotation {
	  Name			  "SHORT CIRCUIT AT TERMINAL"
	  Position		  [300, 32]
	  ForegroundColor	  "blue"
	  FontName		  "Arial"
	  FontSize		  11
	  FontWeight		  "bold"
	}
      }
    }
    Block {
      BlockType		      Fcn
      Name		      "mag"
      Position		      [545, 40, 605, 70]
      Orientation	      "left"
      Expr		      "sqrt(u(1)^2+u(2)^2)"
      Port {
	PortNumber		1
	Name			"vL"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "phasors1"
      Ports		      []
      Position		      [838, 671, 947, 771]
      ForegroundColor	      "red"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "clear,clc,close all\nsmeqvec9           "
      FontName		      "Arial"
      FontSize		      12
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('RELOAD')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"phasors1"
	Location		[83, 506, 530, 694]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "plots"
      Ports		      []
      Position		      [618, 673, 727, 769]
      ForegroundColor	      "blue"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "close all,figure(1),plot(t,d,'-b'),grid,title('"
"DELTA  versus TIME'),                                                        "
"  \nfigure(2),plot(d,wm,'-r'),grid,title('SPEED versus ANGLE'),figure(3),plot"
"(t,iff,'-g'),grid,title('FIELD CURRENT versus TIME'),\nfigure(4),plot(t,ia,'-"
"r'),grid,title('STATOR CURRENT MAGNITUDE versus TIME'),                      "
"                           \n                                                "
"                                                                             "
" \n                                                                          "
"                                                    \n                       "
"                                                                             "
"                          "
      FontName		      "Arial"
      FontSize		      12
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('TRANSIENTS')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"plots"
	Location		[83, 506, 530, 694]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      Gain
      Name		      "r2d"
      Position		      [405, 424, 455, 456]
      Gain		      "180/pi"
    }
    Block {
      BlockType		      Gain
      Name		      "rot1"
      Position		      [825, 60, 855, 90]
      ShowName		      off
      Gain		      "[0 -1;1 0]"
      Multiplication	      "Matrix(K*u)"
    }
    Block {
      BlockType		      Gain
      Name		      "rot2"
      Position		      [625, 145, 655, 175]
      ShowName		      off
      Gain		      "[Rline -Lline;Lline Rline]"
      Multiplication	      "Matrix(K*u)"
    }
    Block {
      BlockType		      Scope
      Name		      "torques"
      Ports		      [1]
      Position		      [880, 426, 915, 474]
      ForegroundColor	      "green"
      NamePlacement	      "alternate"
      Location		      [574, 538, 1102, 701]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"Torques [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""

⌨️ 快捷键说明

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