Build_csv_files

Module: Build_csv_files

A module for building the csv-files for GEOSeMOSYS https://github.com/KTH-dESA/GEOSeMOSYS to run that code In this module the logic around electrified and un-electrified cells are implemented for the 378 cells


Module author: Nandi Moksnes <nandi@kth.se>

Functions

GIS_file(dest)

Creates the GIS location file which determins the spatial resolution :param dest: :return:

adjacency_matrix(path, noHV_file, HV_file, …)

capital_cost_transmission_distrib(…)

Reads the transmission lines shape file, creates empty files for inputactivity, outputactivity, capitalcost for transmission lines, ditribution lines and distributed supply options

dryvision_capital_cost_transmission_distrib(…)

Reads the transmission lines shape file, creates empty files for inputactivity, outputactivity, capitalcost for transmission lines, ditribution lines and distributed supply options This function does not include diesel generators.

near_dist(pop_shp, un_elec_cells, path)

noHV_polygons(polygons, noHV, outpath)

renewableninja(path, dest)

This function organize the data to the required format of a matrix with the location name on the x axis and hourly data on the y axis so that it can be fed into https://github.com/KTH-dESA/GEOSeMOSYS code the data is saved as capacityfactor_wind.csv and capacityfactor_solar.csv :param path: :param dest: :return: