post-kerbin-mining-corporation / CryoTanks

Adds cryogenic fuel storage options and limited fuel switching to Kerbal Space Program
15 stars 30 forks source link

Use MaximumBoiloffScale in boiloff radiation calculations. #132

Closed Starstrider42 closed 1 month ago

Starstrider42 commented 1 year ago

The previous radiative boiloff code clamped radiative effects to MinimumBoiloffScale, but left MaximumBoiloffScale unused. This seems to have been an oversight in the original implementation.

Having an upper bound is essential to playing with LongwaveFluxAffectsBoiloff, because the KSP body flux has unphysical orientation-dependent spikes (100-1000× solar).

This PR should be released together with post-kerbin-mining-corporation/SystemHeat#104, to maintain consistency.