Skip to content

Commit 58d5180

Browse files
Merge pull request #21 from BrianWeiHaoMa/lmp-consolidated-bugfix
Adjusted lmpconsolidatedtable parser to handle time 24:00
2 parents 95ea9d4 + c93f46a commit 58d5180

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

MISOReports/parsers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1599,6 +1599,9 @@ def parse_lmpconsolidatedtable(
15991599
hour = f"{int(time.split()[1])}:00"
16001600
else:
16011601
hour = time
1602+
1603+
if hour == "24:00":
1604+
hour = "00:00"
16021605

16031606
metadata_names.append(name)
16041607
metadata_times.append(hour)

0 commit comments

Comments
 (0)