On Deploying the Internet of Energy with 5G Open RAN Technology Including Beamforming Mechanism