rdtools.plotting.soiling_monte_carlo_plot

rdtools.plotting.soiling_monte_carlo_plot(soiling_info, normalized_yield, point_alpha=0.5, profile_alpha=0.05, ymin=None, ymax=None, profiles=None, point_color=None, profile_color='C1')

Create figure to visualize Monte Carlo of soiling profiles used in the SRR analysis.

Warning

The soiling module is currently experimental. The API, results, and default behaviors may change in future releases (including MINOR and PATCH releases) as the code matures.

Parameters
  • soiling_info (dict) -- soiling_info returned by soiling.SRRAnalysis.run() or soiling.soiling_srr().

  • normalized_yield (pandas.Series) -- PV yield data that is normalized, filtered and aggregated.

  • point_alpha (float, default 0.5) -- tranparency of the normalized_yield points

  • profile_alpha (float, default 0.05) -- transparency of each profile

  • ymin (float, optional) -- minimum y coordinate

  • ymax (float, optional) -- maximum y coordinate

  • profiles (int, optional) -- the number of stochastic profiles to plot. If not specified, plot all profiles.

  • point_color (str, optional) -- color of the normalized_yield points

  • profile_color (str, default 'C1') -- color of the stochastic profiles

Returns

fig

Return type

matplotlib.figure.Figure