Skip to content

Commit

Permalink
Revert "Issue iicsys#4 - standard misunderstood"
Browse files Browse the repository at this point in the history
This reverts commit c56bc9e.
  • Loading branch information
veljkoDjurkovic committed Jul 28, 2022
1 parent c56bc9e commit d372386
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synchrophasor/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -2357,7 +2357,7 @@ def get_measurements(self):
"phasors": self.get_phasors()[i],
"analog": self.get_analog()[i],
"digital": self.get_digital()[i],
"frequency": (self.get_freq()[i] / 1000) if (self.cfg.get_data_format()[i])[3] else self.cfg.get_fnom()[i] + self.get_freq()[i] / 1000,
"frequency": self.cfg.get_fnom()[i] + self.get_freq()[i] / 1000,
"rocof": self.get_dfreq()[i]}

measurements.append(measurement)
Expand All @@ -2368,7 +2368,7 @@ def get_measurements(self):
"phasors": self.get_phasors(),
"analog": self.get_analog(),
"digital": self.get_digital(),
"frequency": (self.get_freq() / 1000) if (self.cfg.get_data_format())[3] else self.cfg.get_fnom() + self.get_freq() / 1000,
"frequency": self.cfg.get_fnom() + self.get_freq() / 1000,
"rocof": self.get_dfreq()
})

Expand Down

0 comments on commit d372386

Please sign in to comment.