NREL / ditto

DiTTo is a Distribution Transformation Tool that aims at providing an open source framework to convert various distribution systems modeling formats.
https://nrel.github.io/ditto/
BSD 3-Clause "New" or "Revised" License
68 stars 35 forks source link

can not convert Gridlab data to OpenDSS data (the test data - IEEE 123 bus system) #357

Open TAOGZ opened 3 years ago

TAOGZ commented 3 years ago

I am trying to use ditto to convert Gridlab data to OpenDss data (all data are from the test folder). IEEE-4 and IEEE-13 bus system work well. However, When I tried the IEEE-123 bus system, I got the following error:

  File "E:\Github\data_convert\gridlabd_to_opendss.py", line 41, in main
    r.parse(model)

  File "D:\Anaconda3\envs\py_ditto\lib\site-packages\ditto\readers\gridlabd\read.py", line 2209, in parse
    from_nominal_voltage = self.all_gld_objects[from_element]["nominal_voltage"]

KeyError: 'node:150'

My environment is Windows 10 with python 3.6.12. I have no idea of how to solve this problem. Could you give me some advice? Thank you