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

📄 suddenlyshorcircuitt22.mdl

📁 三相同步电机突然短路 simulink仿真程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    }
	  }
	}
	Block {
	  BlockType		  PMComponent
	  Name			  "SM"
	  Ports			  [0, 0, 0, 0, 0, 1, 2]
	  Position		  [130, 32, 200, 123]
	  ForegroundColor	  "blue"
	  BackgroundColor	  "yellow"
	  PhysicalDomain	  "powersysdomain"
	  LeftPortType		  "p1"
	  RightPortType		  "p1"
	  LConnTagsString	  "__newl0"
	  RConnTagsString	  "B|C"
	  MaskType		  "InnerPowersysBlock"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	}
	Block {
	  BlockType		  Reference
	  Name			  "SM_mechanics"
	  Ports			  [2, 3]
	  Position		  [130, 322, 200, 418]
	  Orientation		  "left"
	  BackgroundColor	  "green"
	  SourceBlock		  "powerlib_models/Continuous/SM_mechanics"
	  SourceType		  ""
	  ShowPortLabels	  on
	}
	Block {
	  BlockType		  Reference
	  Name			  "Source"
	  Ports			  [4, 3]
	  Position		  [130, 155, 200, 290]
	  BackgroundColor	  "cyan"
	  SourceBlock		  "powerlib_models/Continuous/synchronous_mach"
"ine"
	  SourceType		  "SubSystem"
	  ShowPortLabels	  on
	}
	Block {
	  BlockType		  PMIOPort
	  Name			  "A"
	  Position		  [65, 70, 95, 90]
	  BackgroundColor	  "yellow"
	  NamePlacement		  "alternate"
	  FontWeight		  "bold"
	  Port			  "1"
	  Side			  "Right"
	}
	Block {
	  BlockType		  PMIOPort
	  Name			  "B"
	  Position		  [235, 48, 265, 62]
	  Orientation		  "left"
	  BackgroundColor	  "yellow"
	  FontWeight		  "bold"
	  Port			  "2"
	  Side			  "Right"
	}
	Block {
	  BlockType		  PMIOPort
	  Name			  "C"
	  Position		  [240, 92, 265, 108]
	  Orientation		  "left"
	  BackgroundColor	  "yellow"
	  FontWeight		  "bold"
	  Port			  "3"
	  Side			  "Right"
	}
	Block {
	  BlockType		  Outport
	  Name			  "m"
	  Position		  [380, 290, 400, 310]
	  ForegroundColor	  "blue"
	  BackgroundColor	  "cyan"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Pm"
	  SrcPort		  1
	  DstBlock		  "SM_mechanics"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "SM_mechanics"
	  SrcPort		  3
	  Points		  [-20, 0; 0, -125]
	  DstBlock		  "Source"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "SM_mechanics"
	  SrcPort		  2
	  Points		  [-35, 0; 0, -130]
	  DstBlock		  "Source"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Source"
	  SrcPort		  2
	  Points		  [40, 0; 0, 70]
	  DstBlock		  "Measurement list"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "SM_mechanics"
	  SrcPort		  1
	  Points		  [0, -35]
	  DstBlock		  "Measurement list"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Measurement list"
	  SrcPort		  1
	  DstBlock		  "m"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Vf_"
	  SrcPort		  1
	  DstBlock		  "Source"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Source"
	  SrcPort		  3
	  Points		  [20, 0; 0, 75]
	  DstBlock		  "SM_mechanics"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "From"
	  SrcPort		  1
	  DstBlock		  "Source"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Source"
	  SrcPort		  1
	  DstBlock		  "Goto"
	  DstPort		  1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "SM"
	  SrcPort		  RConn1
	  Points		  [0, 0]
	  DstBlock		  "B"
	  DstPort		  RConn1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "SM"
	  SrcPort		  LConn1
	  Points		  [0, 0]
	  DstBlock		  "A"
	  DstPort		  RConn1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "SM"
	  SrcPort		  RConn2
	  Points		  [0, 0]
	  DstBlock		  "C"
	  DstPort		  RConn1
	}
      }
    }
    Block {
      BlockType		      Terminator
      Name		      "Terminator"
      Position		      [970, 90, 990, 110]
    }
    Block {
      BlockType		      Terminator
      Name		      "Terminator1"
      Position		      [880, 165, 900, 185]
    }
    Block {
      BlockType		      Reference
      Name		      "Three-Phase\nSeries RLC Load"
      Ports		      [0, 0, 0, 0, 0, 3]
      Position		      [287, 390, 343, 455]
      Orientation	      "down"
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Elements/Three-Phase\nSeries RLC Load"
      SourceType	      "Three-Phase Series RLC Load"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "A|B|C"
      Configuration	      "Y (grounded)"
      NominalVoltage	      "440*sqrt(3)"
      NominalFrequency	      "50"
      ActivePower	      "10e3"
      InductivePower	      "0"
      CapacitivePower	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Three-Phase Fault"
      Ports		      [1, 0, 0, 0, 0, 3]
      Position		      [225, 512, 265, 573]
      SourceBlock	      "powerlib/Elements/Three-Phase Fault"
      SourceType	      "Three-Phase Fault"
      ShowPortLabels	      on
      FaultA		      on
      FaultB		      off
      FaultC		      off
      FaultResistance	      "0.001"
      GroundFault	      on
      GroundResistance	      "0.001"
      External		      on
      SwitchStatus	      "[1 0]"
      SwitchTimes	      "[ 1/60 5/60]"
      InitialStates	      "[0 0 0]"
      SnubberResistance	      "1e6"
      SnubberCapacitance      "inf"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Three-Phase Source"
      Ports		      [0, 0, 0, 0, 0, 1, 3]
      Position		      [545, 256, 630, 314]
      Orientation	      "left"
      SourceBlock	      "powerlib/Electrical\nSources/Three-Phase Source"
      SourceType	      "Three-Phase Source"
      ShowPortLabels	      on
      Voltage		      "440*sqrt(3)"
      PhaseAngle	      "0"
      Frequency		      "50"
      InternalConnection      "Yn"
      SpecifyImpedance	      on
      Resistance	      "0.8929"
      Inductance	      "16.58e-3"
      ShortCircuitLevel	      "10e6"
      BaseVoltage	      "440*sqrt(3)"
      XRratio		      "7"
    }
    Block {
      BlockType		      Reference
      Name		      "Timerinput"
      Ports		      [0, 1]
      Position		      [45, 456, 130, 514]
      SourceBlock	      "powerlib_extras/Control \nBlocks/Timer"
      SourceType	      "Timer"
      ShowPortLabels	      on
      t			      "[8 8.5 ]"
      e			      "[100 0 ]"
    }
    Block {
      BlockType		      Reference
      Name		      "Voltage Measurement"
      Ports		      [0, 1, 0, 0, 0, 2]
      Position		      [445, 123, 470, 147]
      SourceBlock	      "powerlib/Measurements/Voltage Measurement"
      SourceType	      "Voltage Measurement"
      ShowPortLabels	      on
      PhasorSimulation	      off
      OutputType	      "Complex"
      PSBequivalent	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "dq0_to_abc\nTransformation"
      Ports		      [2, 1]
      Position		      [1030, 149, 1095, 211]
      SourceBlock	      "powerlib_extras/Measurements/dq0_to_abc\nTransf"
"ormation"
      SourceType	      "dq0 to abc Transformation"
      ShowPortLabels	      on
    }
    Block {
      BlockType		      SubSystem
      Name		      "powergui"
      Ports		      []
      Position		      [15, 15, 75, 39]
      AncestorBlock	      "powerlib/powergui"
      CopyFcn		      "powergui('Copy_Callback',gcb,0,[]);"
      DeleteFcn		      "powergui('Copy_Callback',gcb,1,[]);powergui('Cl"
"ose_Callback',gcb,[],[]);\n                                                  "
"                      "
      ModelCloseFcn	      "powergui('Close_Callback',gcb,[],[]);"
      PreSaveFcn	      "try                              \nclose(get_pa"
"ram(gcbh,'userdata'))\nend                              "
      NameChangeFcn	      "handles = get_param(gcb,'UserData');if ~isempty"
"(handles);delete(handles.powergui);end"
      OpenFcn		      "if (power_openblockproxy ('secondary'))\npowerg"
"ui(gcb,'PM')\nend;"
      FontSize		      11
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      MaskType		      "PSB option menu block"
      MaskHelp		      "web(psbhelp)"
      MaskPromptString	      "General parameter: Simulation Mode |General par"
"ameter: Sample Time|General parameter: Echo  Messages|Initial electrical stat"
"es status|Impedance tool: Frequency Range|Impedance tool: Log impedance|Imped"
"ance tool: log Frequency|Impedance tool: grid|Impedance tool: Save Data To Wo"
"rkspace|Impedance tool: Variable Name|Structure Name (PSBFFTSCOPE)|ZoomFFT (P"
"SBFFTSCOPE)|Start Time (PSBFFTSCOPE)|Cycles (PSBFFTSCOPE)|Display style (PSBF"
"FTSCOPE)|Fundamental (PSBFFTSCOPE)|Frequency Axis (PSBFFTSCOPE)|Max Frequency"
" (PSBFFTSCOPE)|Frequency indice  (PSBLOADFLOW)|Frequency indice (STEADYSTATE)"
"|RMS display (STEADYSTATE)|Display Results|Sample time (s):  |General paramet"
"er: phasor frequency|Phasor simulation"
      MaskStyleString	      "popup(Continuous|Discrete|Phasor),edit,checkbox"
",popup(blocks|steady|zero),edit,checkbox,checkbox,checkbox,checkbox,edit,edit"
",checkbox,edit,edit,edit,edit,checkbox,edit,edit,edit,edit,checkbox,edit,edit"
",checkbox"
      MaskTunableValueString  "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on"
      MaskCallbackString      "||||||||||||||||||||||||"
      MaskEnableString	      "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,off,off,off,off,off,off,off,off,off"
",off,off,off,off,off,off,off,off,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on"
      MaskVarAliasString      ",,,,,,,,,,,,,,,,,,,,,,,,"
      MaskVariables	      "SimulationMode=@1;SampleTime=@2;echomessages=@3"
";x0status=@4;Frange=@5;Ylog=@6;Xlog=@7;ShowGrid=@8;save=@9;variable=&10;struc"
"ture=&11;ZoomFFT=@12;StartTime=@13;cycles=@14;DisplayStyle=&15;fundamental=@1"
"6;FreqAxis=@17;MaxFrequency=@18;frequencyindice=@19;frequencyindicesteady=@20"
";RmsSteady=@21;display=@22;Ts=@23;frequency=@24;methode=@25;"
      MaskInitialization      "powerlibroot = which('powersysdomain');\nPSBroo"
"t = powerlibroot(1:end-16);\n%\nswitch SimulationMode\n	case 1\n"
"		message=sprintf('Continuous');\n	case 2\n        messa"
"ge=sprintf('Discrete,\\nTs = %.4g s.',SampleTime);\n	case 3\n	"
"	message=sprintf('Phasors');\nend\nif strcmp(bdroot,'powerlib')\n  mes"
"sage='powergui';\nend\npower_initmask();"
      MaskDisplay	      "disp(message)"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "Continuous|0|off|blocks|[0:2:500]|off|on|off|of"
"f|ZData||on|0.0|1|1|60|off|1000|1|50|1|off|0|50|off"
      MaskTabNameString	      ",,,,,,,,,,,,,,,,,,,,,,,,"
      System {
	Name			"powergui"
	Location		[137, 405, 682, 583]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  SubSystem
	  Name			  "EquivalentModel1"
	  Ports			  []
	  Position		  [15, 70, 143, 105]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskHideContents	  off
	  MaskInitialization	  "SPS = get_param(gcbh,'UserData');\nif isemp"
"ty(SPS)\n    A=0;\n    B=0;\n    C=0;\n    D=0;\n    x0=0;\n    SwitchResista"
"nce=1;\n    SwitchType=1;\n    SwitchGateInitialValue=1;\n    OutputsToResetT"
"oZero=1;\nelse\n	A=SPS.A;\n    B=SPS.B;\n    C=SPS.C;\n    D=SPS.D;\n "
"   x0=SPS.x0;\n    SwitchResistance=SPS.SwitchResistance;\n    SwitchType=SPS"
".SwitchType;\n    SwitchGateInitialValue=SPS.SwitchGateInitialValue;\n    Out"
"putsToResetToZero=SPS.YSwitchCurrent;\nend"
	  MaskDisplay		  "color('blue')\ndisp('EQUIVALENT CIRCUIT')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "EquivalentModel1"
	    Location		    [279, 434, 958, 675]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      SubSystem
	      Name		      "Gates"
	      Ports		      [0, 1]
	      Position		      [15, 112, 80, 138]
	      FontName		      "Arial"
	      FontSize		      14
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      MaskHideContents	      off
	      System {
		Name			"Gates"
		Location		[20, 127, 741, 886]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  From
		  Name			  "From1"
		  Position		  [15, 21, 85, 49]
		  GotoTag		  "tp294281"
		}
		Block {
		  BlockType		  From
		  Name			  "From2"
		  Position	

⌨️ 快捷键说明

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