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

📄 s3eig.mdl

📁 Gives all the matlab codes for dynamic simulation of electric machinery by Chee-Mun Ong
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	Block {
	  BlockType		  Outport
	  Name			  "Out_|Vt|"
	  Position		  [510, 80, 530, 100]
	  Port			  "1"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out_|It|"
	  Position		  [510, 130, 530, 150]
	  Port			  "2"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Pgen"
	  Position		  [510, 185, 530, 205]
	  Port			  "3"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Qgen"
	  Position		  [510, 235, 530, 255]
	  Port			  "4"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  DstBlock		  "Out_|Vt|"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn1"
	  SrcPort		  1
	  DstBlock		  "Out_|It|"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [25, 0; 0, -30]
	    DstBlock		    "Fcn1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [25, 0; 0, -80]
	    DstBlock		    "Fcn"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [25, 0; 0, 75]
	    DstBlock		    "Q"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [25, 0; 0, 25]
	    DstBlock		    "P"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Q"
	  SrcPort		  1
	  DstBlock		  "Qgen"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "P"
	  SrcPort		  1
	  DstBlock		  "Pgen"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "-idr"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "vdr"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "-iqr"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "vqr"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "d_cct"
      Position		      [370, 234, 405, 291]
      ShowPortLabels	      off
      System {
	Name			"d_cct"
	Location		[-42, 30, 762, 518]
	Open			off
	ScreenColor		white
	Block {
	  BlockType		  Inport
	  Name			  "In_vdr"
	  Position		  [50, 105, 70, 125]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In_wrpsiq"
	  Position		  [50, 160, 70, 180]
	  Port			  "2"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In_Ef"
	  Position		  [50, 250, 70, 270]
	  Port			  "3"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [180, 125, 375, 155]
	  Expr			  "wb*(u[2]+u[3]+(rs/xls)*(u[1]-u[4]))"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [175, 245, 375, 275]
	  Expr			  "wb*rpf*(u[2]/xmd+(u[1]-u[3])/xplf)"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn2"
	  Position		  [180, 356, 365, 384]
	  Expr			  "wb*rpkd*(u[1]-u[2])/xplkd"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn3"
	  Position		  [565, 114, 775, 146]
	  Expr			  "xMD*(u[1]/xls+u[2]/xplf+u[3]/xplkd)"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn4"
	  Position		  [565, 227, 655, 253]
	  Expr			  "-(u[1]-u[2])/xls"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn5"
	  Position		  [565, 332, 655, 358]
	  Expr			  "(u[1]-u[2])/xplf"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Position		  [135, 86, 160, 189]
	  Inputs		  "4"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Position		  [135, 217, 160, 303]
	  Inputs		  "3"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux2"
	  Position		  [130, 330, 155, 405]
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux3"
	  Position		  [520, 87, 545, 173]
	  Inputs		  "3"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux4"
	  Position		  [520, 204, 540, 271]
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux5"
	  Position		  [520, 309, 540, 376]
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "psid_"
	  Position		  [390, 127, 420, 153]
	  ExternalReset		  none
	  InitialConditionSource  internal
	  InitialCondition	  "Psido"
	  LimitOutput		  off
	  UpperSaturationLimit	  "inf"
	  LowerSaturationLimit	  "-inf"
	  ShowSaturationPort	  off
	  ShowStatePort		  off
	  AbsoluteTolerance	  "auto"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "psipf_"
	  Position		  [390, 247, 420, 273]
	  ExternalReset		  none
	  InitialConditionSource  internal
	  InitialCondition	  "Psifo"
	  LimitOutput		  off
	  UpperSaturationLimit	  "inf"
	  LowerSaturationLimit	  "-inf"
	  ShowSaturationPort	  off
	  ShowStatePort		  off
	  AbsoluteTolerance	  "auto"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "psipkd_"
	  Position		  [390, 357, 420, 383]
	  ExternalReset		  none
	  InitialConditionSource  internal
	  InitialCondition	  "Psikdo"
	  LimitOutput		  off
	  UpperSaturationLimit	  "inf"
	  LowerSaturationLimit	  "-inf"
	  ShowSaturationPort	  off
	  ShowStatePort		  off
	  AbsoluteTolerance	  "auto"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out_psid"
	  Position		  [585, 45, 605, 65]
	  Port			  "1"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out_-id"
	  Position		  [830, 230, 850, 250]
	  Port			  "2"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out_psimd"
	  Position		  [835, 120, 855, 140]
	  Port			  "3"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out_ipf"
	  Position		  [835, 335, 855, 355]
	  Port			  "4"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Fcn5"
	  SrcPort		  1
	  DstBlock		  "Out_ipf"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn4"
	  SrcPort		  1
	  DstBlock		  "Out_-id"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn3"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    DstBlock		    "Out_psimd"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [10, 0; 0, -50; -675, 0; 0, 20]
	    DstBlock		    "Mux"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [10, 0; 0, 315; -700, 0; 0, -215]
	    DstBlock		    "Mux1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [10, 0; 0, 315; -700, 0; 0, -95]
	    DstBlock		    "Mux2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [10, 0; 0, 175; -295, 0; 0, -50]
	    DstBlock		    "Mux4"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [10, 0; 0, 315; -295, 0; 0, -85]
	    DstBlock		    "Mux5"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Mux5"
	  SrcPort		  1
	  DstBlock		  "Fcn5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux4"
	  SrcPort		  1
	  DstBlock		  "Fcn4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux3"
	  SrcPort		  1
	  DstBlock		  "Fcn3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "psipkd_"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [35, 0; 0, -210]
	    DstBlock		    "Mux3"
	    DstPort		    3
	  }
	  Branch {
	    Points		    [35, 0; 0, 60; -350, 0; 0, -45]
	    DstBlock		    "Mux2"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "psipf_"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [60, 0; 0, 65]
	    DstBlock		    "Mux5"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [25, 0; 0, -130]
	    DstBlock		    "Mux3"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [25, 0; 0, 60; -335, 0; 0, -30]
	    DstBlock		    "Mux1"
	    DstPort		    3
	  }
	}
	Line {
	  SrcBlock		  "psid_"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [10, 0; 0, -85]
	    DstBlock		    "Out_psid"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [45, 0; 0, 80]
	    DstBlock		    "Mux4"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [10, 0; 0, -40]
	    DstBlock		    "Mux3"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [10, 0; 0, 65; -320, 0; 0, -30]
	    DstBlock		    "Mux"
	    DstPort		    4
	  }
	}
	Line {
	  SrcBlock		  "Fcn2"
	  SrcPort		  1
	  DstBlock		  "psipkd_"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux2"
	  SrcPort		  1
	  DstBlock		  "Fcn2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In_Ef"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Fcn1"
	  SrcPort		  1
	  DstBlock		  "psipf_"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "Fcn1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  DstBlock		  "psid_"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "Fcn"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In_vdr"
	  SrcPort		  1
	  Points		  [20, 0; 0, 10]
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In_wrpsiq"
	  SrcPort		  1
	  Points		  [20, 0; 0, -20]
	  DstBlock		  "Mux"
	  DstPort		  3
	}
      }
    }
    Block {
      BlockType		      Product
      Name		      "prod1"
      Position		      [380, 109, 395, 136]
      Orientation	      left
      Inputs		      "2"
    }
    Block {
      BlockType		      Product
      Name		      "prod2"
      Position		      [380, 308, 395, 337]
      Orientation	      left
      Inputs		      "2"
    }
    Block {
      BlockType		      SubSystem
      Name		      "q_cct"
      Position		      [370, 154, 405, 206]
      ShowPortLabels	      off
      System {
	Name			"q_cct"
	Location		[-99, 116, 705, 466]
	Open			off
	ScreenColor		white
	Block {
	  BlockType		  Inport
	  Name			  "In_vqr"
	  Position		  [50, 105, 70, 125]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In_wrpsid"
	  Position		  [50, 160, 70, 180]
	  Port			  "2"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [180, 125, 375, 155]
	  Expr			  "wb*(u[2]-u[3]+(rs/xls)*(u[1]-u[4]))"

⌨️ 快捷键说明

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