Energy and spectrum efficiency for energy management systems based on wireless sensor networks in intelligent structures and powered by ambient energy harvesting (EH) are the main problems in wireless sensor networks. Herein, we consider relay selection methods. To address this issue, we proposed the optimal multiantenna power beacon opportunistic relay selection (OMPB-ORS) protocol, which uses decoding and forward methods, in which the relay wireless sensor nodes and the second source are energy-restricted and can harvest energy from a power beacon (PB) multiantenna to transmit aggregated information data from source to destination. The proposed protocol based on specific s witching t ime r eceiver a rchitecture e nhances e nd-to-end p erformance f or m aximum h ardware impairments and interference for the transceiver. To evaluate the performance, we compared our proposed protocol with best ORS (B-ORS), conventional ORS (C-ORS), and hybrid partial relay selection (H-PRS) protocols. Using the Rayleigh-fading channel, the simulation is driven based on asymptotic and exact form expressions of throughput (TP) and outage probability (OP). Simulation results show that the OMPB-ORS protocol achieves a higher TP and OP than all compared protocols.