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

batterie0_input = input("\n\nIf you want to correct the initial value of the battery (kWh) for iterations, enter your value, otherwise hit enter") try:

   _=float(batterie0_input)
   batterie0=_

except Exception as err:

   print(f"\ntype error or empty user value, continuing with batterie0={batterie0}kWh")
   
   puissance0_input = input("\n\nIf you cant to correct initial peak power (kWc) for iterations, enter your value, otherwise hit enter")

try:

   _=float(puissance0_input)
   puissance0=_

except Exception as err:

   print(f"\ntype error or empty user value, continuing with batterie0= puissance0={puissance0}kWc")