Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A2: FIX los valores de las energias en decimales con coma #667

Merged
merged 1 commit into from
Jul 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions libcnmc/cir_8_2021/FA2.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,10 +402,10 @@ def consumer(self):
o_connexion, # Connexió
('{}'.format(o_tension)).replace('.', ','), # Tensió
o_potencia_instalada, # Potència instalada
o_energia_activa_producida, # Energia activa produida
o_energia_activa_consumida, # Energia activa consumida
o_energia_reactiva_producida, # Energia reactiva produida
o_energia_reactiva_consumida, # Energia reactiva consumida
format_f(o_energia_activa_producida, decimals=3), # Energia activa produida
format_f(o_energia_activa_consumida, decimals=3), # Energia activa consumida
format_f(o_energia_reactiva_producida, decimals=3), # Energia reactiva produida
format_f(o_energia_reactiva_consumida, decimals=3), # Energia reactiva consumida
o_autoconsum, # Autoconsum
o_cau, # CAU
o_cups_ssaa # Serveis auxiliars
Expand Down