We propose to examine the relationship of geomagnetic storms and substorms and the transport of energetic particles in the inner magnetosphere using measurements of the auroral X-ray emissions by PIXIE. PIXIE provides a global view of the auroral oval for the extended periods of time required to study stormtime phenomena. Its unique energy response and global view allow separation of stormtime particle transport driven by strong magnetospheric electric fields from substorm particle transport driven by magnetic-field dipolarization and subsequent particle injection. The relative importance of substorms in releasing stored magnetospheric energy during storms and injecting particles into the inner magnetosphere and the ring current is currently hotly debated. The distribution of particles in the inner magnetosphere is often inferred from measurements of the precipitating auroral particles. Thus, the global distributions of the characteristics of energetic precipitating particles during storms and substorms are extremely important inputs to any description or model of the geospace environment and the Sun-Earth connection. We propose to use PIXIE observations and modeling of the transport of energetic electrons to examine the relationship between storms and substorms.