Skip to content

sedg/ukgds2dss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

UKGDS2DSS

Convert UKGDS spreadsheet data into OpenDSS scripts.

Usage:

>>> from ukgds2dss import *
>>> ukgds2dss("/path/to/ehv3.xls", "/path/to/ehv3.dss")
>>> 
>>> # To convert ALL co-located XLS files to DSS format.
>>> ukgds2dss_all() # the default path is set to your current working directory
>>> ukgds2dss_all(path = "/path/to") # or specify the path to your input files

Command-line use for ukgds2dss.py:

>>> # Convert all XLS files in the directory to DSS format.
>>> python ukgds2dss.py all
>>>
>>> # Convert the chosen file to DSS format.
>>> python ukgds2dss.py filename # e.g. python ukgds-py3.py ehv1