Skip to content

Commit

Permalink
Merge pull request #637 from gisce/fix-b5-node-condensadors
Browse files Browse the repository at this point in the history
B5: Corrección código del nodo (cogía el id interno)
  • Loading branch information
ecarreras authored Mar 22, 2024
2 parents 679cf80 + 14a32d5 commit 948b0d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcnmc/cir_8_2021/FB5.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def process_condensador(self, condensador_id):
if condensador['ct_id']:
ct = self.connection.GiscedataCts.read(condensador['ct_id'][0], ['node_id'])
if ct['node_id']:
o_node = ct['node_id'][0]
o_node = ct['node_id'][1]

o_potencia_maquina = format_f(
float(condensador['potencia_instalada']) / 1000.0, decimals=3
Expand Down

0 comments on commit 948b0d9

Please sign in to comment.