def export_to_dir(network, export_dir):
    """
    Exports PyPSA network as CSV files to directory

    Args:
        network: pypsa.Network
        export_dir: str
            Sub-directory in output/debug/grid/ where csv Files of PyPSA network are exported to.
    """

    package_path = ding0.__path__[0]

    network.export_to_csv_folder(os.path.join(package_path,
                                              'output',
                                              'debug',
                                              'grid',
                                              export_dir))
def export_to_dir ( network , export_dir ) : package_path = ding0 . __path__ [ 0 ] network . export_to_csv_folder ( os . path . join ( package_path , 'output' , 'debug' , 'grid' , export_dir ) )
Exports PyPSA network as CSV files to directory

    Args:
        network: pypsa.Network
        export_dir: str
            Sub-directory in output/debug/grid/ where csv Files of PyPSA network are exported to.