pvlib.pvsystem.scale_voltage_current_power#
- pvlib.pvsystem.scale_voltage_current_power(data, voltage=1, current=1)[source]#
Scales the voltage, current, and power in data by the voltage and current factors.
- Parameters:
data (DataFrame) – May contain columns ‘v_mp’, ‘v_oc’, ‘i_mp’ ,’i_x’, ‘i_xx’, ‘i_sc’, ‘p_mp’.
voltage (numeric, default 1) – The amount by which to multiply the voltages.
current (numeric, default 1) – 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.