This commit is contained in:
Jeff MacKinnon 2024-12-19 10:09:26 -04:00
commit 3921627eea

View file

@ -47,4 +47,12 @@ def panels_per_string(Vmax,Voc,beta=-0.5,temp = 25,STCtemp = 25):
panels_per_string_max = Vmax // Vocadj
return int(panels_per_string_max)
return int(panels_per_string_max)
def voltage_per_string(panels,Voc,beta=-0.5,temp = 25,STCtemp = 25):
vocadj = temp_adj_Voc(Voc, temp,beta, STCtemp = 25)
voltage = vocadj * panels
return round(voltage,4)