Export to MATPOWERΒΆ

from monee.io.matpower import to_matpower

to_matpower(grid, path="case.m")