© 2023 Elsevier LtdThe cryptocurrency industry has changed the human life and accelerated financial exchange in this decade. Many investors want to invest in this industry and establish cryptocurrency farms. This research sets up a CryptoCurrency Farm Location (CCFL) as a facility location that supplies energy by Renewable Energy (RE). We presented a new robust optimization with the stochastic approach for tackling uncertainty in CCFL and compared it with stochastic CCFL. Our objective function includes maximizing the mean and minimum profits coefficient under different scenarios by adding an energy-aware constraint. Our model enables us to select supply energy by RE or power network country. The results show that the profit of robust stochastic CCFL is 4.94% less than stochastic CCFL because the proposed model is more conservative. Also, by increasing the conservativity coefficient to 50%, the total profit decreases to 4.94%. In addition, the discount rate grew to 10%, the profit down to 12.31%, and the problem increased profit by increasing the scale. Finally, the probability of scenario is changed and affects to profit function.