imeqvec9.mdl

来自「关于电机的.m程序」· MDL 代码 · 共 1,891 行 · 第 1/4 页

MDL
1,891
字号
	Block {
	  BlockType		  Inport
	  Name			  "vs"
	  Position		  [15, 123, 45, 137]
	  FontWeight		  "bold"
	}
	Block {
	  BlockType		  Inport
	  Name			  "wk"
	  Position		  [15, 68, 45, 82]
	  FontWeight		  "bold"
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "wm"
	  Position		  [25, 333, 55, 347]
	  FontWeight		  "bold"
	  Port			  "3"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  " ckt"
	  Ports			  []
	  Position		  [565, 266, 614, 306]
	  BackgroundColor	  "gray"
	  DropShadow		  on
	  ShowName		  off
	  OpenFcn		  "helpview(which('imeqs.html'));"
	  FontWeight		  "bold"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp('HELP')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    " ckt"
	    Location		    [116, 520, 441, 651]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	  }
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [240, 210, 270, 240]
	  Orientation		  "left"
	  ShowName		  off
	  Gain			  "Rs"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [240, 390, 270, 420]
	  Orientation		  "left"
	  ShowName		  off
	  Gain			  "Rr"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain4"
	  Position		  [215, 115, 245, 145]
	  ShowName		  off
	  Gain			  "wo"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain5"
	  Position		  [215, 326, 245, 354]
	  ShowName		  off
	  Gain			  "wo"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [275, 115, 305, 145]
	  ShowName		  off
	  InitialCondition	  "[ic(1) ic(2)]"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator1"
	  Ports			  [1, 1]
	  Position		  [275, 325, 305, 355]
	  ShowName		  off
	  InitialCondition	  "[ic(3) ic(4)]"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [130, 52, 160, 83]
	  ShowName		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [130, 267, 160, 298]
	  ShowName		  off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [3, 1]
	  Position		  [175, 120, 195, 140]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "-+-"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [3, 1]
	  Position		  [175, 330, 195, 350]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "-+-"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum4"
	  Ports			  [2, 1]
	  Position		  [80, 280, 100, 300]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+-"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Te_calc"
	  Ports			  [2, 1]
	  Position		  [535, 28, 580, 72]
	  TreatAsAtomicUnit	  off
	  Port {
	    PortNumber		    1
	    Name		    "Te"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	  System {
	    Name		    "Te_calc"
	    Location		    [716, 144, 998, 289]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "fs"
	      Position		      [25, 38, 55, 52]
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "is"
	      Position		      [25, 123, 55, 137]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Demux
	      Name		      "Demux"
	      Ports		      [1, 2]
	      Position		      [80, 26, 85, 64]
	      BackgroundColor	      "black"
	      ShowName		      off
	      Outputs		      "2"
	    }
	    Block {
	      BlockType		      Demux
	      Name		      "Demux1"
	      Ports		      [1, 2]
	      Position		      [80, 111, 85, 149]
	      BackgroundColor	      "black"
	      ShowName		      off
	      Outputs		      "2"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product2"
	      Ports		      [2, 1]
	      Position		      [150, 26, 195, 59]
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product3"
	      Ports		      [2, 1]
	      Position		      [150, 116, 195, 149]
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum2"
	      Ports		      [2, 1]
	      Position		      [240, 35, 260, 55]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Te"
	      Position		      [285, 38, 315, 52]
	    }
	    Line {
	      SrcBlock		      "Demux"
	      SrcPort		      1
	      DstBlock		      "Product2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Demux1"
	      SrcPort		      2
	      DstBlock		      "Product3"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Demux"
	      SrcPort		      2
	      Points		      [20, 0; 0, 70]
	      DstBlock		      "Product3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Demux1"
	      SrcPort		      1
	      Points		      [35, 0; 0, -70]
	      DstBlock		      "Product2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product2"
	      SrcPort		      1
	      DstBlock		      "Sum2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product3"
	      SrcPort		      1
	      Points		      [50, 0]
	      DstBlock		      "Sum2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum2"
	      SrcPort		      1
	      DstBlock		      "Te"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "fs"
	      SrcPort		      1
	      DstBlock		      "Demux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "is"
	      SrcPort		      1
	      DstBlock		      "Demux1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "flux-current1"
	  Ports			  [2, 2]
	  Position		  [350, 107, 465, 203]
	  ShowName		  off
	  FontWeight		  "bold"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp('FLUX-CURRENT\\nRELATIONS')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  off
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  Port {
	    PortNumber		    2
	    Name		    "ir"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	  System {
	    Name		    "flux-current1"
	    Location		    [686, 430, 977, 695]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "fs"
	      Position		      [15, 38, 45, 52]
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "fr"
	      Position		      [15, 103, 45, 117]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "G22"
	      Position		      [120, 210, 150, 240]
	      NamePlacement	      "alternate"
	      Gain		      "(Lsl+Lm )/(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gm"
	      Position		      [120, 95, 150, 125]
	      NamePlacement	      "alternate"
	      Gain		      "Lm /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gm1"
	      Position		      [120, 145, 150, 175]
	      NamePlacement	      "alternate"
	      Gain		      "Lm /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gs"
	      Position		      [120, 30, 150, 60]
	      NamePlacement	      "alternate"
	      Gain		      "(Lrl+Lm) /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1]
	      Position		      [175, 185, 195, 205]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "-+"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum4"
	      Ports		      [2, 1]
	      Position		      [175, 70, 195, 90]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "+-"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "is"
	      Position		      [235, 73, 265, 87]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "ir"
	      Position		      [235, 188, 265, 202]
	      Port		      "2"
	    }
	    Line {
	      SrcBlock		      "fs"
	      SrcPort		      1
	      Points		      [45, 0]
	      Branch {
		DstBlock		"Gs"
		DstPort			1
	      }
	      Branch {
		Points			[0, 115]
		DstBlock		"Gm1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gs"
	      SrcPort		      1
	      Points		      [30, 0]
	      DstBlock		      "Sum4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "fr"
	      SrcPort		      1
	      Points		      [25, 0]
	      Branch {
		DstBlock		"Gm"
		DstPort			1
	      }
	      Branch {
		Points			[0, 115]
		DstBlock		"G22"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gm"
	      SrcPort		      1
	      Points		      [30, 0]
	      DstBlock		      "Sum4"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum4"
	      SrcPort		      1
	      DstBlock		      "is"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gm1"
	      SrcPort		      1
	      Points		      [30, 0]
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "G22"
	      SrcPort		      1
	      Points		      [30, 0]
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "ir"
	      DstPort		      1
	    }
	    Annotation {
	      Name		      "INVERSE INDUCTANCES"
	      Position		      [137, 251]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "info"
	  Ports			  []
	  Position		  [540, 329, 638, 400]
	  ForegroundColor	  "darkGreen"
	  DropShadow		  on
	  ShowName		  off
	  FontWeight		  "bold"

⌨️ 快捷键说明

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