This work presents a framework for peer-to-peer (P2P) basis risk management applied to solar electricity generation. The approach leverages physically based simulation models to estimate the day-ahead production forecasts and the actual realized production at the solar farm level. We quantify the financial loss from mismatches between forecasted and actual production using the outputs of these simulations. The framework then implements a parametric insurance mechanism to mitigate these financial losses and combines it with a P2P market structure to enhance participant risk sharing. By integrating day-ahead forecasts and actual production data with physical modeling, this method provides a comprehensive solution to manage production variability, offering practical insights for improving financial resilience in renewable energy systems. The results highlight the potential of combining parametric insurance with P2P mechanisms to foster reliability and collaboration in renewable energy markets.