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

📄 aeroblk_vmm.mdl

📁 This model simulates a six-degrees-of-freedom variable mass equations of motion with Simulink and Ae
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		DstPort			1
	      }
	      Branch {
		Points			[0, 40; 120, 0; 0, -20]
		DstBlock		"Aerodynamics"
		DstPort			4
	      }
	    }
	    Line {
	      SrcBlock		      "Incidence, Sideslip,\n& Airspeed"
	      SrcPort		      1
	      Points		      [0, -5]
	      DstBlock		      "Aerodynamics"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Incidence, Sideslip,\n& Airspeed"
	      SrcPort		      3
	      DstBlock		      "Terminator1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Incidence, Sideslip,\n& Airspeed"
	      SrcPort		      2
	      DstBlock		      "Terminator"
	      DstPort		      1
	    }
	    Line {
	      Name		      "<g>"
	      Labels		      [0, 0]
	      SrcBlock		      "Bus\nSelector2"
	      SrcPort		      1
	      Points		      [15, 0; 0, -35]
	      DstBlock		      "weight"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "weight"
	      SrcPort		      1
	      DstBlock		      "Gravity Vector"
	      DstPort		      1
	    }
	    Line {
	      Name		      "<CG>"
	      Labels		      [0, 0]
	      SrcBlock		      "Bus\nSelector1"
	      SrcPort		      1
	      Points		      [5, 0]
	      Branch {
		DstBlock		"Aerodynamics"
		DstPort			5
	      }
	      Branch {
		Points			[0, 45]
		DstBlock		"Create Statically \nStable CP"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Create Statically \nStable CP"
	      SrcPort		      1
	      DstBlock		      "Aerodynamics"
	      DstPort		      6
	    }
	    Line {
	      SrcBlock		      "Reshape"
	      SrcPort		      1
	      DstBlock		      "To body axes"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Find CG & dCG"
	  Ports			  [1, 2]
	  Position		  [100, 271, 165, 369]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskHideContents	  off
	  Port {
	    PortNumber		    1
	    Name		    "CG"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	  Port {
	    PortNumber		    2
	    Name		    "dCG"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	  System {
	    Name		    "Find CG & dCG"
	    Location		    [354, 201, 983, 618]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "[0.752941, 0.752941, 0.752941]"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Motor Bus"
	      Position		      [15, 243, 45, 257]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      BusSelector
	      Name		      "Bus\nSelector1"
	      Ports		      [1, 2]
	      Position		      [275, 175, 280, 210]
	      ShowName		      off
	      OutputSignals	      "mp,dCGp"
	      Port {
		PortNumber		1
		Name			"<mp>"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	      Port {
		PortNumber		2
		Name			"<dCGp>"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	    }
	    Block {
	      BlockType		      BusSelector
	      Name		      "Bus\nSelector2"
	      Ports		      [1, 1]
	      Position		      [360, 62, 365, 88]
	      ShowName		      off
	      OutputSignals	      "Propellant.m"
	      Port {
		PortNumber		1
		Name			"<m>"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	    }
	    Block {
	      BlockType		      BusSelector
	      Name		      "Bus\nSelector3"
	      Ports		      [1, 2]
	      Position		      [220, 267, 225, 323]
	      ShowName		      off
	      OutputSignals	      "Propellant.m_dot,Propellant.m"
	      Port {
		PortNumber		1
		Name			"<m_dot>"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	      Port {
		PortNumber		2
		Name			"<m>"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	    }
	    Block {
	      BlockType		      BusSelector
	      Name		      "Bus\nSelector4"
	      Ports		      [1, 2]
	      Position		      [260, 105, 265, 140]
	      ShowName		      off
	      OutputSignals	      "Propellant.m_dot,CGp"
	      Port {
		PortNumber		1
		Name			"<m_dot>"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	      Port {
		PortNumber		2
		Name			"<CGp>"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Calculate CG"
	      Ports		      [1, 1]
	      Position		      [110, 231, 185, 269]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      MaskHideContents	      off
	      System {
		Name			"Calculate CG"
		Location		[75, 97, 605, 653]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"[0.752941, 0.752941, 0.752941]"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		TiledPaperMargins	"[0.500000, 0.500000, 0.500000, 0.5000"
"00]"
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "Bus"
		  Position		  [55, 343, 85, 357]
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  BusSelector
		  Name			  "Bus\nSelector"
		  Ports			  [1, 2]
		  Position		  [140, 311, 145, 389]
		  ShowName		  off
		  OutputSignals		  "CGp,mp"
		  Port {
		    PortNumber		    1
		    Name		    "<CGp>"
		    RTWStorageClass	    "Auto"
		    DataLoggingNameMode	    "SignalName"
		  }
		  Port {
		    PortNumber		    2
		    Name		    "<mp>"
		    RTWStorageClass	    "Auto"
		    DataLoggingNameMode	    "SignalName"
		  }
		}
		Block {
		  BlockType		  BusSelector
		  Name			  "Bus\nSelector1"
		  Ports			  [1, 1]
		  Position		  [325, 469, 330, 521]
		  ShowName		  off
		  OutputSignals		  "Propellant.m"
		  Port {
		    PortNumber		    1
		    Name		    "<m>"
		    RTWStorageClass	    "Auto"
		    DataLoggingNameMode	    "SignalName"
		  }
		}
		Block {
		  BlockType		  Constant
		  Name			  "Forward Distance"
		  Position		  [95, 167, 175, 193]
		  Value			  "vmm_dfwd"
		}
		Block {
		  BlockType		  Constant
		  Name			  "Forward Mass"
		  Position		  [95, 127, 175, 153]
		  Value			  "vmm_mfwd"
		}
		Block {
		  BlockType		  Constant
		  Name			  "Midsection Distance"
		  Position		  [95, 72, 175, 98]
		  Value			  "vmm_dmid"
		}
		Block {
		  BlockType		  Constant
		  Name			  "Midsection Mass"
		  Position		  [95, 32, 175, 58]
		  Value			  "vmm_mmid"
		}
		Block {
		  BlockType		  Constant
		  Name			  "Motor Casing Distance"
		  Position		  [95, 262, 175, 288]
		  Value			  "vmm_dmc"
		}
		Block {
		  BlockType		  Constant
		  Name			  "Motor Casing Mass"
		  Position		  [95, 222, 175, 248]
		  Value			  "vmm_mmc"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product"
		  Ports			  [2, 1]
		  Position		  [200, 23, 240, 107]
		  ShowName		  off
		  InputSameDT		  off
		  RndMeth		  "Floor"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product1"
		  Ports			  [2, 1]
		  Position		  [200, 118, 240, 202]
		  ShowName		  off
		  InputSameDT		  off
		  RndMeth		  "Floor"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product2"
		  Ports			  [2, 1]
		  Position		  [200, 213, 240, 297]
		  ShowName		  off
		  InputSameDT		  off
		  RndMeth		  "Floor"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product3"
		  Ports			  [2, 1]
		  Position		  [200, 308, 240, 392]
		  ShowName		  off
		  InputSameDT		  off
		  RndMeth		  "Floor"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product4"
		  Ports			  [2, 1]
		  Position		  [380, 233, 420, 317]
		  ShowName		  off
		  Inputs		  "*/"
		  InputSameDT		  off
		  RndMeth		  "Floor"
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum"
		  Ports			  [3, 1]
		  Position		  [265, 20, 285, 300]
		  ShowName		  off
		  Inputs		  "3"
		  InputSameDT		  off
		  OutDataTypeMode	  "Inherit via internal rule"
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum2"
		  Ports			  [2, 1]
		  Position		  [315, 63, 335, 447]
		  ShowName		  off
		  Inputs		  "2"
		  InputSameDT		  off
		  OutDataTypeMode	  "Inherit via internal rule"
		}
		Block {
		  BlockType		  Outport
		  Name			  "CG"
		  Position		  [450, 268, 480, 282]
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		}
		Line {
		  SrcBlock		  "Product4"
		  SrcPort		  1
		  DstBlock		  "CG"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Sum2"
		  SrcPort		  1
		  DstBlock		  "Product4"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Midsection Distance"
		  SrcPort		  1
		  DstBlock		  "Product"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Midsection Mass"
		  SrcPort		  1
		  DstBlock		  "Product"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Forward Distance"
		  SrcPort		  1
		  DstBlock		  "Product1"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Forward Mass"
		  SrcPort		  1
		  DstBlock		  "Product1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Motor Casing Distance"
		  SrcPort		  1
		  DstBlock		  "Product2"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Motor Casing Mass"
		  SrcPort		  1
		  DstBlock		  "Product2"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Product"
		  SrcPort		  1
		  DstBlock		  "Sum"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Product1"
		  SrcPort		  1
		  DstBlock		  "Sum"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Product2"
		  SrcPort		  1
		  DstBlock		  "Sum"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "Product3"
		  SrcPort		  1
		  DstBlock		  "Sum2"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Sum"
		  SrcPort		  1
		  DstBlock		  "Sum2"
		  DstPort		  1
		}
		Line {
		  Name			  "<mp>"
		  Labels		  [0, 0]
		  SrcBlock		  "Bus\nSelector"
		  SrcPort		  2
		  DstBlock		  "Product3"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Bus"
		  SrcPort		  1
		  Points		  [0, 0; 15, 0]
		  Branch {
		    Points		    [0, 145]
		    DstBlock		    "Bus\nSelector1"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "Bus\nSelector"
		    DstPort		    1
		  }
		}
		Line {
		  Name			  "<m>"
		  Labels		  [0, 0]
		  SrcBlock		  "Bus\nSelector1"
		  SrcPort		  1
		  Points		  [20, 0; 0, -200]
		  DstBlock		  "Product4"
		  DstPort		  2
		}
		Line {
		  Name			  "<CGp>"
		  Labels		  [0, 0]
		  SrcBlock		  "Bus\nSelector"
		  SrcPort		  1
		  DstBlock		  "Product3"
		  DstPort		  1
		}
	      }
	    }
	   

⌨️ 快捷键说明

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