Module solve_v1

Module solve_v1 

Source
Expand description

Transport-free implementation of the solve-json v1 trajectory service.

This module owns the semantic boundary between the stable, explicit-SI v1 data-transfer objects and the engine’s legacy internal input types. It deliberately performs no JSON I/O, filesystem access, network access, profile lookup, or terminal output.

Constants§

ASSUMPTION_DEFAULT_APPLIED
Stable assumption code emitted for a literal protocol default.
ASSUMPTION_ESTIMATED_PROJECTILE_LENGTH
Stable assumption code emitted when projectile length is inferred from mass and diameter.
ASSUMPTION_ICAO_STANDARD_PRESSURE
Stable assumption code emitted when station pressure is resolved from ICAO atmosphere.
ASSUMPTION_ICAO_STANDARD_TEMPERATURE
Stable assumption code emitted when station temperature is resolved from ICAO atmosphere.
ASSUMPTION_QNH_REDUCED_TO_STATION_PRESSURE
Stable assumption code emitted when an explicit pressure_reference: "qnh" pressure is reduced to station pressure (MBA-1397).
WARNING_BC5D_DRAG_MODEL_COERCED
Stable warning code emitted when a corrections.bc5d_table_path request names a drag model outside the table’s G1/G7 planes and the lookup is typed as G1 (the same coercion the CLI’s --bc-table-dir path performs, surfaced instead of silent).
WARNING_EXPERIMENTAL_EFFECT
Stable warning code emitted for each opt-in experimental physical effect.
WARNING_PARTIAL_WIND_COVERAGE
Stable warning code for segmented wind that becomes calm before the requested maximum range.
WARNING_RK45_TIME_STEP_IGNORED
Stable warning code for an explicitly supplied fixed step that adaptive RK45 ignores.
WARNING_WIND_SHEAR_MODEL_NOT_MODELED
Stable warning code emitted when an accepted effects.wind_shear_model has no profile on this solve path and therefore leaves the wind unchanged (0.36.0). Only "ekman_spiral" reaches it today: the boundary-layer evaluator behind TrajectorySolver implements the logarithmic and power-law profiles, and returns the operative wind for anything else. The model is still echoed in resolved_request, so this warning is what distinguishes “applied and it moved the numbers” from “applied and it could not”.
WARNING_ZERO_DISTANCE_ELEVATION_NOT_RESOLVED
Stable warning code for a request that supplies both zero_distance_m and muzzle_angle_rad (0.33.0 decision-support Task 2): the explicit angle is used directly and the elevation search does not run. zero_distance_m is retained in resolved_request and is not otherwise inert – see the warning message for what it still affects.

Functions§

solve_v1
Execute one semantically validated solve-json v1 request.