Added voltage for a known string function.

This commit is contained in:
Jeff MacKinnon 2024-12-16 16:53:54 -04:00
parent 32f1212b8d
commit 7a186e839c

View file

@ -48,3 +48,11 @@ 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)
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)