{
  "title": "Ideal inlet slowing: bounded energy ledger",
  "status": "Reproducible conditional calculation; not a measurement, design prediction, or electric-power estimate.",
  "calculation_origin": "DMGB Systems calculation using the ideal-gas teaching model.",
  "selected_case": {
    "mach_in": 5,
    "mach_out": 2,
    "freestream_static_temperature_K": 220,
    "freestream_static_pressure_kPa": 4,
    "assumed_total_pressure_recovery": 0.7
  },
  "assumptions": [
    "steady one-dimensional ideal air",
    "gamma = 1.4 and constant cp",
    "adiabatic and no shaft/electrical work extracted",
    "no chemistry, viscous/shock loss model, bleed, area/continuity closure, or vehicle drag",
    "total-pressure recovery is a separate assumed state calculation; it does not generate electricity"
  ],
  "equations": [
    "V = M sqrt(gamma R T)",
    "h_t = cp T + V^2/2 = constant",
    "delta_KE = (V_in^2 - V_out^2)/2",
    "delta_h = cp (T_out - T_in)",
    "for this no-work ideal model: delta_KE = delta_h",
    "delta momentum flux = mass flow × (V_out - V_in); the displayed reference assumes mass flow = 1 kg/s"
  ],
  "output_record": "inlet-energy-ledger.csv",
  "numeric_result": {
    "case_id": "ideal_air_M5_to_M2_no_work",
    "mach_in": 5,
    "mach_out": 2,
    "assumed_total_pressure_recovery": 0.7,
    "freestream_static_temperature_K": 220,
    "gamma": 1.4,
    "cp_J_per_kg_K": 1004.6750000000002,
    "gas_constant_J_per_kg_K": 287.05,
    "inlet_speed_m_per_s": 1486.7027275148184,
    "outlet_speed_m_per_s": 1085.7341602190966,
    "momentum_flux_change_at_assumed_1kg_per_s_N": -400.96856729572187,
    "inlet_static_enthalpy_J_per_kg": 221028.50000000003,
    "outlet_static_enthalpy_J_per_kg": 736761.6666666669,
    "inlet_kinetic_energy_J_per_kg": 1105142.5000000002,
    "outlet_kinetic_energy_J_per_kg": 589409.3333333334,
    "kinetic_energy_decrease_J_per_kg": 515733.16666666686,
    "static_enthalpy_increase_J_per_kg": 515733.1666666668,
    "energy_balance_residual_J_per_kg": 5.820766091346741e-11,
    "electrical_output_J_per_kg": 0,
    "evidence_status": "DMGB ideal-gas calculation; not measurement or engine prediction"
  },
  "interpretation": "515.733 kJ per kg moves from flow kinetic energy to static enthalpy in the chosen ideal state change. The calculation contains no generator, electrodes, or electrical collection; its electrical-output field is zero by model boundary, not a practical prediction.",
  "limitations": [
    "No actual flight trajectory or measured inlet data.",
    "The normalized momentum-flux change at 1 kg/s is not vehicle thrust; inlet-wall and pressure forces, captured or spilled mass, and matched downstream conditions are not calculated.",
    "No inlet geometry or captured mass flow, so no vehicle force or power is calculated.",
    "A real inlet has shock, viscous, mixing, heat-transfer and chemical effects; this model does not quantify them.",
    "Total-pressure recovery is an independent assumed parameter and pressure loss is not converted into an energy-harvest estimate."
  ],
  "reproducibility": "Run node build-inlet-energy-ledger.cjs in this directory; it uses inlet-model.js and regenerates the CSV and this JSON."
}
