Skip to content

Commit

Permalink
Fix values S53
Browse files Browse the repository at this point in the history
  • Loading branch information
markusrc11 committed Aug 12, 2024
1 parent 8911557 commit b82385d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions primestg/report/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,15 +362,15 @@ def values(self):
:return: a dict with a set of measures of report S53
"""
try:
values = None
values = {}
for phase in range(1, 4): # Phase 1..3
values = self.active_reactive_with_phase(self.objectified, phase)
values.update(
{
'timestamp': self._get_timestamp('Fh'),
'bc': self.objectified.get('Bc')
}
)
values.update(self.active_reactive_with_phase(self.objectified, phase))
values.update(
{
'timestamp': self._get_timestamp('Fh'),
'bc': self.objectified.get('Bc')
}
)
except Exception as e:
self._warnings.append('ERROR: Thrown exception: {}'.format(e))
return []
Expand Down

0 comments on commit b82385d

Please sign in to comment.