The Grid with Intelligent Periphery