Medium-voltage grid planning: from Excel to Python
Planning the medium-voltage power grid depended on a chain of 14 macro-driven Excel workbooks that were slow and hard to maintain. I am rewriting them in Python and checking that they give exactly the same results, so the process becomes faster, verifiable and easy to improve.
Migration to Python of 14 chained .xlsm workbooks (over 9,500 lines of VBA in the load-transfer engine alone), with a 1:1 replica and cell-by-cell equivalence tests; Steps 0–8 validated (0 differences, also when chained), load-transfer engine replicated against the real macro, and SAIDI, SAIFI and ENS indicators reimplemented.
- Big data and data engineering
- Process automation