Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Check stability for a certification flight

Read HPR Sim’s stability margin for a certification flight with every motor you might use, and see where it can read high.

This guide reads HPR Sim’s stability numbers for a rocket you plan to fly for a certification. It checks them with every motor you might use, and says how far to trust them. It’s for a flier preparing a certification flight, and the rules it quotes are Level 1’s. HPR Sim gives no verdict. The safety codes ask you to check stability, and the range safety officer (RSO) and your certifying member decide.

HPR Sim’s margin at rod clearance agrees with OpenRocket 24.12’s to within 0.016 calibers on 41 of OpenRocket’s 53 example flights. But no margin of HPR Sim’s has been checked against a measured rocket. On OpenRocket’s two pod examples it reads 0.07 calibers above OpenRocket’s. Near the speed of sound HPR Sim’s flight margin also reads high (accuracy of the margin). The outputs on this page are made by running each command, and CI checks that they still match what hpr prints.

The steps:

  1. Know what the rules ask.
  2. Read the margin.
  3. Check every motor you might fly.
  4. Compare with published guidance.
  5. Check the rail exit speed.
  6. Fly the rocket you built.

What the rules ask

The safety codes require a stability check, but name no margin. The words below are the organizations’ own, read on October 4, 2026. Check their current pages before your flight. This is not legal or regulatory advice.

  • The NAR’s High Power Rocket Safety Code is quoted from its revision of August 2012. It says: “I will check the stability of my rocket before flight and will not fly it if it cannot be determined to be stable.”
  • Tripoli’s Unified Safety Code is quoted from version 2, effective January 2026. In 7-1.2 it says: “Stability; the flier shall document the location of the center of pressure and be able to demonstrate the center of gravity.”
  • A Level 1 flight uses an H or I motor. The NAR’s Level 1 procedures (revision of January 1, 2022) say “at least one H or I impulse class motor”. Tripoli’s say “a single certified H or I motor”. Neither page states a margin.

In the NAR’s procedures, the candidate may be asked about “the model’s center of gravity and center of pressure, methods used to determine model stability”. The output of hpr sim gives both points, as the rocket leaves the rail, and their separation. --json and --export give more.

Read the margin

The static margin line is the distance from the center of gravity back to the center of pressure, in body diameters (calibers). It gives that first as the rocket leaves the rail, then as its least value up to apogee. A positive margin turns the nose back into the oncoming air when the rocket is disturbed (stability margin). This flies the guides’ own rocket, level-1.ork, on its default motor, an AeroTech H170M:

$ hpr sim validation/fixtures/ork/guides/level-1.ork
Level 1 guide rocket (level-1.ork)
configuration 1 of 2: [H170M-10]
help: --config flies the others, by number or name: 2 [I175WS-9]
a simulated flight, not a measurement

static margin         1.70 calibers off the rail; least 1.70 calibers, at 0.12 s, before apogee
CG and CP             0.811 m (31.9 in) and 0.923 m (36.3 in) aft of the nose tip, off the rail
apogee                1065.1 m (3494 ft) above the site at 11.62 s
rail exit speed       26.3 m/s (86 ft/s)
delay                 apogee 9.48 s after burnout, with the charges held; the motor's set delay: 10 s; its charge fires 0.52 s after apogee; the delay may fire 2.0 s short or long (NFPA 1125): climbing at 14.7 m/s (48 ft/s) to 2.52 s after apogee (no speed: falling with nothing open, a fall HPR Sim doesn't predict)
descent               4.4 m/s (15 ft/s) at landing under `Parachute`

motor: 1 × H170M (from the bundled catalog, as of 2026-10-28) in `Motor mount tube`, lit at launch
recovery: `Parachute` at the ejection charge, 0.520 m² of drag area, opened at 12.14 s
launched at 0.00000° N, 0.00000° E, 0 m (0 ft) above sea level, from 1.5 m (4.9 ft) of vertical rail above its aft end, in calm air
note: the file's 1 recovery device flies as OpenRocket flies it. Each opens fully at its event, with the file's drag coefficient or OpenRocket's own. Once one opens, the rocket descends as a point under the open devices' drag alone
warning: drag: issue #67: a cone-like nose's or shoulder's pressure drag reads high from Mach 0.8 (about twice a measured cone's at Mach 0.85, still +15% at 1.5). So the apogee, top speed and drift read low, and the flutter margin and largest dynamic pressure look better than they are. This flight reaches Mach 0.84 at 1.7 s
warning: drag: issue #68: base drag reads high from Mach 0.8 to 1.2 (0.225 against a measured 0.156 at Mach 0.9). So the apogee, top speed and drift read low, and the flutter margin and largest dynamic pressure look better than they are. This flight reaches Mach 0.84 at 1.7 s
warning: drag: issue #18: skin friction is taken as fully turbulent; on a smooth surface a laminar run near the nose lowers it, by 3.6% on RocketPy's Calisto at Mach 0.3. If this surface is that smooth, the apogee, top speed and drift read low, and the flutter margin and largest dynamic pressure look better than they are
warning: stability: issue #172: the static margin read up to 0.1108 calibers above OpenRocket's on four private designs, cause unknown; this flight's may read high by as much
warning: stability: issue #1290: on one of two wind-tunnel models, the center of pressure sat 0.11 to 0.92 calibers aft of the tunnel's at Mach 0.6 and 0.8, as the report's curve reads; fitted over −3° to 4°, about 0.08 at 0.8. So from Mach 0.6 the flight margin may read high. This flight reaches Mach 0.84 at 1.7 s
warning: stability: issue #1198: the center of pressure sat 0.67 to 1.35 calibers aft of a wind tunnel's on two models at Mach 0.9, so past Mach 0.8 the flight margin may read high. This flight reaches Mach 0.84 at 1.7 s
help: issues: https://github.com/nrdptel/fusionspace-eridanus/issues/<number>

event                   time                 height                    speed
liftoff               0.00 s      0.4 m      (1 ft)     0.0 m/s     (0 ft/s)
rail exit             0.12 s      1.9 m      (6 ft)    26.3 m/s    (86 ft/s)
burnout               2.14 s    406.4 m   (1333 ft)   240.4 m/s   (789 ft/s)
apogee               11.62 s   1065.1 m   (3494 ft)     0.1 m/s     (0 ft/s)
charge               12.14 s   1063.7 m   (3490 ft)     5.1 m/s    (17 ft/s)
deployment           12.14 s   1063.7 m   (3490 ft)     5.1 m/s    (17 ft/s), airspeed 5.1 m/s (17 ft/s)
ground hit          245.78 s      0.0 m      (0 ft)     4.4 m/s    (15 ft/s)
(heights are the center of gravity's above the site; speeds are over the ground, and a deployment's
airspeed through the air)

top speed             285.6 m/s (937 ft/s) at 1.73 s
top Mach number       0.842
landing               0.7 m (2 ft) from the pad at 245.78 s, at 4.4 m/s (15 ft/s)

How far to trust it. Simulated from the design file, not measured. Against 60 logged flights of
fliers' own designs, the simulated apogee averaged 8.0% above the logged one. HPR Sim flew each in
its day's air from ERA5, a weather reanalysis, and each logged apogee is the height climbed in it.
The simulated apogee was within 10% on 31 and read low on 15, by at most 20%. This flight was flown
in the standard atmosphere. On a day warmer than it at the site, the rocket can climb higher than
this apogee; --weather flies the day's air. Plan a waiver or a field's ceiling with room above this
apogee; the altimeter's reading is the one to log, and the RSO decides.
More: https://hpr.fusionspace.co/accuracy.html

A caliber here is the rocket’s widest body diameter, 66 mm (2.6 in). So a margin of 1.70 calibers puts the center of pressure 1.70 × 66 mm ≈ 112 mm (4.4 in) behind the center of gravity. The CG and CP line gives the two points it came from, measured from the nose tip in meters and inches. They’re 0.811 m (31.9 in) and 0.923 m (36.3 in), 112 mm (4.4 in) apart.

Both points are the stations as the rocket leaves the rail, 0.12 s into the burn here, not on the pad. Some propellant has burned by then, so this center of gravity is a little forward of where the loaded rocket balances on the pad. So the margin on the pad is a little smaller than the one printed. Balance the loaded rocket, motor in, and compare where it balances with the line’s center of gravity before trusting the margin. Each millimeter the balance point sits aft of it takes a millimeter off the distance to the center of pressure.

The simulator computes the static margin at Mach 0, with the air along the rocket’s axis. The margin grows as propellant burns and the center of gravity moves forward. So its least value in flight is usually the one at the rail. --json also gives the flight margin, at the flight’s own Mach number (min_flight_margin_cal), and where each least value falls (Flight metrics).

Check every motor you might fly

The margin depends on the motor, so check each one you might fly, with its delay. A motor’s mass sits behind the center of gravity, so a heavier motor moves the center of gravity aft and shrinks the margin. The guide rocket’s second configuration flies an I175WS:

$ hpr sim validation/fixtures/ork/guides/level-1.ork --config 2
Level 1 guide rocket (level-1.ork)
configuration 2 of 2: [I175WS-9]
help: --config flies the others, by number or name: 1 [H170M-10]
a simulated flight, not a measurement

static margin         1.67 calibers off the rail; least 1.67 calibers, at 0.14 s, before apogee
CG and CP             0.813 m (32.0 in) and 0.923 m (36.3 in) aft of the nose tip, off the rail
apogee                1100.7 m (3611 ft) above the site at 11.48 s
rail exit speed       28.9 m/s (95 ft/s)
delay                 apogee 9.82 s after burnout, with the charges held; the motor's set delay: 9 s; its charge fires 0.82 s before apogee; the delay may fire 1.8 s short or long (NFPA 1125): climbing at 26.6 m/s (87 ft/s) to falling at 9.5 m/s (31 ft/s)
descent               4.5 m/s (15 ft/s) at landing under `Parachute`

motor: 1 × I175WS (from the bundled catalog, as of 2026-10-28) in `Motor mount tube`, lit at launch
recovery: `Parachute` at the ejection charge, 0.520 m² of drag area, opened at 10.97 s
launched at 0.00000° N, 0.00000° E, 0 m (0 ft) above sea level, from 1.5 m (4.9 ft) of vertical rail above its aft end, in calm air
note: the file's 1 recovery device flies as OpenRocket flies it. Each opens fully at its event, with the file's drag coefficient or OpenRocket's own. Once one opens, the rocket descends as a point under the open devices' drag alone
warning: drag: issue #67: a cone-like nose's or shoulder's pressure drag reads high from Mach 0.8 (about twice a measured cone's at Mach 0.85, still +15% at 1.5). So the apogee, top speed and drift read low, and the flutter margin and largest dynamic pressure look better than they are. This flight reaches Mach 0.83 at 1.8 s
warning: drag: issue #68: base drag reads high from Mach 0.8 to 1.2 (0.225 against a measured 0.156 at Mach 0.9). So the apogee, top speed and drift read low, and the flutter margin and largest dynamic pressure look better than they are. This flight reaches Mach 0.83 at 1.8 s
warning: drag: issue #18: skin friction is taken as fully turbulent; on a smooth surface a laminar run near the nose lowers it, by 3.6% on RocketPy's Calisto at Mach 0.3. If this surface is that smooth, the apogee, top speed and drift read low, and the flutter margin and largest dynamic pressure look better than they are
warning: stability: issue #172: the static margin read up to 0.1108 calibers above OpenRocket's on four private designs, cause unknown; this flight's may read high by as much
warning: stability: issue #1290: on one of two wind-tunnel models, the center of pressure sat 0.11 to 0.92 calibers aft of the tunnel's at Mach 0.6 and 0.8, as the report's curve reads; fitted over −3° to 4°, about 0.08 at 0.8. So from Mach 0.6 the flight margin may read high. This flight reaches Mach 0.83 at 1.8 s
warning: stability: issue #1198: the center of pressure sat 0.67 to 1.35 calibers aft of a wind tunnel's on two models at Mach 0.9, so past Mach 0.8 the flight margin may read high. This flight reaches Mach 0.83 at 1.8 s
help: issues: https://github.com/nrdptel/fusionspace-eridanus/issues/<number>

event                   time                 height                    speed
liftoff               0.02 s      0.4 m      (1 ft)     0.0 m/s     (0 ft/s)
rail exit             0.14 s      1.9 m      (6 ft)    28.9 m/s    (95 ft/s)
burnout               1.97 s    385.2 m   (1264 ft)   260.5 m/s   (855 ft/s)
charge               10.97 s   1099.1 m   (3606 ft)     8.0 m/s    (26 ft/s)
deployment           10.97 s   1099.1 m   (3606 ft)     8.0 m/s    (26 ft/s), airspeed 8.0 m/s (26 ft/s)
apogee               11.48 s   1100.7 m   (3611 ft)     0.0 m/s     (0 ft/s)
ground hit          247.48 s      0.0 m      (0 ft)     4.5 m/s    (15 ft/s)
(heights are the center of gravity's above the site; speeds are over the ground, and a deployment's
airspeed through the air)

top speed             281.3 m/s (923 ft/s) at 1.75 s
top Mach number       0.830
landing               0.7 m (2 ft) from the pad at 247.48 s, at 4.5 m/s (15 ft/s)

How far to trust it. Simulated from the design file, not measured. Against 60 logged flights of
fliers' own designs, the simulated apogee averaged 8.0% above the logged one. HPR Sim flew each in
its day's air from ERA5, a weather reanalysis, and each logged apogee is the height climbed in it.
The simulated apogee was within 10% on 31 and read low on 15, by at most 20%. This flight was flown
in the standard atmosphere. On a day warmer than it at the site, the rocket can climb higher than
this apogee; --weather flies the day's air. Plan a waiver or a field's ceiling with room above this
apogee; the altimeter's reading is the one to log, and the RSO decides.
More: https://hpr.fusionspace.co/accuracy.html

--motor flies any other motor in the mount, and --delay sets its ejection delay (Pick a motor). There, the heaviest motor tried, a Loki I377, leaves the guide rocket the smallest margin of the motors flown. It also takes the rocket past Mach 1, where the guidance below asks for more.

Compare with published guidance

Published rules of thumb set a lower bound of one caliber, and more for fast flights. These are the sources’ guidance, not the simulator’s judgment.

  • James Barrowman devised the standard way to find the center of pressure. He wrote: “A good rule of thumb is to have the static margin equal to the largest diameter of the rocket”. He also wrote: “Remember that one maximum body diameter is the smallest safe static margin”. Both are in Stability of a Model Rocket in Flight, Centuri Technical Information Report TIR-30, 1970. It’s reprinted in this scanned compilation, PDF pages 73 and 76.
  • OpenRocket’s user guide gives its recommendation on the page Overrides and surface finish. “The recommended stability margin for subsonic flights is not less than 1.0 caliber, and not less than 2.0 calibers for transonic and supersonic flights”.
  • NASA’s Student Launch handbook for 2027 asks for “a minimum static stability margin of 2.0 while sitting on the pad”.
  • The Spaceport America Cup’s design guide (2027 REV P1, effective October 15, 2026) states its limits as a share of the rocket’s length instead. Its section 10.2.1 (page 43) asks for a margin of at least 7.5% on a subsonic flight. The minimum rises to 10% if the flight is supersonic at any point. Both hold from launch through motor burnout. Section 10.3.1 (page 44) allows at most 18% at launch. The 2026 guide held the minimum longer, until the first recovery deployment. HPR Sim’s least margin runs on past burnout to apogee, so it can read below the guide’s.

A large margin isn’t free. A very stable rocket turns into a crosswind as it leaves the rail (weathercocking), and so flies off the vertical.

The rail and the build

Two checks beyond the margin: how fast the rocket leaves the rail, and the margin of the rocket as built.

Rail exit speed

The rocket must leave the rail fast enough to fly straight, and the codes name no figure. The NAR’s code asks for “rigid guidance until the rocket has attained a speed that ensures a stable flight”. Tripoli’s, in 7-3, asks for guidance “until it has reached the velocity necessary for stable flight”.

Competitions set numbers. In its section 5.3.1, the Spaceport America Cup’s guide asks for at least 25 m/s (82 ft/s). NASA’s Student Launch handbook asks for 15.8 m/s (52 ft/s).

The reason is the wind. Just off the rail, a crosswind meets the rocket at an angle whose tangent is the wind speed over the rocket’s speed. That’s about 8.6° at the guide rocket’s 26.3 m/s (86 ft/s) in a 4 m/s (8.9 mph) crosswind. The tangent is 4 / 26.3 = 0.152, and the angle whose tangent is 0.152 is 8.6°.

The larger that angle of attack, the further the rocket turns into the wind. And the simulator’s aerodynamics hold only at small angles. Both of its margins are taken with the air along the axis, at no angle at all. A longer rail raises the exit speed. --rail-length sets the length from the rocket’s aft end to the rail’s top, so take off any standoff the rocket sits on, and --wind sets the wind (Fly your .ork).

Fly the rocket you built

A design’s center of gravity is a calculation. Your built rocket’s is a measurement, and the codes ask you to demonstrate it. Weigh the finished rocket, ready to fly but without its motor, and balance it to find its center of gravity. In OpenRocket, set that mass and center of gravity as overrides on the stage, covering its parts. Save, and fly the file again with hpr sim, which reads those overrides (the .ork page).

Leave the motor out of the measurement. An override never covers a motor, in HPR Sim or OpenRocket, and both add the motor’s own mass. So a rocket weighed with its motor in would carry it twice. The margin then rests on your rocket’s measured mass, not the drawing’s.

Accuracy of the margin

The margin’s checks, case by case:

  • On OpenRocket’s examples, HPR Sim’s margin is within 0.016 calibers on 41 of 53 flights. For this comparison it’s taken with the air along the rocket’s axis, as OpenRocket’s is. The margin hpr sim prints is the weakest plane’s, which on a rocket with a fin set of one or two fins can be lower.

  • On the three flights of the three-stage example, HPR Sim’s margin is 0.039 to 0.058 calibers below OpenRocket’s. HPR Sim’s center of mass at rod clearance sits 0.043 to 0.062 calibers further aft than OpenRocket’s there, where OpenRocket’s recorded mass reads light (#185). That cause is not yet sized.

  • On the tube-fin example, a rocket with tube fins, HPR Sim’s margin is 1.08 calibers below OpenRocket’s. HPR Sim gives 0.79 calibers to OpenRocket’s 1.87 calibers. Neither program has been checked against a measured tube-fin rocket. Check such a design in both, and treat the smaller margin as the more cautious figure, not a bound.

  • On the five flights of the pods-and-winglets example, Pods--airframes and winglets, HPR Sim’s margin is 0.071 to 0.076 calibers above OpenRocket’s. That’s the flattering side: HPR Sim calls the rocket more stable than OpenRocket does. Two causes are open. One is how the two programs count fins that interfere across sets (#325). The other is the center of pressure of its kinked freeform wings (#326).

    A flight whose fin sets share a station, more than four fins between them, warns of #325. A flight with a freeform fin set warns of #326. On a design with pods or freeform fins, check the margin in both. Treat the smaller as the more cautious figure, not a bound. The three flights of Pods--powered with recovery deployment read 0.070 calibers above OpenRocket’s too, cause not yet traced.

  • On 35 flights of 11 private designs, HPR Sim’s margin runs from 0.0166 calibers below OpenRocket’s to 0.1108 above. Four designs read 0.0350 to 0.1108 calibers more stable in HPR Sim than in OpenRocket (the private designs). None of the four has a measured cause yet. #172 and #186 are two of the open causes.

    A fifth, launched from a tilted rod, reads 0.0125 to 0.0366 above, most of it traced to the tilt. Reading more stable is the flattering side, so leave room for it near any limit.

  • Near the speed of sound, between Mach 0.8 and 1.2, HPR Sim’s center of pressure is up to 2.36 calibers behind NASA’s wind-tunnel data (Known gaps). Between those speeds, wherever it misses by more than half a caliber, it sits behind. So the flight margin there reads high: the flattering side (Stability in flight shows it against the tunnel). The static margin is computed at Mach 0, so it says nothing about the rocket’s stability in that range. Use the transonic guidance above.

FusionSpace HPRVersion 0.1.0Issued 2026-11-21In preparationAbout HPR Sim