Computation failed with error 4 when extending flight plan

This issue has been tracked since 2022-12-24.

Error message "Computation failed with error 4" appears when I extend a flight plan similar to the usual TLI maneuver to 10-20 days.
Steps to replicate:

  • enter the VAB, simulate any craft in 200km orbit,
  • create flight plan with max steps 4096, tolerance 10m, plan length 4 days
  • add maneuver with t initial = 1h 1m, dV = 3150 prograde, inertially fixed, instant impulse
  • extend flight plan from 4 days to 14 days or similar (entered 14 instead of 4 in the field, without moving the slider)

screenshot

persistent.zip

INFO.20221224-112749.6464.log

WARNING.20221224-112749.6464.log

ERROR.20221224-112749.6464.log

Another screenshot (different craft, same issue)

screenshot19

pleroy wrote this answer on 2022-12-28

We are running into this limit:

static constexpr std::int64_t max_ephemeris_steps_per_frame = 1000;

The right fix is probably to make the computation of the flight plan asynchronous, but that's a bit of work.

More Details About Repo
Owner Name mockingbirdnest
Repo Name Principia
Full Name mockingbirdnest/Principia
Language C++
Created Date 2014-02-08
Updated Date 2023-03-29
Star Count 664
Watcher Count 29
Fork Count 62
Issue Count 109

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date