Well. Regarding Useful MFDs. Seems solar wind flux is calculated and indicated correctly if your ship remains in the same system after launch from main station. But after hyperjump to another system Useful MFDs gives wrong readings. It is pretty obvious comparing readings from Advanced System Data MFD in Sun Gear and General Info MFD in Useful MFDs. In my two test flights I has unreally high values for solar wind flux like hundreds LY/min, having distance to sun 20 sun radii or so.
I still have no understanding of this value behaviour. It tends to gradually drop from such unrealistically high value, but it remains wrong and useless value.
I don't see evident errors in Useful MFDs script. It updates sun system data after arrival to new system. But it gives wrong value.
I still have no idea how to localize error and fix it without breaking structure of original code. So the temporal solution will be to just block display of wrong value commenting Line 93 of original code:
Code: Select all
if (solarwind != null) txt += ", Solar Wind: "+solarwind.toFixed(3)+" LY/min";
line 93 with added comment
Code: Select all
// if (solarwind != null) txt += ", Solar Wind: "+solarwind.toFixed(3)+" LY/min";
Formula of calculation solar flux value is simple:
Solar flux, LY/min = (Sun Radius / Sun Distance)^2 * Sun corona flare * Ship speed
So if you have distance to sun equal 20 sun radii and sun corona flare 0.2, for Cobra Mk III on full speed you'll have (1/20)^2 * 0.2 * 350 = 0.175 LY/min.