A heat source optimization system capable of alternating configurations between an air exchange system and a geothermal system and/or earth loop systems depending on an instantaneous need and/or desire for taking in or discharging heat, while simultaneously remaining operational and without reversing valving or changing the rotational direction of a refrigerant compressor. The system manages refrigerant, and, via a processor and/or controller system, determines where to obtain refrigerant and also the quantity of refrigerant to be obtained. Additionally, the system, via a processor and/or controller system, both determines the optimal location or locations from which to take in heat or to which heat is to be rejected.