Orbit darkness time
Contents
Orbit Darkness Time
This page will give an expression for the worst-case scenario of how long a craft will be in darkness during an orbit. This information can be used to determine how many batteries are needed for a craft to remain powered during the dark portion of orbit.
Result
Here is the result for calculating the longest amount of time spent in darkness (in units of seconds):
where you calculate the following intermediate quantities first:
where you need to provide the following parameters:
: planned Apoapsis of planet the craft will orbit [km]
: planned Periapsis of planet the craft will orbit [km]
: radius of planet to orbit [km] (see wiki page on planet for data, ex: Kerbin)
: gravitational parameter of planet to orbit [km^3/s^2] (see wiki page on planet for data, ex: Kerbin)
Limitations
This method assumes the orbit is stable and elliptic. This includes the special case of circular orbits. The method gives the longest amount of time spent in darkness, which for polar orbits, will only be experienced periodically. However, it is a good idea to plan on the worst-case amount of time in darkness. Lastly, the method does not take into account darkness caused by a different body than the orbited body (i.e. if you are orbiting Laythe and Jool blocks the sun, this method does not account for that).
Conclusion
By entering the equations into a program such as Microsoft Excel, the darkness time can be calculated for various orbits around any planet or moon. Knowing the amount of time spent in darkness and the energy drain, the battery storage can be calculated by
where is the battery storage required in the game units of "e", is the rate of energy use in units of e/sec, and is the darkness time in seconds.
Examples
Orbiting Kerbin with Apoapsis 700 km and Periapsis 100 km
Using 0.05 e/s for the RC-001S and 0.04 e/s for the Illuminator Mk1 for a total drain of 0.09 e/s:
So at least 83.2 e of electricity are needed in storage to make it through the darkness for this orbit around Kerbin, using 0.09 e per second. The battery with the next largest amount of storage (as of 0.21) is the Z-100 with 100 e of storage.
Orbiting Jool with Apoapsis 500 km and Periapsis 500 km
Using 0.05 e/s for the RC-001S and 0.16 e/s for 4x Illuminator Mk1 for a total drain of 0.21 e/s:
So at least 487 e of electricity are needed in storage to make it through the darkness for this orbit around Jool, using 0.21 e per second. This capacity can be achieved by coupling a Z-400 with a Z-100 for a total of 500 e of electricity.