Module: fom

This module provides function for calculating the figure of merits of I-V characteristics.

Methods in this module

This modules puts together the functions for calculating the figures of merits of solar cells

pypvcell.fom.ff(voltage, current)[source]

Calculate the fill factor from an I-V curve

Parameters:
  • voltage (np.ndarray) – voltage array
  • current (np.ndarray) – current array
Returns:

fill factor (in numerics)

pypvcell.fom.isc(voltage, current)[source]

Calculate the short-circuit current of an I-V curve

Parameters:
  • voltage (np.ndarray) – voltage array
  • current (np.ndarray) – current array
Returns:

The value of isc

pypvcell.fom.max_power(voltage, current)[source]

Calculate the maximum power of an I-V curve. Note that this function uses the convention of negative Isc.

Parameters:
  • voltage (np.ndarray) – voltage array
  • current (np.ndarray) – current array
Returns:

the value of maximum power

pypvcell.fom.voc(voltage, current)[source]

Calculate the open-circuit voltage of an I-V curve.

Parameters:
  • voltage (np.ndarray) – the array of voltage
  • current (np.ndarray) – the array of current
Returns:

the value of Voc