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

📄 fdclib3.mdl

📁 MATLAB在飞行动力学和控制中应用的工具
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	  DstBlock		  "Demux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "x"
	  SrcPort		  1
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "Matrix Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Matrix Gain"
	  SrcPort		  1
	  DstBlock		  "Cprop"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  2
	  DstBlock		  "Terminator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  3
	  DstBlock		  "Terminator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  DstBlock		  "Terminator2"
	  DstPort		  1
	}
	Annotation {
	  Position		  [351, 82]
	  VerticalAlignment	  top
	  FontName		  "Arial"
	  Text			  "ytmp"
	}
	Annotation {
	  Position		  [118, 122]
	  VerticalAlignment	  top
	  FontName		  "Arial"
	  Text			  "alpha"
	}
	Annotation {
	  Position		  [117, 72]
	  VerticalAlignment	  top
	  FontName		  "Arial"
	  Text			  "dpt"
	}
	Annotation {
	  Position		  [372, 172]
	  VerticalAlignment	  top
	  ForegroundColor	  red
	  FontName		  "Arial"
	  Text			  "ytmp = [dpt   dpt^3   alpha*dpt^2   dpt*alph"
				  "a^2]'"
	}
	Annotation {
	  Position		  [406, 137]
	  VerticalAlignment	  top
	  ForegroundColor	  red
	  FontName		  "Arial"
	  Text			  "Here: Cprop = EM*ytmp"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "fmdims"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [30, 149, 95, 176]
      FontName		      "Arial"
      ShowName		      off
      ShowPortLabels	      off
      MaskType		      "FMdims"
      MaskDescription	      "Calculate forces and moments from\ndimensionless"
			      " coefficients."
      MaskHelp		      "eval('fdchelp fmdims')"
      MaskPromptString	      "Mean aerodynamic chord [m]:|Wing span [m]:|Wing "
			      "surface [m^2]:"
      MaskStyleString	      "edit,edit,edit"
      MaskVariables	      "cbar=@1;b=@2;S=@3;"
      MaskDisplay	      "disp('FMdims')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      none
      MaskIconUnits	      autoscale
      MaskValueString	      "GM1(1)|GM1(2)|GM1(3)"
      System {
	Name			"fmdims"
	Location		[4, 42, 544, 294]
	Open			off
	ScreenColor		white
	Block {
	  BlockType		  Inport
	  Name			  "yad1"
	  Position		  [25, 100, 45, 120]
	  DropShadow		  on
	  FontName		  "Arial"
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Force /\nmoment\ncoefficients"
	  Position		  [25, 140, 45, 160]
	  DropShadow		  on
	  FontName		  "Arial"
	  Port			  "2"
	  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 fmdims"
	  ShowPortLabels	  off
	  MaskDisplay		  "disp('FMDIMS\\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		  [150, 100, 155, 135]
	  BackgroundColor	  black
	  FontName		  "Arial"
	  ShowName		  off
	  Inputs		  "[3 6]"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [6, 1, 0, 0, 0]
	  Position		  [440, 62, 445, 178]
	  BackgroundColor	  black
	  FontName		  "Arial"
	  ShowName		  off
	  Inputs		  "6"
	}
	Block {
	  BlockType		  Gain
	  Name			  "S"
	  Position		  [75, 136, 110, 164]
	  FontName		  "Arial"
	  ShowName		  off
	  Gain			  "S"
	}
	Block {
	  BlockType		  Gain
	  Name			  "b"
	  Position		  [335, 123, 375, 157]
	  FontName		  "Arial"
	  ShowName		  off
	  Gain			  "b"
	}
	Block {
	  BlockType		  Gain
	  Name			  "b "
	  Position		  [335, 203, 375, 237]
	  FontName		  "Arial"
	  ShowName		  off
	  Gain			  "b"
	}
	Block {
	  BlockType		  Gain
	  Name			  "cbar"
	  Position		  [335, 160, 380, 200]
	  FontName		  "Arial"
	  ShowName		  off
	  Gain			  "cbar"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "qdyn * S * CX"
	  Position		  [220, 20, 310, 40]
	  FontName		  "Arial"
	  Expr			  "u[4]*u[3]"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "qdyn * S * CY"
	  Position		  [220, 55, 310, 75]
	  FontName		  "Arial"
	  Expr			  "u[5]*u[3]"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "qdyn * S * CZ"
	  Position		  [220, 90, 310, 110]
	  FontName		  "Arial"
	  Expr			  "u[6]*u[3]"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "qdyn * S * Cl"
	  Position		  [220, 130, 310, 150]
	  FontName		  "Arial"
	  Expr			  "u[7]*u[3]"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "qdyn * S * Cm"
	  Position		  [220, 170, 310, 190]
	  FontName		  "Arial"
	  Expr			  "u[8]*u[3]"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "qdyn * S * Cn"
	  Position		  [220, 210, 310, 230]
	  FontName		  "Arial"
	  Expr			  "u[9]*u[3]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Forces and\nmoments"
	  Position		  [495, 110, 515, 130]
	  DropShadow		  on
	  FontName		  "Arial"
	  Port			  "1"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "b"
	  SrcPort		  1
	  Points		  [10, 0; 0, -10]
	  DstBlock		  "Mux1"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "qdyn * S * CZ"
	  SrcPort		  1
	  Points		  [75, 0; 0, 10]
	  DstBlock		  "Mux1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "S"
	  SrcPort		  1
	  Points		  [15, 0; 0, -25]
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "qdyn * S * CY"
	  SrcPort		  1
	  Points		  [90, 0; 0, 25]
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "qdyn * S * CX"
	  SrcPort		  1
	  Points		  [100, 0; 0, 40]
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "yad1"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "qdyn * S * Cn"
	  SrcPort		  1
	  DstBlock		  "b "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "qdyn * S * Cm"
	  SrcPort		  1
	  DstBlock		  "cbar"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "qdyn * S * Cl"
	  SrcPort		  1
	  DstBlock		  "b"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  Points		  [35, 0]
	  Branch {
	    Points		    [0, 20]
	    Branch {
	      Points		      [0, 40]
	      Branch {
		Points			[0, 40]
		DstBlock		"qdyn * S * Cn"
		DstPort			1
	      }
	      Branch {
		DstBlock		"qdyn * S * Cm"
		DstPort			1
	      }
	    }
	    Branch {
	      DstBlock		      "qdyn * S * Cl"
	      DstPort		      1
	    }
	  }
	  Branch {
	    Points		    [0, -20]
	    Branch {
	      Points		      [0, -35]
	      Branch {
		DstBlock		"qdyn * S * CY"
		DstPort			1
	      }
	      Branch {
		Points			[0, -35]
		DstBlock		"qdyn * S * CX"
		DstPort			1
	      }
	    }
	    Branch {
	      DstBlock		      "qdyn * S * CZ"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Force /\nmoment\ncoefficients"
	  SrcPort		  1
	  DstBlock		  "S"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "cbar"
	  SrcPort		  1
	  Points		  [20, 0; 0, -30]
	  DstBlock		  "Mux1"
	  DstPort		  5
	}
	Line {
	  SrcBlock		  "b "
	  SrcPort		  1
	  Points		  [35, 0; 0, -50]
	  DstBlock		  "Mux1"
	  DstPort		  6
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "Forces and\nmoments"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "pow"
      Ports		      [3, 1, 0, 0, 0]
      Position		      [30, 44, 95, 86]
      FontName		      "Arial"
      ShowName		      off
      ShowPortLabels	      off
      MaskType		      "Power"
      MaskDescription	      "Engine power and dimensionless\npressure "
			      "increase across propeller\n(model for DHC-2 "
			      "'Beaver')"
      MaskHelp		      "eval('fdchelp power')"
      MaskDisplay	      "disp('Power\\n(Beaver)')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      none
      MaskIconUnits	      autoscale
      System {
	Name			"pow"
	Location		[8, 40, 679, 239]
	Open			off
	ScreenColor		white
	Block {
	  BlockType		  Inport
	  Name			  "x"
	  Position		  [10, 75, 30, 95]
	  DropShadow		  on
	  FontName		  "Arial"
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "uprop"
	  Position		  [10, 115, 30, 135]
	  DropShadow		  on
	  FontName		  "Arial"
	  Port			  "2"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "yatm"
	  Position		  [10, 155, 30, 175]
	  DropShadow		  on
	  FontName		  "Arial"
	  Port			  "3"
	  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 power"
	  ShowPortLabels	  off
	  MaskDisplay		  "disp('POWER\\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		  [50, 66, 55, 184]
	  BackgroundColor	  black
	  FontName		  "Arial"
	  ShowName		  off
	  Inputs		  "[12 2 5]"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [300, 44, 305, 86]
	  BackgroundColor	  black
	  FontName		  "Arial"
	  ShowName		  off
	  Inputs		  "[19 1]"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux2"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [615, 55, 620, 90]
	  BackgroundColor	  black
	  FontName		  "Arial"
	  ShowName		  off
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "P"
	  Position		  [85, 115, 590, 135]
	  FontName		  "Arial"
	  Expr			  "0.7355*(-326.5+0.00412*(u[14]+7.4)*(u[13]+20"
				  "10)+(408.0-0.0965*u[13])*(1.0-u[15]/1.225))"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "dpt"
	  Position		  [325, 55, 580, 75]
	  FontName		  "Arial"
	  Expr			  "0.08696 + 191.18*(u[20]/(0.5*u[15]*u[1]^3))"
	}
	Block {
	  BlockType		  Outport
	  Name			  "ypow"
	  Position		  [640, 65, 660, 85]
	  DropShadow		  on
	  FontName		  "Arial"
	  Port			  "1"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "dpt"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "P"
	  SrcPort		  1
	  Points		  [5, 0; 0, -30]
	  Branch {
	    Points		    [-320, 0; 0, -20]
	    DstBlock		    "Mux1"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Mux2"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Points		    [0, -70]
	    DstBlock		    "Mux1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "P"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "x"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "uprop"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "yatm"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "dpt"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux2"
	  SrcPort		  1
	  DstBlock		  "ypow"
	  DstPort		  1
	}
      }
    }
    Annotation {
      Position		      [144, 7]
      VerticalAlignment	      top
      ForegroundColor	      blue
      FontName		      "Times New Roman"
      FontSize		      14
      FontWeight	      bold
      Text		      "FDC Toolbox - Engine library (Beaver)"
    }
    Annotation {
      Position		      [164, 202]
      VerticalAlignment	      top
      ForegroundColor	      red
      FontName		      "Arial"
      FontSize		      11
      Text		      "All three blocks are necessary to solve the "
			      "aircraft equations \nof motion. Engine blocks "
			      "are valid for the 'Beaver' only!"
    }
    Annotation {
      Position		      [456, 177]
      VerticalAlignment	      top
      FontName		      "Arial"
      Text		      "Engine Group\n(Beaver)"
    }
    Annotation {
      Position		      [454, 42]
      VerticalAlignment	      top
      ForegroundColor	      red
      FontName		      "Arial"
      FontSize		      11
      Text		      "In the system BEAVER, these blocks have \nbeen "
			      "grouped in the subsystem 'Engine Group'.\nClick "
			      "help buttons and subsystem-title blocks\nfor "
			      "more info about inputs, outputs, etc."
    }
    Annotation {
      Position		      [183, 147]
      VerticalAlignment	      top
      FontName		      "Arial"
      Text		      "<--- block to obtain the actual\n      forces "
			      "and moments, also used\nin aerodynamics group"
    }
    Annotation {
      Position		      [200, 102]
      VerticalAlignment	      top
      FontName		      "Arial"
      Text		      "<--- engine forces and moments model\nof "
			      "the 'Beaver' (gives force and mo-\nment coeffici"
			      "ents)"
    }
    Annotation {
      Position		      [199, 52]
      VerticalAlignment	      top
      FontName		      "Arial"
      Text		      "<--- computation of engine power and \ndimension"
			      "less pressure increase across\npropeller "
			      "(for 'Beaver' aircraft only!)"
    }
  }
}

⌨️ 快捷键说明

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