For example, if the aircraft is on ground and bleed air for the AC pack is provided by the APU.
Most explanations I've seen say that the air passing through the secondary heat exchanger in between the ACM's compressor and turbine stages is cooled by ram air, so I'm not sure how it would work in the scenario I mentioned above.