avl.prepare_trim
Converts explicit SI mass or weight, density, speed, and CG into a target-CL trim request and references for AVL trim, sweep, or submission without running the solver.
Instructions
Convert explicit SI mass/weight, density and speed to target CL without running AVL. Require geometry length units and a CG with units; set the moment reference to CG. Return a TrimRequest and References usable in trim/sweep/submit, plus provenance. Assumes unbanked steady level lift=weight, zero beta/rates and target Cm=0. Mach is supplied separately; no inferred atmosphere, thrust balance or inertia model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | ||
| model_path | Yes | ||
| references | No |