Reference · Rockets, variants, parts and the fit check
EngineCardtype
One engine type: what it burns, how hard it pushes and how it runs. The numbers agree: thrust (newtons) is massFlow (kg/s) times isp (seconds) times g0, and exhaust is isp times g0.
Import it
import type { EngineCard } from "@johnmorrisdotca/uchusen-rockets";
Definition
interface EngineCard {
id: string;
name: string;
role: EngineRole;
module: string;
count: number;
code?: "FTD" | "DCD";
thrust: number;
isp: number;
massFlow: number;
exhaust: number;
exhaustOfC: number;
fuel: string;
fuelCapacity: number;
operation: "continuous" | "pulsed";
pulseHz?: number;
jetPower: number;
note: string;
}
Members
| Name | Type | Description |
|---|---|---|
id | string | |
name | string | |
role | EngineRole | |
module | string | The kit module that carries it, and how many engines that module has. |
count | number | |
code (optional) | "FTD" | "DCD" | undefined | The fleet's code for the drive, where it has one: FTD, the Fusion Torch Drive. |
thrust | number | Thrust of one engine in newtons. |
isp | number | Specific impulse in seconds. |
massFlow | number | Propellant used by one engine at full thrust, kg/s. |
exhaust | number | Exhaust speed in m/s, and as a fraction of the speed of light. |
exhaustOfC | number | |
fuel | string | What it burns and how much its module holds, in tonnes, when full. |
fuelCapacity | number | |
operation | "continuous" | "pulsed" | |
pulseHz (optional) | number | undefined | Pulses a second, for a pulsed engine. |
jetPower | number | Power in the jet, watts. |
note | string | What it is and what its limits are. |
Examples
import { ENGINE_CARDS, type EngineCard } from "@johnmorrisdotca/uchusen-rockets";
const card: EngineCard = ENGINE_CARDS["fusion-main"];
console.log(card.name, card.thrust / 1e6, "MN", card.exhaustOfC);Magnetic-nozzle fusion drive, main 30 MN 0.03925375601009949What it prints (run when this page was built)