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

📄 s2.mdl

📁 Gives all the matlab codes for dynamic simulation of electric machinery by Chee-Mun Ong
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    Line {
	      SrcBlock		      "Sum2"
	      SrcPort		      1
	      DstBlock		      "VR"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "VR"
	      SrcPort		      1
	      Points		      [0, 0]
	      Branch {
		DstBlock		"VRmax/VRmin"
		DstPort			1
	      }
	      Branch {
		Points			[5, 0]
		DstBlock		"Gain1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Sum3"
	      SrcPort		      1
	      DstBlock		      "Ef"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Gain2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain2"
	      SrcPort		      1
	      DstBlock		      "Sum3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain3"
	      SrcPort		      1
	      Points		      [-5, 0; 0, -60]
	      DstBlock		      "Sum3"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Ef"
	      SrcPort		      1
	      Points		      [0, 0]
	      Branch {
		Points			[30, 0; 0, 70]
		DstBlock		"Gain3"
		DstPort			1
	      }
	      Branch {
		Points			[30, 0; 0, -70]
		DstBlock		"Se"
		DstPort			1
	      }
	      Branch {
		DstBlock		"out_Ef"
		DstPort			1
	      }
	      Branch {
		Points			[30, 0; 0, 130]
		DstBlock		"Gain4"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      DstBlock		      "Sum2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain1"
	      SrcPort		      1
	      Points		      [-10, 0; 0, -60]
	      DstBlock		      "Sum2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Gain4"
	      SrcPort		      1
	      DstBlock		      "Sum4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain5"
	      SrcPort		      1
	      DstBlock		      "Vs"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Vs"
	      SrcPort		      1
	      Points		      [20, 0; 0, -40]
	      DstBlock		      "Sum4"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum4"
	      SrcPort		      1
	      Points		      [0, 0]
	      Branch {
		Points			[-190, 0; 0, -130]
		DstBlock		"Sum"
		DstPort			3
	      }
	      Branch {
		Points			[-95, 0; 0, 50]
		DstBlock		"Gain5"
		DstPort			1
	      }
	    }
	    Annotation {
	      Position		      [152, 232]
	      VerticalAlignment	      top
	      Text		      "Vstab"
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "qde2qdr"
	  Position		  [135, 299, 175, 351]
	  ShowPortLabels	  off
	  System {
	    Name		    "qde2qdr"
	    Location		    [103, 460, 628, 647]
	    Open		    off
	    ScreenColor		    white
	    Block {
	      BlockType		      Inport
	      Name		      "iqe"
	      Position		      [15, 35, 35, 55]
	      Port		      "1"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "ide"
	      Position		      [15, 80, 35, 100]
	      Port		      "2"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "delta "
	      Position		      [15, 124, 35, 146]
	      Port		      "3"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Position		      [75, 50, 105, 130]
	      ShowName		      off
	      Inputs		      "3"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "fcn"
	      Position		      [150, 52, 390, 78]
	      Expr		      "u[1]*cos(u[3]) - u[2]*sin(u[3])"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "fcn1"
	      Position		      [150, 97, 390, 123]
	      Expr		      "u[1]*sin(u[3]) + u[2]*cos(u[3])"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "iqr"
	      Position		      [445, 55, 465, 75]
	      Port		      "1"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "vdr"
	      Position		      [445, 100, 465, 120]
	      Port		      "2"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "fcn1"
	      SrcPort		      1
	      DstBlock		      "vdr"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "iqe"
	      SrcPort		      1
	      Points		      [10, 0; 0, 20]
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "fcn"
	      SrcPort		      1
	      DstBlock		      "iqr"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      Points		      [0, 0]
	      Branch {
		Points			[15, 0; 0, -25]
		DstBlock		"fcn"
		DstPort			1
	      }
	      Branch {
		Points			[15, 0; 0, 20]
		DstBlock		"fcn1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "delta "
	      SrcPort		      1
	      Points		      [10, 0; 0, -20]
	      DstBlock		      "Mux"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "ide"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "qdr2qde"
	  Position		  [525, 432, 565, 488]
	  ShowPortLabels	  off
	  System {
	    Name		    "qdr2qde"
	    Location		    [268, 603, 791, 790]
	    Open		    off
	    ScreenColor		    white
	    Block {
	      BlockType		      Inport
	      Name		      "Eqp"
	      Position		      [15, 40, 35, 60]
	      Port		      "1"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Edp"
	      Position		      [15, 80, 35, 100]
	      Port		      "2"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "delta"
	      Position		      [15, 120, 35, 140]
	      Port		      "3"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Position		      [75, 27, 100, 153]
	      ShowName		      off
	      Inputs		      "3"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "fcn"
	      Position		      [155, 36, 360, 64]
	      Expr		      "u[1]*cos(u[3]) + u[2]*sin(u[3])"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "fcn1"
	      Position		      [150, 116, 360, 144]
	      Expr		      "-u[1]*sin(u[3]) + u[2]*cos(u[3])"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Eqpe"
	      Position		      [420, 40, 440, 60]
	      Port		      "1"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Edpe"
	      Position		      [420, 120, 440, 140]
	      Port		      "2"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "fcn1"
	      SrcPort		      1
	      DstBlock		      "Edpe"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Eqp"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "fcn"
	      SrcPort		      1
	      DstBlock		      "Eqpe"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      Points		      [0, 0]
	      Branch {
		Points			[20, 0; 0, -40]
		DstBlock		"fcn"
		DstPort			1
	      }
	      Branch {
		Points			[20, 0; 0, 40]
		DstBlock		"fcn1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Edp"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "delta"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      3
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "stator_wdg"
	  Position		  [405, 162, 445, 238]
	  ShowPortLabels	  off
	  System {
	    Name		    "stator_wdg"
	    Location		    [171, 185, 701, 456]
	    Open		    off
	    ScreenColor		    white
	    Block {
	      BlockType		      Inport
	      Name		      "Eqp"
	      Position		      [40, 55, 60, 75]
	      Port		      "1"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Edp"
	      Position		      [40, 98, 60, 122]
	      Port		      "2"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "iq"
	      Position		      [40, 143, 60, 167]
	      Port		      "3"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "id"
	      Position		      [40, 190, 60, 210]
	      Port		      "4"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [220, 76, 390, 104]
	      Expr		      "u[1] -rs(1)*u[3]- xpd(1)*u[4] "
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn3"
	      Position		      [215, 166, 385, 194]
	      Expr		      "u[2] + xpd(1)*u[3] - rs(1)*u[4]"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux1"
	      Position		      [150, 45, 175, 220]
	      Inputs		      "4"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "out_vqt"
	      Position		      [420, 80, 440, 100]
	      Port		      "1"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "out_vdt"
	      Position		      [420, 170, 440, 190]
	      Port		      "2"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "Eqp"
	      SrcPort		      1
	      DstBlock		      "Mux1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux1"
	      SrcPort		      1
	      Points		      [0, 0]
	      Branch {
		Points			[10, 0; 0, -45]
		DstBlock		"Fcn2"
		DstPort			1
	      }
	      Branch {
		Points			[10, 0; 0, 45]
		DstBlock		"Fcn3"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      DstBlock		      "out_vqt"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn3"
	      SrcPort		      1
	      DstBlock		      "out_vdt"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "iq"
	      SrcPort		      1
	      DstBlock		      "Mux1"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "id"
	      SrcPort		      1
	      DstBlock		      "Mux1"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "Edp"
	      SrcPort		      1
	      DstBlock		      "Mux1"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  Sum
	  Name			  "sum"
	  Position		  [130, 143, 145, 197]
	  Inputs		  "-+-"
	}
	Block {
	  BlockType		  Outport
	  Name			  "out_|Vt|"
	  Position		  [675, 125, 695, 145]
	  Port			  "1"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "out_|I|"
	  Position		  [730, 150, 750, 170]
	  Port			  "2"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "out_Pgen"
	  Position		  [675, 175, 695, 195]
	  Port			  "3"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "out_Qgen"
	  Position		  [730, 200, 750, 220]
	  Port			  "4"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "out_delta"
	  Position		  [670, 265, 690, 285]
	  Port			  "5"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "out_puslip"
	  Position		  [730, 305, 750, 325]
	  Port			  "6"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "out_Tem"
	  Position		  [675, 345, 695, 365]
	  Port			  "7"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "out_Eqpe"
	  Position		  [725, 435, 745, 455]
	  Port			  "8"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport

⌨️ 快捷键说明

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