Skip to content

Commit

Permalink
FIX valores de tension en kV
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosfvilaboa committed Jul 23, 2024
1 parent f3f92ad commit 364b9cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libcnmc/cir_8_2021/FA2.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def consumer(self):
get_tipus_connexio(O, esco_id) if esco_id else '')

# Tensió
o_tension = tensio if tensio else ''
o_tension = tensio / 1000.0 if tensio else ''

# Potència instalada
o_potencia_instalada = ''
Expand Down Expand Up @@ -400,7 +400,7 @@ def consumer(self):
o_provincia, # Provincia
o_zona, # Zona
o_connexion, # Connexió
('{}'.format(o_tension)).replace('.', ','), # Tensió
format_f(o_tension, decimals=3), # Tensió
o_potencia_instalada, # Potència instalada
o_energia_activa_producida, # Energia activa produida
o_energia_activa_consumida, # Energia activa consumida
Expand Down

0 comments on commit 364b9cd

Please sign in to comment.