diff --git a/jepl/jeplpv.py b/jepl/jeplpv.py index e0b4a9d..0700beb 100644 --- a/jepl/jeplpv.py +++ b/jepl/jeplpv.py @@ -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) \ No newline at end of file + 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) \ No newline at end of file