Kerbal Space Program
1.12.4
|
This interface allows parts to get a preview of analytic numbers, and then adjust their internal generation. More...
Public Member Functions | |
void | AnalyticInfo (FlightIntegrator fi, double sunAndBodyIn, double backgroundRadiation, double radArea, double absEmissRatio, double internalFlux, double convCoeff, double ambientTemp, double maxPartTemp) |
Analytic will call this method once it has calculated these numbers, and before the final analytic temperature is calculated. More... | |
double | InternalFluxAdjust () |
This method is called after the Info method is called. The module can take the opportunity to report a change to internal generation, based on the preview numbers. The module should report the difference in kW between what it originally reported and the new number, not the new number itself, so if it originally reported 30kW, and now wants to only report 20, this should return -10. More... | |
This interface allows parts to get a preview of analytic numbers, and then adjust their internal generation.
void IAnalyticPreview.AnalyticInfo | ( | FlightIntegrator | fi, |
double | sunAndBodyIn, | ||
double | backgroundRadiation, | ||
double | radArea, | ||
double | absEmissRatio, | ||
double | internalFlux, | ||
double | convCoeff, | ||
double | ambientTemp, | ||
double | maxPartTemp | ||
) |
Analytic will call this method once it has calculated these numbers, and before the final analytic temperature is calculated.
fi | The FlightIntegrator for the vessel |
sunAndBodyIn | Flux in from the sun and the body (in kW) |
backgroundRadiation | background radiation temperature in K |
radArea | weighted radiative area in m^2 (i.e. assume emissivity of 1.0) |
absEmissRatio | ratio of weighted absorptivity to emissivity |
internalFlux | existing internal flux in kW |
convCoeff | Convective coefficient |
ambientTemp | Ambient atmospheric temperature in K |
maxPartTemp | Maximum part temperature on the vessel |
double IAnalyticPreview.InternalFluxAdjust | ( | ) |
This method is called after the Info method is called. The module can take the opportunity to report a change to internal generation, based on the preview numbers. The module should report the difference in kW between what it originally reported and the new number, not the new number itself, so if it originally reported 30kW, and now wants to only report 20, this should return -10.