write ===== .. currentmodule:: ams.io.matpower .. autofunction:: write