liveBook · Manning

Specific impulse

As explained in Julia as a Second Language

Specific impulse is a measure of rocket-engine propellant efficiency, conventionally expressed as effective exhaust velocity or equivalent thrust per propellant weight flow.

When planning a rocket, thrust tells you how much force an engine produces, but not how quickly it uses propellant. Specific impulse, written Isp, supplies that missing measure of propellant efficiency. A higher-Isp engine consumes less propellant to produce the same thrust. section 8.5

Think of Isp as a rocket’s counterpart to gas mileage, with an important difference: a rocket can keep moving without firing its engine. Rather than distance per unit of propellant, Isp is expressed in seconds—the time a unit of propellant could sustain a force of 1 G. section 8.5

g = 9.80665                                       #1
function mass_flow(thrust::Number, Isp::Number)   #2
    thrust / (Isp * g)
end

The Julia function converts thrust and Isp into propellant mass flow: `mass_flow = thrust / (Isp * g)`, where `g` is 9.80665. At fixed thrust, increasing Isp reduces consumption per second. section 8.5

Nine engines firing together

Nine engines producing 845,000 units of thrust each provide 7,605,000 in total. With Isp of 282 seconds, `mass_flow(7.605e6, 282)` returns about 2,750 units of propellant mass per second. section 8.5

In a time-step simulation, the rocket uses thrust and its engine’s Isp to calculate mass flow, then consumes `mass_flow × Δt` from the tank. A cluster of identical engines multiplies total thrust and engine mass by the engine count, but keeps the same Isp. A cluster of different engines raises a separate question: how to determine its combined Isp. section 8.7 section 8.7

How Julia as a Second Language covers it

How deep it goes
Defines Isp through an efficiency analogy and works through mass-flow calculations; defers mixed-engine cluster Isp.
Examples
Calculates mass flow for nine engines and models unchanged Isp in a cluster of identical engines.
What it assumes
Introduces thrust and force in plain language while using Julia functions and types to model engines.
What you can do after
Build it from scratch: calculate propellant mass flow and consume the resulting amount during each simulation time step.
How it connects
Connects specific impulse to thrust, propellant mass flow, engine clusters, and time-step simulation.

This explainer was generated by Manning's knowledge graph from the text of Julia as a Second Language. The section links point to the parts of the book it draws on.