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

📄 power_machines.mdl

📁 线性变压器在配电网站中的应用仿真
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  FontName		  "Arial"
	  FontSize		  12
	}
	Annotation {
	  Name			  "The diesel engine governor and SM excitatio"
"n system contain integrators and transfer functions which have also been init"
"ialized  by the load flow.\nOpen the GOVERNOR block in the Diesel Engine subs"
"ystem. Note that the initial mechanical power has been automatically set to 0"
".00027 pu (844 W).\nNow open the EXCITATION block. Notice in the last line of"
" the block menu, that the initial terminal voltage Vt0 and field voltage Vf0 "
" have been set respectively to\n1.0 and 1.4273 pu.The value of the constant b"
"lock connnected to the torque input of the asynchronous motor has also been a"
"utomatically set to 7964 N."
	  Position		  [39, 492]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  UseDisplayTextAsClickCallback	off
	  FontName		  "Arial"
	  FontSize		  12
	}
	Annotation {
	  Name			  "4"
	  Position		  [20, 571]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  ForegroundColor	  "blue"
	  UseDisplayTextAsClickCallback	off
	  FontSize		  14
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "G. Sybille (Hydro-Quebec)"
	  Position		  [93, 63]
	  UseDisplayTextAsClickCallback	off
	  FontSize		  12
	}
	Annotation {
	  Name			  "Load Flow :   U AB (Vrms) = 2400 ,  P (watt"
"ts) = 0.  Specify also the ASM mechanical power by entering Pmec (Watts) = 20"
"00*746."
	  Position		  [39, 377]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  UseDisplayTextAsClickCallback	off
	  FontName		  "Arial"
	  FontSize		  12
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "Then press the \"Execute Load Flow\" button"
".\n\nOnce the load flow is solved, the three line-to-line machine voltages an"
"d the three machine currents are updated.\nThe SM reactive power,  mechanical"
" power and  field voltage are displayed: Q = 856 kvar; Pmec = 844 W (power re"
"quired by resistive losses in stator winding );\n field voltage Ef = 1.4273 p"
"u; the active and reactive powers absorbed by the motor, slip and torque are "
"also displayed.  "
	  Position		  [39, 397]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  UseDisplayTextAsClickCallback	off
	  FontName		  "Arial"
	  FontSize		  12
	}
      }
    }
    Block {
      BlockType		      Gain
      Name		      "RPM"
      Position		      [795, 115, 825, 145]
      Gain		      "60/2/pi"
      Port {
	PortNumber		1
	Name			"Speed (rpm)"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      Scope
      Name		      "SM"
      Ports		      [4]
      Position		      [310, 374, 355, 456]
      BackgroundColor	      "green"
      Floating		      off
      Location		      [23, 165, 543, 729]
      Open		      off
      NumInputPorts	      "4"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
      }
      TimeRange		      "0.8"
      YMin		      "0~0~0~0.8"
      YMax		      "1.5~6~1.5~1.2"
      SaveToWorkspace	      on
      SaveName		      "Pmec_SM"
      DataFormat	      "Structure"
      LimitDataPoints	      off
      Decimation	      "10"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "SM 3.125 MVA"
      Ports		      [2, 1, 0, 0, 0, 0, 3]
      Position		      [305, 274, 375, 346]
      BackgroundColor	      "lightBlue"
      AttributesFormatString  "\\n\\n"
      SourceBlock	      "powerlib/Machines/Synchronous Machine\npu Stand"
"ard"
      SourceType	      "Synchronous Machine"
      ShowPortLabels	      on
      PresetModel	      "No"
      MechanicalLoad	      "Mechanical power Pm"
      ShowDetailedParameters  on
      RotorType		      "Salient-pole"
      NominalParameters	      "[ 3.125e6  2400  60]"
      Reactances1	      "[ 31 32 33 34 35 36 37 ]"
      Reactances2	      "[ 1.56, 0.296, 0.177, 1.06, 0.177, 0.052 ]"
      dAxisTimeConstants      "Short-circuit"
      qAxisTimeConstants      "Open-circuit"
      TimeConstants1	      "[]"
      TimeConstants2	      "[]"
      TimeConstants3	      "[]"
      TimeConstants4	      "[]"
      TimeConstants5	      "[ 3.7, 0.05, 0.05 ]"
      TimeConstants6	      "[]"
      TimeConstants7	      "[0.024 0.006 0.006]"
      TimeConstants8	      "[]"
      StatorResistance	      "0.0036"
      Mechanical	      "[ 1.07  0  2 ]"
      InitialConditions	      "[0 0 0 0 0 0 0 0 1]"
      SetSaturation	      off
      Saturation	      "[0.211 0.418 1.0 1.72 3.35 ; 0.25 0.50 1.0 1.2 "
"1.4]"
      Units		      "0.5"
      LoadFlowParameters      "[1 0 0 0]"
    }
    Block {
      BlockType		      Constant
      Name		      "Torque (N.m)"
      Position		      [515, 70, 565, 90]
      NamePlacement	      "alternate"
      Value		      "7964.04"
    }
    Block {
      BlockType		      Reference
      Name		      "Va"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [0, 1, 0, 0, 0, 2]
      Position		      [610, 228, 635, 252]
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Measurements/Voltage Measurement"
      SourceType	      "Voltage Measurement"
      ShowPortLabels	      on
      PhasorSimulation	      off
      OutputType	      "Magnitude"
      PSBequivalent	      "0"
      Port {
	PortNumber		1
	Name			"ASM terminal voltage"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      Scope
      Name		      "Va (V)"
      Ports		      [1]
      Position		      [675, 225, 705, 255]
      BackgroundColor	      "green"
      Floating		      off
      Location		      [640, 83, 912, 326]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "on"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "0.2             "
      YMin		      "-2000"
      YMax		      "2000"
      DataFormat	      "Array"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Constant
      Name		      "Vtref (pu)"
      Position		      [30, 316, 65, 334]
    }
    Block {
      BlockType		      Reference
      Name		      "output Ground2"
      Ports		      [0, 0, 0, 0, 0, 1]
      Position		      [572, 275, 598, 300]
      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		      [25, 460, 116, 489]
      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                              \nclose(get_pa"
"ram(gcbh,'userdata'))\nend                              "
      OpenFcn		      "if (power_openblockproxy ('secondary'))\npowerg"
"ui(gcb,'PM')\nend;"
      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|logspace(0,3,50)|off|of"
"f|off|off|ZData||on|0.0|2|off|60|off|1000|60|1|1|off|0|60|off"
      MaskTabNameString	      ",,,,,,,,,,,,,,,,,,,,,,,,"
      System {
	Name			"powergui"
	Location		[137, 405, 682, 583]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	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		    "usletter"
	    PaperUnits		    "inches"
	    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		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  From
		  Name			  "From1"
		  Position		  [15, 21, 85, 49]
		  GotoTag		  "tp374593"
		}
		Block {
		  BlockType		  From
		  Name			  "From2"
		  Position		  [15, 66, 85, 94]
		  GotoTag		  "tp374598"
		}
		Block {
		  BlockType		  From
		  Name			  "From3"
		  Position		  [15, 111, 85, 139]
		  GotoTag		  "tp374579"
		}
		Block {
		  BlockType		  From
		  Name			  "From4"
		  Position		  [15, 156, 85, 184]
		  GotoTag		  "tp374584"
		}
		Block {
		  BlockType		  From
		  Name			  "From5"
		  Position		  [15, 201, 85, 229]
		  GotoTag		  "tp374588"
		}
		Block {
		  BlockType		  From
		  Name			  "From6"
		  Position		  [15, 246, 85, 274]
		  GotoTag		  "tp374573"
		}
		Block {
		  BlockType		  Mux
		  Name			  "Mux"
		  Ports			  [6, 1]
		  Position		  [325, 272, 330, 613]
		  ShowName		  off
		  Inputs		  "[1 1 1 1 1 1]"
		  DisplayOption		  "bar"
		}
		Block {
		  BlockType		  Outport
		  Name			  "gates"
		  Position		  [390, 433, 420, 447]
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		}
		Line {
		  SrcBlock		  "Mux"
		  SrcPort		  1
		  Points		  [0, -5]
		  DstBlock		  "gates"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "From1"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "From2"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "From3"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "From4"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  4
		}
		Line {
		  SrcBlock		  "From5"
		  SrcPort		  1
		  DstBlock		  "Mux"

⌨️ 快捷键说明

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