The original taxonomy feeders have been updated as follows:
- more realistic transformer impedance and core parameters
- use only standard single-phase and three-phase transformer sizes
- more appropriate secondary and load voltages, based on the size and type of load
- alleviate line, cable and transformer overloads
- choose fuse current limits from standard fuse, recloser and breaker sizes
- add margin to fuse current limits so they don't blow during steady state. Note: This had to be redone because the new load voltage levels increased many of the component currents.
- assign capacitor nominal voltages based on the nominal primary voltage
- incorporate the xy coordinates from Michael A. Cohen
- Note: The xy coordinates are used in GridAPPS-D, CIM and OpenDSS, but not standalone GridLAB-D
- As of November 2019, the above link may be inactive, but the coordinates have been stored on this repository. Also, see https://digitalassets.lib.berkeley.edu/etd/ucb/text/Cohen_berkeley_0028E_15996.pdf for Cohen's thesis.
- remove assertion statements
The solution results change, so GridLAB-D regression tests may continue using the original taxonomy feeders from the GridLAB-D repository. The updated taxonomy feeders are recommended for research projects, as the updates produce more realistic results, especially for voltage and overload questions.
In order to fix overloads in the taxonomy feeders, and create graph-based representations:
- Python 3.x and the NetworkX 2.4 package are required.
- From a command prompt in the
taxonomy
subdirectory, invokepython3 FixTransformers.py
- Based on
./base_taxonomy/orig*.glm
, this creates the updated taxonomy feeders in./base_taxonomy/new*.glm
- From a command prompt in
taxonomy/base_taxonomy
, invokerun_all_new
(on Windows)chmod +x *.sh
and thenrun_all_new.sh
(on Linux or Mac OS X)
- Twenty-four GridLAB-D simulations should run without errors or significant warnings
After processing the taxonomy updates, OpenDSS conversion proceeds as follows:
- From a command prompt in the
taxonomy
subdirectory, invokepython3 converter_gld_dss.py
- This will create twenty-four directories like ./new_GC_12_47_1 with an OpenDSS model and bus coordinates in several files
- From a command prompt in one of those subdirectories, invoke
opendsscmd Master.dss
to run the simulation- opendsscmd is the cross-platform solver used in GridAPPS-D.
- You may also use the Windows GUI version, OpenDSS.exe, to open and solve Master.dss
Based on the updated taxonomy feeders and OpenDSS conversion, you can plot a graphical representation of each taxonomy feeder, as illustrated below.
- Matplotlib 3.1.1 is required.
- Invoke
python3 FixTransformers.py
again to incorporate node coordinates into the JSON files. - Invoke
python3 plot_feeder.py R5-12.47-5
to create the color-coded example shown below. Line widths are weighted by the number of phases. Use this plot to find points of interest based on the colors. - Invoke
python3 plot_feeder.py R5-12.47-5 1
to create a version of the plot with node labels. This is too cluttered to read without zooming in, so it's best used in conjunction with the unlabelled plot.
If you didn't actually change the taxonomy feeders, then you can plot any of them based on JSON files from the repository, e.g., python3 plot_feeder.py GC-12.47-1 1