DevelopSpace is the process of migrating content to our new website at DevelopSpace.org.

The content on this site is being preserved for historical purposes, however please visit our new site for the most up to date information.

MATLAB Simulation

From DevelopSpace
Jump to navigation Jump to search

Updated Simulation

File:Simulation.zip

January 17, 2008



Simulation files

Click below to download: File:Sim 2007 Oct 1.zip

To run a simulation:

  • Check out motors.m, if the motor you want isn't there, add it.
  • Edit vehiclesetup.m to reflect the vehicle parameters - the file in the zip is set up for something approximately like our guess at a competition rocket.
  • Edit drag.m if you want to change the Cd or perhaps vary it with airflow characteristics
  • Type GRAPH_SUPPRESS=0 (or 1 if you don't want a whole pile o' graphs)
  • Type simulate

Other useful files in this zip:

  • Atmosphere.m - a recent, accurate model of the atmosphere (pressure, density, temperature, speed of sound) at high altitudes
  • balloonlift.m - a very rough and untested model of how much a balloon can lift, but maybe a useful starting point for something better

Henry (hallam at mit dot edu) wrote all of this apart from the Atmosphere code, so ask him if it's confusing.

Results

Media:rocket_sizing.xls


Simulation State Variables:

  • engine size/hybrid?
  • nose cone design
  • fins, deployable?
  • nozzle modification
  • geometry (tube dia, length)
  • structural mass, material
  • payload mass
  • sensor system: airdata, LINS (inertial nav system)
  • data rate (balloon relay?)
  • recovery mass
  • launch system: first stage/piston system
  • launch angle

Constraints:

Competition

  • descent rate
  • ballistic coeff: 12 lb/in^2
  • I_max = 200,000s
  • comm system

Internal

  • CU Spaceflight: max mass
  • $$
  • Ignition Delay

<math>Insert formula here</math>