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

📄 oloop2.mdl

📁 MATLAB在飞行动力学和控制中应用的工具
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		      SrcBlock		      "Mux"
		      SrcPort		      1
		      DstBlock		      "M"
		      DstPort		      1
		    }
		    Line {
		      SrcBlock		      "x"
		      SrcPort		      1
		      Points		      [50, 0]
		      Branch {
			DstBlock		"Mux"
			DstPort			2
		      }
		      Branch {
			Points			[0, 30]
			DstBlock		"Mux1"
			DstPort			1
		      }
		    }
		    Line {
		      SrcBlock		      "yatm"
		      SrcPort		      1
		      Points		      [20, 0]
		      Branch {
			DstBlock		"a"
			DstPort			1
		      }
		      Branch {
			Points			[0, 130]
			DstBlock		"Mux1"
			DstPort			2
		      }
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ad2"
		  Ports			  [2, 1, 0, 0, 0]
		  Position		  [280, 139, 340, 166]
		  FontName		  "Arial"
		  ShowName		  off
		  ShowPortLabels	  off
		  MaskType		  "Airdata2"
		  MaskDescription	  "More airdata variables"
		  MaskHelp		  "eval('fdchelp airdata2')"
		  MaskDisplay		  "disp('Airdata2')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  none
		  MaskIconUnits		  autoscale
		  System {
		    Name		    "ad2"
		    Location		    [4, 42, 480, 256]
		    Open		    off
		    ScreenColor		    white
		    Block {
		      BlockType		      Inport
		      Name		      "yatm"
		      Position		      [30, 60, 50, 80]
		      DropShadow	      on
		      FontName		      "Arial"
		      Port		      "1"
		      PortWidth		      "-1"
		      SampleTime	      "-1"
		    }
		    Block {
		      BlockType		      Inport
		      Name		      "yad1"
		      Position		      [30, 110, 50, 130]
		      DropShadow	      on
		      FontName		      "Arial"
		      Port		      "2"
		      PortWidth		      "-1"
		      SampleTime	      "-1"
		    }
		    Block {
		      BlockType		      SubSystem
		      Name		      "0"
		      Ports		      [0, 0, 0, 0, 0]
		      Position		      [15, 15, 160, 45]
		      ForegroundColor	      blue
		      DropShadow	      on
		      FontName		      "Arial"
		      ShowName		      off
		      OpenFcn		      "fdchelp airdata2"
		      ShowPortLabels	      off
		      MaskDisplay	      "disp('AIRDATA2\\nM.O. Rauw, "
					      "October 1997')"
		      MaskIconFrame	      on
		      MaskIconOpaque	      on
		      MaskIconRotate	      none
		      MaskIconUnits	      autoscale
		      System {
			Name			"0"
			Location		[99, 72, 274, 227]
			Open			off
			ScreenColor		white
		      }
		    }
		    Block {
		      BlockType		      Mux
		      Name		      "Mux"
		      Ports		      [2, 1, 0, 0, 0]
		      Position		      [95, 80, 100, 120]
		      BackgroundColor	      black
		      FontName		      "Arial"
		      ShowName		      off
		      Inputs		      "[5 3]"
		    }
		    Block {
		      BlockType		      Mux
		      Name		      "Mux1"
		      Ports		      [3, 1, 0, 0, 0]
		      Position		      [410, 97, 415, 143]
		      BackgroundColor	      black
		      FontName		      "Arial"
		      ShowName		      off
		      Inputs		      "3"
		    }
		    Block {
		      BlockType		      Fcn
		      Name		      "Vc"
		      Position		      [140, 175, 370, 195]
		      FontName		      "Arial"
		      Expr		      "sqrt(579000*((1+u[1]/101325)^(1/"
					      "3.5)-1))"
		    }
		    Block {
		      BlockType		      Fcn
		      Name		      "Ve"
		      Position		      [145, 110, 310, 130]
		      FontName		      "Arial"
		      Expr		      "sqrt(u[8] * 1.63265)"
		    }
		    Block {
		      BlockType		      Fcn
		      Name		      "qc"
		      Position		      [145, 70, 310, 90]
		      FontName		      "Arial"
		      Expr		      "u[2] * ((1+0.2*u[7]^2)^3.5-1)"
		    }
		    Block {
		      BlockType		      Outport
		      Name		      "yad2"
		      Position		      [440, 110, 460, 130]
		      DropShadow	      on
		      FontName		      "Arial"
		      Port		      "1"
		      OutputWhenDisabled      held
		      InitialOutput	      "0"
		    }
		    Line {
		      SrcBlock		      "yad1"
		      SrcPort		      1
		      Points		      [15, 0; 0, -10]
		      DstBlock		      "Mux"
		      DstPort		      2
		    }
		    Line {
		      SrcBlock		      "yatm"
		      SrcPort		      1
		      Points		      [15, 0; 0, 20]
		      DstBlock		      "Mux"
		      DstPort		      1
		    }
		    Line {
		      SrcBlock		      "Mux"
		      SrcPort		      1
		      Points		      [15, 0]
		      Branch {
			Points			[0, -20]
			DstBlock		"qc"
			DstPort			1
		      }
		      Branch {
			Points			[0, 20]
			DstBlock		"Ve"
			DstPort			1
		      }
		    }
		    Line {
		      SrcBlock		      "Ve"
		      SrcPort		      1
		      DstBlock		      "Mux1"
		      DstPort		      2
		    }
		    Line {
		      SrcBlock		      "Vc"
		      SrcPort		      1
		      Points		      [10, 0; 0, -50]
		      DstBlock		      "Mux1"
		      DstPort		      3
		    }
		    Line {
		      SrcBlock		      "qc"
		      SrcPort		      1
		      Points		      [20, 0]
		      Branch {
			Points			[0, 70; -215, 0; 0, 35]
			DstBlock		"Vc"
			DstPort			1
		      }
		      Branch {
			Points			[50, 0; 0, 25]
			DstBlock		"Mux1"
			DstPort			1
		      }
		    }
		    Line {
		      SrcBlock		      "Mux1"
		      SrcPort		      1
		      DstBlock		      "yad2"
		      DstPort		      1
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ad3"
		  Ports			  [3, 1, 0, 0, 0]
		  Position		  [280, 176, 340, 224]
		  FontName		  "Arial"
		  ShowName		  off
		  ShowPortLabels	  off
		  MaskType		  "Airdata3"
		  MaskDescription	  "More airdata variables"
		  MaskHelp		  "eval('fdchelp airdata3')"
		  MaskPromptString	  "Mean aerodynamic chord [m]:"
		  MaskStyleString	  "edit"
		  MaskVariables		  "cbar=@1;"
		  MaskDisplay		  "disp('Airdata3')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  none
		  MaskIconUnits		  autoscale
		  MaskValueString	  "GM1(1)"
		  System {
		    Name		    "ad3"
		    Location		    [4, 42, 470, 243]
		    Open		    off
		    ScreenColor		    white
		    Block {
		      BlockType		      Inport
		      Name		      "x"
		      Position		      [15, 75, 35, 95]
		      DropShadow	      on
		      FontName		      "Arial"
		      Port		      "1"
		      PortWidth		      "-1"
		      SampleTime	      "-1"
		    }
		    Block {
		      BlockType		      Inport
		      Name		      "yatm"
		      Position		      [15, 115, 35, 135]
		      DropShadow	      on
		      FontName		      "Arial"
		      Port		      "2"
		      PortWidth		      "-1"
		      SampleTime	      "-1"
		    }
		    Block {
		      BlockType		      Inport
		      Name		      "yad1"
		      Position		      [15, 155, 35, 175]
		      DropShadow	      on
		      FontName		      "Arial"
		      Port		      "3"
		      PortWidth		      "-1"
		      SampleTime	      "-1"
		    }
		    Block {
		      BlockType		      SubSystem
		      Name		      "0"
		      Ports		      [0, 0, 0, 0, 0]
		      Position		      [10, 10, 160, 40]
		      ForegroundColor	      blue
		      DropShadow	      on
		      FontName		      "Arial"
		      ShowName		      off
		      OpenFcn		      "fdchelp airdata3"
		      ShowPortLabels	      off
		      MaskDisplay	      "disp('AIRDATA3\\nM.O. Rauw, "
					      "October 1997')"
		      MaskIconFrame	      on
		      MaskIconOpaque	      on
		      MaskIconRotate	      none
		      MaskIconUnits	      autoscale
		      System {
			Name			"0"
			Location		[99, 72, 274, 227]
			Open			off
			ScreenColor		white
		      }
		    }
		    Block {
		      BlockType		      Mux
		      Name		      "Mux"
		      Ports		      [3, 1, 0, 0, 0]
		      Position		      [395, 65, 400, 185]
		      BackgroundColor	      black
		      FontName		      "Arial"
		      ShowName		      off
		      Inputs		      "3"
		    }
		    Block {
		      BlockType		      Mux
		      Name		      "Mux1"
		      Ports		      [3, 1, 0, 0, 0]
		      Position		      [65, 64, 70, 186]
		      BackgroundColor	      black
		      FontName		      "Arial"
		      ShowName		      off
		      Inputs		      "[12 5 3]"
		    }
		    Block {
		      BlockType		      Fcn
		      Name		      "Re"
		      Position		      [115, 115, 270, 135]
		      FontName		      "Arial"
		      Expr		      "(u[13]*u[1])/u[16]"
		    }
		    Block {
		      BlockType		      Fcn
		      Name		      "Tt"
		      Position		      [115, 75, 270, 95]
		      FontName		      "Arial"
		      Expr		      "u[15] * (1+0.2*u[19]^2)"
		    }
		    Block {
		      BlockType		      Gain
		      Name		      "cbar"
		      Position		      [315, 147, 365, 183]
		      FontName		      "Arial"
		      ShowName		      off
		      Gain		      "cbar"
		    }
		    Block {
		      BlockType		      Outport
		      Name		      "yad3"
		      Position		      [430, 115, 450, 135]
		      DropShadow	      on
		      FontName		      "Arial"
		      Port		      "1"
		      OutputWhenDisabled      held
		      InitialOutput	      "0"
		    }
		    Line {
		      SrcBlock		      "yad1"
		      SrcPort		      1
		      DstBlock		      "Mux1"
		      DstPort		      3
		    }
		    Line {
		      SrcBlock		      "yatm"
		      SrcPort		      1
		      DstBlock		      "Mux1"
		      DstPort		      2
		    }
		    Line {
		      SrcBlock		      "x"
		      SrcPort		      1
		      DstBlock		      "Mux1"
		      DstPort		      1
		    }
		    Line {
		      SrcBlock		      "Re"
		      SrcPort		      1
		      Points		      [15, 0]
		      Branch {
			DstBlock		"Mux"
			DstPort			2
		      }
		      Branch {
			Points			[0, 40]
			DstBlock		"cbar"
			DstPort			1
		      }
		    }
		    Line {
		      SrcBlock		      "Mux1"
		      SrcPort		      1
		      Points		      [20, 0]
		      Branch {
			DstBlock		"Re"
			DstPort			1
		      }
		      Branch {
			Points			[0, -40]
			DstBlock		"Tt"
			DstPort			1
		      }
		    }
		    Line {
		      SrcBlock		      "Mux"
		      SrcPort		      1
		      DstBlock		      "yad3"
		      DstPort		      1
		    }
		    Line {
		      SrcBlock		      "Tt"
		      SrcPort		      1
		      DstBlock		      "Mux"
		      DstPort		      1
		    }
		    Line {
		      SrcBlock		      "cbar"
		      SrcPort		      1
		      DstBlock		      "Mux"
		      DstPort		      3
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "atm"
		  Ports			  [1, 1, 0, 0, 0]
		  Position		  [85, 53, 145, 77]
		  FontName		  "Arial"
		  ShowName		  off
		  ShowPortLabels	  off
		  MaskType		  "Atmosph"
		  MaskDescription	  "Atmosphere variables"
		  MaskHelp		  "eval('fdchelp atmosph')"
		  MaskDisplay		  "disp('Atmosph')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  none
		  MaskIconUnits		  autoscale
		  System {
		    Name		    "atm"
		    Location		    [4, 42, 477, 354]
		    Open		    off
		    ScreenColor		    white
		    Block {
		      BlockType		      Inport
		      Name		      "x"
		      Position		      [10, 100, 30, 120]
		      DropShadow	      on
		      FontName		      "Arial"
		      Port		      "1"
		      PortWidth		      "-1"
		      SampleTime	      "-1"
		    }
		    Block {
		      BlockType		      SubSystem
		      Name		      "0"
		      Ports		      [0, 0, 0, 0, 0]
		      Position		      [5, 5, 155, 35]
		      ForegroundColor	      blue
		      DropShadow	      on
		      FontName		      "Arial"
		      ShowName		      off
		      OpenFcn		      "fdchelp atmosph"
		      ShowPortLabels	      off
		      MaskDisplay	      "disp('ATMOSPH\\nM.O. Rauw, "
					      "October 1997')"
		      MaskIconFrame	      on
		      MaskIconOpaque	      on
		      MaskIconRotate	      none
		      MaskIconUnits	      autoscale
		      System {
			Name			"0"
			Location		[99, 72, 274, 227]
			Open			off
			ScreenColor		white
		      }
		    }
		    Block {
		      BlockType		      Mux
		      Name		      "Mux"
		      Ports		      [2, 1, 0, 0, 0]
		      Position		      [365, 50, 370, 130]
		      BackgroundColor	      black
		      FontName		      "Arial"
		      ShowName		      off
		      Inputs		      "2"
		    }
		    Block {
		      BlockType		      Mux
		      Name		      "Mux1"
		      Ports		      [2, 1, 0, 0, 0]
		      Position		      [420, 135, 425, 190]
		      BackgroundColor	      black
		      FontName		      "Arial"
		      ShowName		      off
		      Inputs		      "[2 1]"
		    }
		    Block {
		      BlockType		      Mux
		      Name		      "Mux2"
		      Ports		      [5, 1, 0, 0, 0]
		      Position		      [365, 224, 370, 296]
		      BackgroundColor	      black
		      FontName		      "Arial"
		      ShowName		      off
		      Inputs		      "5"
		    }
		    Block {
		      BlockType		      Fcn
		      Name		      "T"
		      Position		      [75, 100, 300, 120]
		      FontName		      "Arial"
		      Expr		      "288.15 - 0.0065*u[12]"
		    }
		    Block {
		      BlockType		      Fcn
		      Name		      "g"
		      Position		      [75, 60, 300, 80]
		      FontName		      "Arial"
		      Expr		      "9.80665*(6371020/(6371020+u[12])"
					      ")^2"
		    }
		    Block {
		      BlockType		      Fcn

⌨️ 快捷键说明

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