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

📄 circuitbreaker_2.mdl

📁 PLLmatlab for simulink
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	  Port {
	    PortNumber		    2
	    Name		    "Vsw"
	    PropagatedSignals	    "Vak"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  Math
	  Name			  "I^2"
	  Ports			  [1, 1]
	  Position		  [665, 90, 695, 120]
	  Orientation		  "up"
	  Operator		  "square"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Ideal Switch"
	  Ports			  [1, 1, 0, 0, 0, 1, 1]
	  Position		  [355, 184, 415, 286]
	  AttributesFormatString  "\\n"
	  SourceBlock		  "powerlib/Power\nElectronics/Ideal Switch"
	  SourceType		  "Ideal Switch"
	  Ron			  "0.0001"
	  Lon			  "0"
	  IC			  "1"
	  Rs			  "0"
	  Cs			  "0"
	  Measurements		  on
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction"
	  Ports			  [1, 1]
	  Position		  [480, 30, 510, 60]
	  Orientation		  "left"
	  Operator		  "sqrt"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Mechanical Reaction"
	  Position		  [565, 27, 640, 63]
	  Orientation		  "left"
	  Denominator		  "[Tau 1]"
	}
	Block {
	  BlockType		  RelationalOperator
	  Name			  "Relational\nOperator"
	  Position		  [370, 37, 400, 68]
	  Orientation		  "left"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "S-R\nFlip-Flop"
	  Ports			  [2, 2]
	  Position		  [175, 107, 220, 198]
	  SourceBlock		  "simulink_extras/Flip Flops/S-R\nFlip-Flop"
	  SourceType		  "SRFlipFlop"
	  initial_condition	  "1"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Static Trip Current "
	  Position		  [370, 110, 400, 140]
	  Value			  "Iset"
	}
	Block {
	  BlockType		  PMIOPort
	  Name			  "Conn1"
	  Position		  [240, 253, 270, 267]
	  Port			  "1"
	  Side			  "left"
	}
	Block {
	  BlockType		  PMIOPort
	  Name			  "Conn2"
	  Position		  [505, 253, 535, 267]
	  Orientation		  "left"
	  Port			  "2"
	  Side			  "right"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Ibreaker"
	  Position		  [730, 183, 760, 197]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Vbreaker"
	  Position		  [730, 218, 760, 232]
	  Port			  "2"
	}
	Line {
	  SrcBlock		  "Ideal Switch"
	  SrcPort		  1
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  Name			  "Isw"
	  Labels		  [0, 0]
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  Points		  [190, 0]
	  Branch {
	    DstBlock		    "Ibreaker"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "I^2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Mechanical Reaction"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Static Trip Current "
	  SrcPort		  1
	  Points		  [25, 0; 0, -65]
	  DstBlock		  "Relational\nOperator"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "S-R\nFlip-Flop"
	  SrcPort		  1
	  DstBlock		  "Conv"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Conv"
	  SrcPort		  1
	  Points		  [15, 0; 0, 80]
	  DstBlock		  "Ideal Switch"
	  DstPort		  1
	}
	Line {
	  Name			  "Vsw"
	  Labels		  [0, 0]
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  DstBlock		  "Vbreaker"
	  DstPort		  1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Ideal Switch"
	  SrcPort		  LConn1
	  Points		  [0, 0]
	  DstBlock		  "Conn1"
	  DstPort		  RConn1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Ideal Switch"
	  SrcPort		  RConn1
	  Points		  [0, 0]
	  DstBlock		  "Conn2"
	  DstPort		  RConn1
	}
	Line {
	  SrcBlock		  "Reset"
	  SrcPort		  1
	  DstBlock		  "Conv1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Conv1"
	  SrcPort		  1
	  DstBlock		  "S-R\nFlip-Flop"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "S-R\nFlip-Flop"
	  SrcPort		  2
	  DstBlock		  "Ahhnuld"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Relational\nOperator"
	  SrcPort		  1
	  Points		  [-220, 0; 0, 120]
	  DstBlock		  "S-R\nFlip-Flop"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "I^2"
	  SrcPort		  1
	  Points		  [0, -40]
	  DstBlock		  "Mechanical Reaction"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction"
	  SrcPort		  1
	  DstBlock		  "Relational\nOperator"
	  DstPort		  1
	}
	Annotation {
	  Name			  "Isw"
	  Position		  [546, 188]
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "CVS"
      Description	      "source block"
      Ports		      [1, 0, 0, 0, 0, 1, 1]
      Position		      [257, 175, 293, 220]
      Orientation	      "up"
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Electrical\nSources/Controlled Voltage"
" Source"
      SourceType	      "Controlled Voltage Source"
      Initialize	      off
      SourceType	      "AC"
      Amplitude		      "0"
      Phase		      "0"
      Frequency		      "60"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Ground"
      Ports		      [0, 0, 0, 0, 0, 1]
      Position		      [409, 255, 431, 280]
      Orientation	      "down"
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Elements/Ground"
      SourceType	      "Ground"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      PortType		      "p1"
      LConnTagsString	      "a"
    }
    Block {
      BlockType		      Reference
      Name		      "R Load"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [555, 146, 625, 174]
      SourceBlock	      "powerlib/Elements/Series RLC Branch"
      SourceType	      "Series RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      PortType		      "p1"
      LConnTagsString	      "__new0"
      RConnTagsString	      "__new0"
      Resistance	      "1"
      Inductance	      "0"
      Capacitance	      "inf"
      Measurements	      "None"
    }
    Block {
      BlockType		      Gain
      Name		      "Rated Current"
      Position		      [150, 265, 180, 295]
      Gain		      "5"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [4]
      Position		      [755, 84, 795, 206]
      Location		      [277, 539, 1050, 977]
      Open		      on
      NumInputPorts	      "4"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
	axes3			""
	axes4			""
      }
      TimeRange		      "50"
      YMin		      "3~-1~3~0"
      YMax		      "6~2~6~1"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      SubSystem
      Name		      "Signal Builder\n1=100% of load"
      Tag		      "STV Subsys"
      Ports		      [0, 2]
      Position		      [30, 259, 110, 341]
      CopyFcn		      "sigbuilder_block('copy');"
      DeleteFcn		      "sigbuilder_block('delete');"
      LoadFcn		      "sigbuilder_block('open',[44.25 356.25 526.5 286"
".5 ]);"
      ModelCloseFcn	      "sigbuilder_block('modelClose');"
      PreSaveFcn	      "sigbuilder_block('preSave');"
      StartFcn		      "sigbuilder_block('start');"
      StopFcn		      "sigbuilder_block('stop');"
      NameChangeFcn	      "sigbuilder_block('namechange');"
      ClipboardFcn	      "sigbuilder_block('clipboard');"
      OpenFcn		      "sigbuilder_block('open',[44.25 356.25 526.5 286"
".5 ]);"
      CloseFcn		      "sigbuilder_block('close');"
      TreatAsAtomicUnit	      off
      MaskType		      "Sigbuilder block"
      MaskDescription	      "Sigbuilder GUI"
      MaskInitialization      "if ~strcmp(get_param(bdroot,'SimulationStatus')"
",'stopped') tuvar = sigbuilder_block('maskInit'); end"
      MaskDisplay	      "plot(0,0,100,100,[10,10,40,40,10],[80,20,20,80,"
"80],[40,10],[50,50], [40,27,10],[65,72,56],[40,25,25,10],[28,28,43,43]);"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "port"
      MaskIconUnits	      "autoscale"
      Port {
	PortNumber		2
	Name			"Reset"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      System {
	Name			"Signal Builder\n1=100% of load"
	Location		[480, 85, 980, 386]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Demux
	  Name			  "Demux"
	  Tag			  "STV Demux"
	  Ports			  [1, 2]
	  Position		  [150, 42, 160, 618]
	  Outputs		  "2"
	}
	Block {
	  BlockType		  FromWorkspace
	  Name			  "FromWs"
	  Tag			  "STV FromWs"
	  Position		  [30, 300, 115, 350]
	  VariableName		  "tuvar"
	  SampleTime		  "0"
	  SigBuilderData	  "DataTag0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Signal 2"
	  Tag			  "STV Outport"
	  Position		  [280, 30, 300, 40]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Reset"
	  Tag			  "STV Outport"
	  Position		  [280, 60, 300, 70]
	  Port			  "2"
	}
	Line {
	  SrcBlock		  "FromWs"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  DstBlock		  "Signal 2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  DstBlock		  "Reset"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Voltage Measurement"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [0, 1, 0, 0, 0, 2]
      Position		      [575, 243, 600, 267]
      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|1"
      Port {
	PortNumber		1
	Name			"Vload"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"

⌨️ 快捷键说明

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