pvlib.pvsystem.PVSystem.get_ac#
- PVSystem.get_ac(model, p_dc, v_dc=None)[source]#
- Calculates AC power from p_dc using the inverter model indicated by model and self.inverter_parameters. - Parameters:
- model (str) – Must be one of ‘sandia’, ‘adr’, or ‘pvwatts’. 
- p_dc (numeric, or tuple, list or array of numeric) – DC power on each MPPT input of the inverter. Use tuple, list or array for inverters with multiple MPPT inputs. If type is array, p_dc must be 2d with axis 0 being the MPPT inputs. [W] 
- v_dc (numeric, or tuple, list or array of numeric) – DC voltage on each MPPT input of the inverter. Required when model=’sandia’ or model=’adr’. Use tuple, list or array for inverters with multiple MPPT inputs. If type is array, v_dc must be 2d with axis 0 being the MPPT inputs. [V] 
 
- Returns:
- power_ac (numeric) – AC power output for the inverter. [W] 
- Raises:
- ValueError – If model is not one of ‘sandia’, ‘adr’ or ‘pvwatts’. 
- ValueError – If model=’adr’ and the PVSystem has more than one array. 
 
 
