help needed for three inverter modeling in a single pv plant

12 views
Skip to first unread message

Atik-Uz-Zaman Atik

unread,
Aug 22, 2026, 11:20:49 PM (11 days ago) Aug 22
to pvlib-python
hi dear, if i want to use three inverters each 50kw for a total 150kw solar plant, what will be the changed in the PVSystem code below? can anyone help? 
import pvlib
from pvlib.location import Location
from pvlib.pvsystem import PVSystem
from pvlib.modelchain import ModelChain
from pvlib.temperature import TEMPERATURE_MODEL_PARAMETERS

import matplotlib.pyplot as plt
import pandas as pd

location = Location(
    latitude=24.772046553556823,
    longitude= 89.84327976048408,
    tz="Asia/Dhaka",
    altitude=0,
    name="Dhaka"
)



CEC_modules=pvlib.pvsystem.retrieve_sam ('CECMod')
CEC_inverters=pvlib.pvsystem.retrieve_sam ('CECInverter')

module = CEC_modules['Canadian_Solar_Inc__CS1U_420MS']
inverter = CEC_inverters['SMA_America__STP_50_US_41__480V_']

temperature_parameters = TEMPERATURE_MODEL_PARAMETERS['sapm']['open_rack_glass_glass']

system = PVSystem(
    surface_tilt=20,
    surface_azimuth=180,
           module_parameters=module, inverter_parameters=inverter,
           temperature_model_parameters=temperature_parameters,
           modules_per_string=17,
           strings_per_inverter=21
           )

modelchain = ModelChain(
    system,
    location,
    aoi_model='physical',
   
    )

times = pd.date_range(start="2021-07-01",end="2021-07-07",
                      freq="5min",tz=location.tz)

clear_sky = location.get_clearsky(times)

clear_sky.plot(figsize=(16,9))
plt.show()

modelchain.run_model(clear_sky)
modelchain.results.ac.plot(figsize=(16,9))
plt.show()


 

cwh...@sandia.gov

unread,
Aug 23, 2026, 10:09:23 AM (11 days ago) Aug 23
to pvlib-python
pvlib (currently) limits a PVsystem to a single inverter. To model a system with 3 inverters, set up two additional PVSystem & ModelChain instances, then add the AC power from the ModelChainResult.

Best,

Cliff
Reply all
Reply to author
Forward
0 new messages