Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.3 KB

File metadata and controls

32 lines (23 loc) · 1.3 KB

Low Voltage Feeder Taxonomy (LVFT) Representative Network Reader

Example code for reading the Low Voltage Feeder Taxonomy representative network DSS files using Ditto, converting to NetworkX graphs and rendering to HTML/PNG

Quickstart

To get started quickly, install a few things. See Setup section below for instructions.

Required:

Then grab the code, build and run it from a command prompt (bash, cmd, powershell, whatever) like this. Tested in windows, should be similar in other OSes:

git clone <this-repo-url.git>  

# Now tell poetry which python install to use. On windows with normal python, it'll be like: C:\Users\wes148\Python\Python39\python.exe
poetry env use path/to/python3.9.exe 
poetry install # install all dependencies (direct and transitive) listed in project.toml
poetry shell # activate virtual environment
python --version # make sure this is v3.9 (or whatever your set above with `poetry env use ...`).
pytest # run unit tests - generates network renders
dir output # view test outputs - html renders, csv clustering features etc.

Third Party Licenses

For a list of licenses for libraries required by this code, see THIRD_PARTY_LICENSES.md