Skip to content

Commit

Permalink
incorrect settings test
Browse files Browse the repository at this point in the history
  • Loading branch information
JKeen8 committed Aug 21, 2023
1 parent 1faef62 commit cdd9240
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PyDSS/pyControllers/Controllers/PvVoltageRideThru.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ def __CreateOperationRegions(self):
print("User defined setting outside of IEEE 1547 acceptable range.")
assert False

if self.__Settings['UV1 CT - sec'] >=21 and self.__Settings['UV1 CT - sec'] <= 50:
print("User defined setting outside of IEEE 1547 acceptable range.")
if self.__Settings['UV1 CT - sec'] <21 and self.__Settings['UV1 CT - sec'] > 50:
print("User defined setting outside of IEEE 1547 acceptable range.")
assert False


Expand Down

0 comments on commit cdd9240

Please sign in to comment.