Open daniel-thom opened 4 years ago
@tarekelgindy An obvious fix here is to stop stripping the element type off of the Load and Capacitor names. Dheepak says that will cause problems for gridlabd, but that the gridlabd writer could handle it. What is your opinion on how to solve this?
This is also a problem in the Cyme reader. The file tests/data/small_cases/cyme/ieee_13node/network.txt defines a feeder and a node with the name "650", and the same object-overwrite problem happens.
This command
reports this warning
The name is used multiple times in OpenDSS files:
The warning occurs because DiTTo overwrites a
Node
with aCapacitor
. DiTTo uses an inconsistent naming convention when storing elements in its models dictionary. Sometimes the element type is included in the name and sometimes it is not. Here is what I found (likely not complete):<lower_case_type>_<name>
: Load, RegulatorThis error does not occur if "capacitor_" is prepended to the name.