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

📄 negativesequencesource.mdl

📁 电力系统中负序信号的Matlab仿真,包含simlink例程一个,负序仿真程序三个.
💻 MDL
📖 第 1 页 / 共 4 页
字号:
      VariationMagnitude      "0.3"
      VariationFrequency      "2"
      VariationTiming	      "[0.1 0.2]"
      VariationPhaseA	      off
      Amplitudes	      "[1 0.8 1.2 1.0]"
      TimeValues	      "[0 0.1 0.15 0.2]"
      HarmonicGeneration      off
      HarmonicA		      "[5 0.08 -45 2]"
      HarmonicB		      "[2 0 0 2]"
      Timing		      "[0.1  1]"
    }
    Block {
      BlockType		      Reference
      Name		      "Discrete 3-phase\nSequence Analyzer\n(Fundament"
"al)"
      Ports		      [1, 2]
      Position		      [595, 245, 650, 300]
      SourceBlock	      "powerlib_extras/Discrete\nMeasurements/Discrete"
" 3-phase\nSequence Analyzer"
      SourceType	      "Discrete 3-Phase Sequence Analyzer"
      ShowPortLabels	      on
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      Freq		      "50"
      n			      "1"
      seq		      "Negative"
      Par_Init		      "[0 0]"
      Ts		      "50e-6"
      Port {
	PortNumber		1
	Name			" V. fund. pos. seq. (pu)"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Load: 5 MW\n 2 Mvar"
      Ports		      [0, 0, 0, 0, 0, 3]
      Position		      [480, 365, 530, 425]
      Orientation	      "down"
      NamePlacement	      "alternate"
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Elements/Three-Phase\nParallel RLC Loa"
"d"
      SourceType	      "Three-Phase Parallel RLC Load"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "A|B|C"
      Configuration	      "Y (grounded)"
      NominalVoltage	      "100"
      NominalFrequency	      "50"
      ActivePower	      "1000"
      InductivePower	      "0"
      CapacitivePower	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      SubSystem
      Name		      "More Info"
      Ports		      []
      Position		      [720, 515, 747, 540]
      DropShadow	      on
      ShowName		      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskDisplay	      "disp('?')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"More Info"
	Location		[42, 186, 840, 749]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Annotation {
	  Name			  "Circuit Description"
	  Position		  [24, 92]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  ForegroundColor	  "blue"
	  UseDisplayTextAsClickCallback	off
	  FontSize		  14
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "This demonstration ilustrates use of the 3-"
"Phase Programmable Voltage Source,\n3-Phase V-I Measurement, and Sequence Ana"
"lyzer blocks"
	  Position		  [24, 22]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  UseDisplayTextAsClickCallback	off
	  FontSize		  14
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "A  25kV, 100 MVA short-circuit level,  equi"
"valent network feeds a 5MW, 2 Mvar capacitive load.\n\nThe internal voltage o"
"f the source is controlled by the Discrete 3-phase Programmable Voltage Sourc"
"e block.\n\nOpen the source dialog box and look at the parameters controlling"
" the voltage. A positive-sequence of \n1.0 pu, 0 degrees is specified. At t ="
" 0.05 s a step of 0.5 pu is applied on positive-sequence voltage magnitude,\n"
"then, at t = 0.1 s, 0.08 pu of 5th harmonic in negative sequence is added on "
"the 1.5 pu voltage. \n\nIn order to start simulation in steady state, the thr"
"ee voltage sources are initialized  with a \npositive-sequence voltage of 25 "
"kV, 0 degree, 60 Hz.\n\nThe Three-Phase V-I Measurement block allows to monit"
"or the three load voltages and currents.\nOpen its dialog box and see how thi"
"s block allows to output the voltages and currents in pu. \n\nTwo Discrete 3-"
"phase Sequence Analyzer blocks are used to monitor the positive-sequeence of "
"the three fundamental voltages Va, Vb, Vc \nand the negative-sequence compone"
"nt of the 5th harmonic.   \n\nThe whole system, (power network, programmable "
"source, and sequence analyzers) is discretized at a 50 us sample time. "
	  Position		  [24, 122]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  UseDisplayTextAsClickCallback	off
	  FontSize		  12
	}
	Annotation {
	  Name			  "Demonstration"
	  Position		  [24, 402]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  ForegroundColor	  "blue"
	  UseDisplayTextAsClickCallback	off
	  FontSize		  14
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "Choose  Simulation/Start and observe the  v"
"oltage and current waveforms.\n\nThe simulation starts in steady state with 1"
" pu voltage. \nAt t = 0.05 sec, the internal voltage is increased to 1.5 pu. "
"At t = 0.10 sec. 0.08 pu of 5th harmonic internal voltage is added.\n\nObserv"
"e the fundamental component (pos. seq.) and the 5th harmonic component  (neg."
" seq.) measured by the two sequence analyzers.\nThe 0.08 pu 5th harmonic inte"
"rnal voltage is amplified at 0.14 pu at the load terminals.\nAs the sequence "
"analyzers use Fourier analysis, their response time is one cycle. "
	  Position		  [24, 427]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  UseDisplayTextAsClickCallback	off
	  FontSize		  12
	}
	Annotation {
	  Name			  "G. Sybille (Hydro-Quebec)"
	  Position		  [24, 67]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  UseDisplayTextAsClickCallback	off
	  FontSize		  12
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Series RLC Load"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [368, 270, 392, 340]
      Orientation	      "down"
      NamePlacement	      "alternate"
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Elements/Series RLC Load"
      SourceType	      "Series RLC Load"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "a"
      RConnTagsString	      "__new0"
      NominalVoltage	      "100"
      NominalFrequency	      "50"
      ActivePower	      "1000"
      InductivePower	      "0.00000001"
      CapacitivePower	      "0.00000001"
      Setx0		      off
      InitialVoltage	      "0"
      SetiL0		      off
      InitialCurrent	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Source impedance\n100 MVA\n short circuit level"
      Ports		      [0, 0, 0, 0, 0, 3, 3]
      Position		      [305, 155, 375, 205]
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Elements/Three-Phase\nSeries RLC Branc"
"h"
      SourceType	      "Three-Phase Series RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "A|B|C"
      RConnTagsString	      "A|B|C"
      BranchType	      "R"
      Resistance	      "100"
      Inductance	      "1.0"
      Capacitance	      "[]"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Three-Phase\nV-I Measurement1"
      Ports		      [0, 2, 0, 0, 0, 3, 3]
      Position		      [425, 142, 475, 218]
      SourceBlock	      "powerlib/Measurements/Three-Phase\nV-I Measurem"
"ent"
      SourceType	      "Three-Phase VI Measurement"
      ShowPortLabels	      on
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      VoltageMeasurement      "phase-to-ground"
      SetLabelV		      off
      LabelV		      "Vabc"
      Vpu		      off
      CurrentMeasurement      "yes"
      SetLabelI		      off
      LabelI		      "Iabc"
      Ipu		      off
      Pbase		      "100e6"
      Vbase		      "500e3"
      OutputType	      "Complex"
      PhasorSimulation	      off
      PSBequivalent	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Vabc_pu"
      Ports		      [4]
      Position		      [865, 178, 905, 247]
      BackgroundColor	      "green"
      Floating		      off
      Location		      [209, 413, 1011, 877]
      Open		      on
      NumInputPorts	      "4"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
      }
      TimeRange		      "0.2"
      YMin		      "-200~-0.3~0~-185"
      YMax		      "200~0.3~200~185"
      SaveToWorkspace	      on
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      Decimation	      "4"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "output Ground1"
      Ports		      [0, 0, 0, 0, 0, 1]
      Position		      [152, 210, 178, 230]
      Orientation	      "down"
      ShowName		      off
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Elements/Ground"
      SourceType	      "Ground"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "a"
    }
    Block {
      BlockType		      Reference
      Name		      "output Ground2"
      Ports		      [0, 0, 0, 0, 0, 1]
      Position		      [367, 380, 393, 400]
      Orientation	      "down"
      ShowName		      off
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Elements/Ground"
      SourceType	      "Ground"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "a"
    }
    Block {
      BlockType		      SubSystem
      Name		      "powergui"
      Ports		      []
      Position		      [185, 386, 287, 428]
      DropShadow	      on
      ShowName		      off
      Priority		      "2"
      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                                 \n%close(g"
"et_param(gcbh,'userdata'))   \n%end                                 \n       "
"                              \npowergui('Close_Callback',gcb,[],[]);"
      InitFcn		      "powerguiblock = gcb;                           "
"             \nblk = get_param(powerguiblock,'blocks');                    \n"
"NbBlocks = length(blk);                                     \nif NbBlocks>2  "
"                                             \n% clean-up:                   "
"                              \nfor m=1:NbBlocks-2                           "
"               \ndelete_block([powerguiblock,'/EquivalentModel',num2str(m)]);"
"\nend                                                         \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		      12
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      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	      "Discrete|1/6400|on|blocks|[0:2:500]|off|off|off"
"|off|ZData||on|0.0|1|off|60|off|1000|1|1|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"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  SubSystem
	  Name			  "EquivalentModel1"
	  Ports			  []
	  Position		  [15, 70, 143, 105]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskHideContents	  off
	  MaskInitialization	  "SPS = get_param(gcbh,'UserData');\nif isemp"
"ty(SPS)\n	Ts=1;\n    A=0;\n    B=0;\n    C=0;\n    D=0;\n    x0=0;\nel"
"se\n	A=SPS.Adiscrete;\n    B=SPS.Bdiscrete;\n    C=SPS.Cdiscrete;\n   "
" D=SPS.Ddiscrete;\n    x0=SPS.x0discrete;\n	Ts=SPS.fixedstep;\nend"
	  MaskDisplay		  "color('red')\ndisp('EQUIVALENT CIRCUIT')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "EquivalentModel1"

⌨️ 快捷键说明

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