Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.Exception: FuelFlowSimulation hit max steps of 100 steps in rcs calculations #1919

Closed
cqusmc opened this issue Nov 15, 2024 · 1 comment · Fixed by #1926
Closed

System.Exception: FuelFlowSimulation hit max steps of 100 steps in rcs calculations #1919

cqusmc opened this issue Nov 15, 2024 · 1 comment · Fixed by #1926
Labels

Comments

@cqusmc
Copy link

cqusmc commented Nov 15, 2024

I was doing a moderately modded playthrough and noticed that sometimes the MJ Delta-V Stats readout would go blank or become unresponsive and determined it was due to exception spam. I was able to reproduce the issue in a stock game by doing the following:

  • Stock KSP along with its DLCs and MJ2 Dev Release v1412

  • New sandbox save with default game settings

  • In the VAB, place a probe core -> decoupler -> RCS fuel tank

  • Place MechJeb controller anywhere

  • Place RCS thruster anywhere on the fuel tank, there should be no issues
    image

  • Move RCS thruster from fuel tank to probe core, exception spam
    image

[LOG 21:27:59.628] [MechJeb2] Exception in MechJebLib.FuelFlowSimulation.FuelFlowSimulation: System.AggregateException: One or more errors occurred. ---> System.Exception: FuelFlowSimulation hit max steps of 100 steps in rcs calculations
  at MechJebLib.FuelFlowSimulation.FuelFlowSimulation.SimulateRCS (MechJebLib.FuelFlowSimulation.SimVessel vessel, System.Boolean max) [0x0004a] in <e93531f616a24ea79e504d8e78faccbb>:0 
  at MechJebLib.FuelFlowSimulation.FuelFlowSimulation.ComputeRcsMinValues (MechJebLib.FuelFlowSimulation.SimVessel vessel) [0x00000] in <e93531f616a24ea79e504d8e78faccbb>:0 
  at MechJebLib.FuelFlowSimulation.FuelFlowSimulation.SimulateStage (MechJebLib.FuelFlowSimulation.SimVessel vessel) [0x0001e] in <e93531f616a24ea79e504d8e78faccbb>:0 
  at MechJebLib.FuelFlowSimulation.FuelFlowSimulation.Run (System.Object o) [0x00043] in <e93531f616a24ea79e504d8e78faccbb>:0 
  at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0002b] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Threading.Tasks.Task.Execute () [0x00010] in <9577ac7a62ef43179789031239ba8798>:0
@lamont-granquist
Copy link
Collaborator

possibly a dup of #1905

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants