MechJeb2

MechJeb2

4M Downloads

Miscalculated Drag Coefficient

laddpa82 opened this issue ยท 1 comments

commented

The drag coefficient info item is inaccurate when using parachutes. Example craft:

1 Command Pod Mk 1 (m=0.84, coeff=0.2)
1 Mk16 Parachute (m=0.1, stowed drag=0.22)

Total mass = 0.94
Partwise Mass_dragcoeff = 0.84_0.2 + 0.1*0.22 = 0.19

Drag Coefficient = 0.19/0.94 = 0.202
Value returned by MJ = 0.213

Working backwards, this makes it seem as if MJ is using 0.322 for the stowed drag coeff of the Mk16 parachute.

commented

Yes, because that's how the parachute module works. It adds the part drag to the current parachute module drag. And if a part cfg show no drag it uses the default (0.1, you can see it in the VAB)
Partwise Mass_dragcoeff = 0.84_0.2 + 0.1* ( 0.22 + 0.1 ) = 0.202