B/A-170X Deathstar · Systems guide

Reaction-control system

The B/A-170X has eight reaction-control nozzles, four on the forebody and the rest on the wings, fed by cryogenic fuel and an oxidiser. The aircraft is fictional. This page describes how the mod decides when to fire the jets and what gas properties it uses to draw the plume. It is not a design of a real thruster, although the gas numbers come from a combustion-equilibrium calculation, and the open questions list the comparison with the real X-15 system the reentry page uses.

How it works

Plan view of the modeled reaction-control lines and outlets. In the flight-line cutaway, select RCS and toggle each color independently.
Plan view of the modeled reaction-control lines and outlets. In the flight-line cutaway, select RCS and toggle each color independently. Swampsoft Aerospace · model art study

The assist logic activates in two situations. In dense air, below 6,000 Pa of dynamic pressure, a stick input above 0.8 of full deflection calls for jets, which stabilise only inside an envelope of 20 degrees of angle of attack and 12 degrees of sideslip. Below 2,500 Pa the jets give full stabilisation, because the aerodynamic surfaces no longer give authority. Between the two the jets are called in when aerodynamic authority falls below 0.14 rad/s^2. A small solver, with six rows and 96 iterations, allocates the requested moment among the eight nozzles. It weighs effort and fuel as costs of 0.000002 and 0.000001, which are tiny weights against moment error, so the allocator prefers to meet the request over saving fuel. The HUD shows jet duty separately from availability: covers can be open and the system READY with zero duty.

Force and fuel come from the flight control code. The forebody nozzles deliver 25,000 N and the wing nozzles 18,000 N. Fuel use is 0.00008 kg for each newton-second. That gives an equivalent specific impulse of about 1,275 s, five times the 248 s that the plume's exit velocity implies. The two differ because the fuel rate is a gameplay setting and the plume velocity is an appearance input; the difference is carried as an open question and not corrected here.

The plume model uses a fixed gas state: exit velocity 2,432 m/s, temperature 2,084.88 K, pressure 149,998 Pa, density 0.26082 kg/m^3, a gas constant of 275.843 J/(kg K), a heat-capacity ratio of 1.2116, an exit Mach number of 2.914 and a graphite mass fraction of 0.2046. The constants are named after a chemical-equilibrium code in the source. They are self-consistent: the speed of sound of that gas is 834.8 m/s, and 2.914 times that is 2,432.6 m/s. The ambient-air terms in the plume model use a heat-capacity ratio of 1.4 and a gas constant of 287.05 J/(kg K). The effects code draws the plume with 16 brightness levels in a band 128 pixels high, with four segments per nozzle, and only within 4,500 m.

The exoatmospheric use of the same jets is on the reentry page.

What is verified: the constants are read from the shipped source. The assist envelope has not been flown in the game for this release.

Specification

  • SimulatedThe value the mod uses in the game, read from its source.
  • DerivedCalculated from other cited values; the working is shown.
Reaction-control system specification
FieldValueUnitBasisSource
Layout
Reaction-control nozzles8countSimulated[3]
Plume segments per nozzle4countSimulated[2]
Allocator rows6countSimulated[3]
Allocator iterations96countSimulated[3]
Assist
Stick input threshold to call for jets0.8fractionSimulated[3]
Dense-air dynamic pressure6,000PaSimulated[3]
Full stabilisation below dynamic pressure2,500PaSimulated[3]
Dense-air maximum angle of attack20°Simulated[3]
Dense-air maximum sideslip12°Simulated[3]
Aerodynamic authority below which jets stabilise0.14rad/s^2Simulated[3]
Effort cost weight0.000002weightSimulated[3]
Fuel cost weight0.000001weightSimulated[3]
Thrust
Fore nozzle force25,000NSimulated[4]
Wing nozzle force18,000NSimulated[4]
Fuel consumption in the game0.00008kg/(N s)Simulated[4]
Plume model
Exit velocity2,432.13m/sSimulated[2]
Exit temperature2,084.88KSimulated[2]
Exit pressure149,998PaSimulated[2]
Exit density0.26082kg/m³Simulated[2]
Gas constant275.843J/(kg K)Simulated[2]
Ratio of specific heats1.2116ratioSimulated[2]
Graphite mass fraction0.2046fractionSimulated[2]
Exit Mach number2.914MachSimulated[2]
Exit speed of sound834.8m/sDerived[2] D1
Equivalent specific impulse of the plume248sDerived[2] [1] D2
Equivalent specific impulse of the game fuel rate1,275sDerived[4] [1] D2
Effects
Plume brightness levels16countSimulated[5]
Plume band height128pxSimulated[5]
Maximum view distance for plume volumes4,500mSimulated[5]

Derivations

How each derived value in the table is calculated, with its inputs and assumptions.

D1 speed of sound of the exit gas

a = sqrt(gamma x R x T) = sqrt(1.2116 x 275.843 x 2,084.88) = sqrt(696,801) = 834.7 m/s. Then 2.914 x 834.7 = 2,432.4 m/s, which matches the recorded 2,432.13 m/s to better than 0.02 %. Inputs 2. The tabulated 834.8 m/s uses the recorded exit velocity divided by the Mach number.

D2 equivalent specific impulse

Isp = v / g0, with g0 = 9.80665 m/s^2 1. Plume: 2,432.13 / 9.80665 = 248.0 s. Game fuel rate: 1 / (0.00008 kg/(N s) x 9.80665) = 1,274.6 s. Ratio 1,274.6 / 248.0 = 5.14. Assumes the plume exit velocity is the effective exhaust velocity, ignoring the pressure term.

References

  1. ReferenceBureau International des Poids et Mesures, 3rd General Conference on Weights and Measures (1901), Resolution 2, declaration of the standard acceleration of gravity, Resolution 2. bipm.org

Internal sources

Swampsoft design records and mod source files behind the in-game values.

  1. Mod sourceB/A-170X 0.22.9, src/gameplay/Ba170xRcsPlumeModel.cs, Ba170xRcsPlumeModel constants SegmentCount, CeaExitVelocity, CeaExitTempK, CeaExitPressurePa, CeaExitDensity, CeaGasConstant, CeaGamma, CeaGraphiteMassFrac, CeaExitMach, AirGamma, AirGasConstant.
  2. Mod sourceB/A-170X 0.22.9, src/gameplay/Ba170xRcsAssist.cs, Ba170xRcsAssist constants InputThreshold, DenseAirDynamicPressurePa, LowQFullStabilizationPa, DenseAirMaxAlphaDeg, DenseAirMaxSideslipDeg, MinAeroStabilizationAuthorityRadS2, NozzleCount, Rows, Iterations, EffortCost, FuelCost.
  3. Mod sourceB/A-170X 0.22.9, src/gameplay/Ba170xFlightControl.cs, Ba170xFlightControl constants ForeNozzleForce, WingNozzleForce, FuelPerNewtonSecond.
  4. Mod sourceB/A-170X 0.22.9, src/gameplay/Ba170xRcsEffects.cs, Ba170xRcsEffects.Levels, BandHeight, MaxVolumeViewDistanceSq.