Text this: Simulation of the onboard energy balance of spacecraft for Earth remote sensing