We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18120db commit 62a3653Copy full SHA for 62a3653
grid2op/Parameters.py
@@ -624,11 +624,7 @@ def check_valid(self):
624
raise RuntimeError(
625
f'Impossible to convert SOFT_OVERFLOW_THRESHOLD to float with error \n:"{exc_}"'
626
) from exc_
627
- # if self.SOFT_OVERFLOW_THRESHOLD < 1.0:
628
- # raise RuntimeError(
629
- # "SOFT_OVERFLOW_THRESHOLD < 1., this should be >= 1. (use env.set_thermal_limit "
630
- # "to modify the thermal limit)"
631
- # )
+
632
if self.SOFT_OVERFLOW_THRESHOLD >= self.HARD_OVERFLOW_THRESHOLD:
633
634
"self.SOFT_OVERFLOW_THRESHOLD >= self.HARD_OVERFLOW_THRESHOLD this would that the"
0 commit comments