This study evaluates green bean cultivation inside greenhouses with photovoltaic (PV) panels on the roof. Researchers found that the beans adapted to the change in shading by relocating more resources to the stems and leaves. As a result, average yield decreased compared to that of a conventional greenhouse. However, an economic trade-off between energy and crop yield can be achieved with a panel coverage of 10%. The research also provides an experimental framework that could be replicated and used as a decision support tool to identify other crops suitable for solar greenhouse cultivation.