Translations:Dimensionner une installation photovoltaïque autonome/256/en

  1. Maximum percentage discharge

d_input=input('Enter maximum authorized percentage discharge (20% if you want your battery doesnt get empty to less than 20%. Hit enter if you want to use the default 50% values for lead and 0% otherwise -hypothesis solid state batteries-') try:

   d=float(d_input)/100

except Exception as err:

   if typebatterie=='plomb':
       d=0.5
   else:
       d=0