State-dependent virtual hierarchization of batteries for realizing a glocal control in energy network systems and its application to peak power reduction in office | IEEE Conference Publication | IEEE Xplore