pvlib.pvsystem.scale_voltage_current_power

pvlib.pvsystem.scale_voltage_current_power(data, voltage=1, current=1)[source]

Scales the voltage, current, and power of the DataFrames returned by singlediode() and sapm().

Parameters:

data: DataFrame

Must contain columns ‘v_mp’, ‘v_oc’, ‘i_mp’ ,’i_x’, ‘i_xx’, ‘i_sc’, ‘p_mp’.

voltage: numeric

The amount by which to multiply the voltages.

current: numeric

The amount by which to multiply the currents.

Returns:

scaled_data: DataFrame

A scaled copy of the input data. ‘p_mp’ is scaled by voltage * current.