The Distributed Trust Model Applied to the Energy Grid of Things