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

📄 s1o.mdl

📁 all electric machinery dynamic simulation is realized by this book
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  Name			  "out_iqs"
	  Position		  [735, 130, 755, 150]
	  Port			  "2"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "out_iqr'"
	  Position		  [735, 305, 755, 325]
	  Port			  "3"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "out_psiqr'"
	  Position		  [735, 260, 755, 280]
	  Port			  "4"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Mux2"
	  SrcPort		  1
	  DstBlock		  "Fcn5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "psiqr'_"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    DstBlock		    "Mux2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [35, 0; 0, -60]
	    DstBlock		    "Mux3"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [35, 0; 0, -60; -330, 0; 0, 35]
	    DstBlock		    "Mux1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [35, 0; 0, -30]
	    DstBlock		    "out_psiqr'"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "Fcn2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn3"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [55, 0; 0, 140; -285, 0; 0, -40]
	    DstBlock		    "Mux2"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [55, 0; 0, -135; -615, 0; 0, 30]
	    DstBlock		    "Mux"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [55, 0; 0, 140; -620, 0; 0, -40]
	    DstBlock		    "Mux1"
	    DstPort		    3
	  }
	  Branch {
	    Points		    [55, 0; 0, -45; -270, 0; 0, -30]
	    DstBlock		    "Mux4"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "psiqs_"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [35, 0; 0, 60; -325, 0; 0, -30]
	    DstBlock		    "Mux"
	    DstPort		    3
	  }
	  Branch {
	    Points		    [35, 0; 0, -25]
	    DstBlock		    "Mux4"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [35, 0; 0, 60]
	    DstBlock		    "Mux3"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [35, 0; 0, -75]
	    DstBlock		    "out_psiqs"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Mux4"
	  SrcPort		  1
	  DstBlock		  "Fcn4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux3"
	  SrcPort		  1
	  DstBlock		  "Fcn3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn2"
	  SrcPort		  1
	  DstBlock		  "psiqr'_"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  DstBlock		  "psiqs_"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "Fcn"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn4"
	  SrcPort		  1
	  DstBlock		  "out_iqs"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "in_vqs"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "in_(wr/wb)*psidr'"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Fcn5"
	  SrcPort		  1
	  DstBlock		  "out_iqr'"
	  DstPort		  1
	}
	Annotation {
	  Position		  [602, 127]
	  VerticalAlignment	  top
	  Text			  "iqs"
	}
	Annotation {
	  Position		  [382, 132]
	  VerticalAlignment	  top
	  Text			  "psiqs"
	}
	Annotation {
	  Position		  [667, 207]
	  VerticalAlignment	  top
	  Text			  "psiqm"
	}
	Annotation {
	  Position		  [602, 299]
	  VerticalAlignment	  top
	  Text			  "iqr'"
	}
	Annotation {
	  Position		  [392, 283]
	  VerticalAlignment	  top
	  Text			  "psiqr'"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Rotor"
      Position		      [430, 189, 470, 261]
      Orientation	      left
      ShowPortLabels	      off
      System {
	Name			"Rotor"
	Location		[98, 112, 733, 358]
	Open			off
	ScreenColor		white
	Block {
	  BlockType		  Inport
	  Name			  "psids"
	  Position		  [65, 40, 85, 60]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "iqs"
	  Position		  [65, 80, 85, 100]
	  Port			  "2"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "psiqs"
	  Position		  [65, 120, 85, 140]
	  Port			  "3"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "ids"
	  Position		  [65, 160, 85, 180]
	  Port			  "4"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Tmech"
	  Position		  [65, 200, 85, 220]
	  Port			  "5"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "1/s"
	  Position		  [480, 113, 515, 147]
	  ExternalReset		  none
	  InitialConditionSource  internal
	  InitialCondition	  "0"
	  LimitOutput		  off
	  UpperSaturationLimit	  "inf"
	  LowerSaturationLimit	  "-inf"
	  ShowSaturationPort	  off
	  ShowStatePort		  off
	  AbsoluteTolerance	  "auto"
	}
	Block {
	  BlockType		  Gain
	  Name			  "3P/4wb"
	  Position		  [225, 81, 315, 139]
	  Gain			  "3*P/(4*wb)"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Position		  [175, 83, 195, 132]
	  Inputs		  "+-"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Position		  [355, 90, 375, 170]
	  Inputs		  "++"
	}
	Block {
	  BlockType		  Product
	  Name			  "psidiqs"
	  Position		  [120, 50, 140, 85]
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Product
	  Name			  "psiqids"
	  Position		  [120, 126, 140, 159]
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Gain
	  Name			  "wb/2H"
	  Position		  [390, 104, 455, 156]
	  Gain			  "1/(2*H)"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Tem_out"
	  Position		  [540, 60, 560, 80]
	  Port			  "1"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "wr/wb"
	  Position		  [545, 118, 565, 142]
	  Port			  "2"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "3P/4wb"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "psiqs"
	  SrcPort		  1
	  Points		  [5, 0; 0, 5]
	  DstBlock		  "psiqids"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "iqs"
	  SrcPort		  1
	  Points		  [5, 0; 0, -15]
	  DstBlock		  "psidiqs"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "psids"
	  SrcPort		  1
	  Points		  [5, 0; 0, 10]
	  DstBlock		  "psidiqs"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "psidiqs"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "psiqids"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "1/s"
	  SrcPort		  1
	  DstBlock		  "wr/wb"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Tmech"
	  SrcPort		  1
	  Points		  [210, 0; 0, -60]
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "ids"
	  SrcPort		  1
	  Points		  [5, 0; 0, -20]
	  DstBlock		  "psiqids"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "wb/2H"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "wb/2H"
	  SrcPort		  1
	  DstBlock		  "1/s"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "3P/4wb"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    DstBlock		    "Sum1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [5, 0; 0, -40]
	    DstBlock		    "Tem_out"
	    DstPort		    1
	  }
	}
	Annotation {
	  Position		  [277, 47]
	  VerticalAlignment	  top
	  Text			  "Rotor's Equation of Motion"
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Position		      [475, 14, 490, 36]
      Floating		      off
      Location		      [43, 343, 715, 534]
      Open		      on
      Grid		      on
      TickLabels	      on
      ZoomMode		      on
      TimeRange		      "2"
      YMin		      "-200"
      YMax		      "200"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitMaxRows	      off
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Selector
      Name		      "Selector"
      Position		      [395, 13, 440, 37]
      Elements		      "[2 3 4 5 6 7]"
      InputPortWidth	      "7"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Position		      [660, 216, 680, 254]
      Inputs		      "+++"
    }
    Block {
      BlockType		      Terminator
      Name		      "T"
      Position		      [340, 151, 345, 159]
    }
    Block {
      BlockType		      Terminator
      Name		      "T1"
      Position		      [350, 326, 355, 334]
    }
    Block {
      BlockType		      SubSystem
      Name		      "Tmech"
      Position		      [390, 265, 425, 285]
      ShowPortLabels	      off
      MaskType		      "Repeating table"
      MaskDescription	      "Repeating table."
      MaskHelp		      "Repeats cycle given in table. Time values "
			      "should be monotonically increasing."
      MaskPromptString	      "Time values:|Output values:"
      MaskStyleString	      "edit,edit"
      MaskVariables	      "rep_seq_t=@1;rep_seq_y=@2;"
      MaskInitialization      "period = max(rep_seq_t);\n"
      MaskDisplay	      "plot([rep_seq_t,rep_seq_t+period,rep_seq_t+2*per"
			      "iod,rep_seq_t(1)+3*period],[rep_seq_y,rep_seq_y,"
			      "rep_seq_y,rep_seq_y(1)])"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      off
      MaskIconUnits	      autoscale
      MaskValueString	      "time_tmech|tmech_tmech"
      System {
	Name			"Tmech"
	Location		[382, 166, 692, 322]
	Open			off
	ScreenColor		white
	Block {
	  BlockType		  Clock
	  Name			  "Clock"
	  Position		  [45, 60, 65, 80]
	  DeleteFcn		  "simclock BlockIsBeingDestroyed"
	  PostSaveFcn		  "simclock Save"
	  Location		  [30, 40, 110, 80]
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [110, 60, 150, 80]
	  Expr			  "rem(u[1],period)"
	}
	Block {
	  BlockType		  Lookup
	  Name			  "Look-Up Table"
	  Position		  [210, 58, 250, 82]
	  InputValues		  "rep_seq_t"
	  OutputValues		  "rep_seq_y"
	}
	Block {
	  BlockType		  Outport
	  Name			  "out_1"
	  Position		  [285, 60, 305, 80]
	  Port			  "1"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Look-Up Table"
	  SrcPort		  1
	  DstBlock		  "out_1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Clock"
	  SrcPort		  1
	  DstBlock		  "Fcn1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn1"
	  SrcPort		  1
	  DstBlock		  "Look-Up Table"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace"
      Position		      [240, 19, 290, 31]
      Orientation	      left
      VariableName	      "y"
      Buffer		      "40000"
      Decimation	      "1"
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Var_we_source"
      Position		      [35, 188, 80, 262]
      ShowPortLabels	      off
      System {
	Name			"Var_we_source"
	Location		[209, 82, 897, 440]
	Open			off
	ScreenColor		white
	Block {
	  BlockType		  Gain
	  Name			  "-1"
	  Position		  [185, 238, 225, 272]
	  Gain			  "-1"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [425, 68, 575, 102]
	  Expr			  "u[1]*u[2]"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [425, 128, 580, 162]
	  Expr			  "u[1]*(-u[2]-sqrt(3)*u[3])/2"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn2"
	  Position		  [425, 190, 580, 220]
	  Expr			  "u[1]*(-u[2]+sqrt(3)*u[3])/2"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Inner\nProduct"
	  Position		  [135, 236, 160, 269]
	  ShowPortLabels	  off
	  MaskType		  "Dot Product"
	  MaskDescription	  "Inner (dot) product.\ny=sum(u1.*u2)"
	  MaskHelp		  "Computes the inner (dot) product of the "
				  "inputs: sum(u1.*u2).  The inputs are "
				  "vectors of the same length. Output is "
				  "a scalar."
	  MaskDisplay		  "disp('.\\n')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  off
	  MaskIconUnits		  autoscale
	  System {
	    Name		    "Inner\nProduct"
	    Location		    [33, 479, 253, 634]
	    Open		    off
	    ScreenColor		    white
	    Block {
	      BlockType		      Inport

⌨️ 快捷键说明

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