Sustainability Analysis for Fog Nodes with Renewable Energy Supplies