pyleecan.Methods.Machine.Winding.export_to_csv module

export_to_csv(self, file_path=None, is_add_header=True, is_skip_empty=False)[source]

Export the winding matrix to a csv file. One matrix for each phase Column Slot id, Ntcoil, Rad id, Tan id

  • self (Winding) – A: Winding object

  • file_path (str) – Path to the file to save

  • is_add_header (bool) – True to add first line and first column

  • is_skip_empty (bool) – True to remove the lines with Ntcoil=0