This work presents the design, construction and performance evaluation of a photovoltaic greenhouse as an energy hub (EH) in modern agriculture that integrates battery energy storage (BES) and an electric vehicle charging station (EV). The greenhouse is composed of 48 semi-transparent PV panels with nominal transparency of 20% and 110 W capacity. The control of the PV greenhouse as EH was approached as an optimization problem with the aim of minimizing the cost of the energy used from the grid. Simulation results indicate that the integrated BES is capable of balancing power transactions within the microgrid. In addition, it was found that the case of slow charging of the EV at night was less demanding on the BES than fast charging during the day in terms of abrupt power transitions and average depletion of BES SOC (61% vs 53%). Empirical results also demonstrated the negative impact of dust generated by agricultural activity on the performance of solar panels. For a period analyzed of three years, an average yearly production loss of 6.8% was calculated.