Describe the bug
I have a working version of the onestep.py script located in the CPYDAR folder that is correctly converting the supplied 13-node and 123-node models. But when I tried to make a test of a model I built in OpenDSS and exported into CIM within OpenDSS, the resulting DSS model is missing multiple xPosition and yPosition points.
I reviewed the code to the extent I can understand the entire flow and only found one spot within the CIMImporter.java file where a _busxy.dss file is created. This is on
What I would like to know is how X and Y coordinates are getting captured, used, and then saved into the DSS file?
Is there something I might be missing with input data or something else, that would cause some coordinates to get skipped?
What script (Python or Java)is responsible for all the coordinate data points getting extracted?
And oddly, how was the CUMHub onestep.py able run a successful load flow on the converted model given the lack of connectivity nodes (and also a missing Solve command in the DSS file)?
To Reproduce
There are no errors thrown, just the fact that when I review the sum_ugrid_busxy.dss file there are only 8 nodes as opposed to the 15 nodes in the original.
The original BusXY.csv file used to build the model
Describe the bug I have a working version of the onestep.py script located in the CPYDAR folder that is correctly converting the supplied 13-node and 123-node models. But when I tried to make a test of a model I built in OpenDSS and exported into CIM within OpenDSS, the resulting DSS model is missing multiple xPosition and yPosition points.
I reviewed the code to the extent I can understand the entire flow and only found one spot within the
CIMImporter.java
file where a_busxy.dss
file is created. This is onlines 2469
fXY = fRoot + "_busxy.dss";
lines 2502fXY = fRoot + "_busxy.dss";
onestep.py
able run a successful load flow on the converted model given the lack of connectivity nodes (and also a missing Solve command in the DSS file)?To Reproduce There are no errors thrown, just the fact that when I review the
sum_ugrid_busxy.dss
file there are only 8 nodes as opposed to the 15 nodes in the original.BusXY.csv
file used to build the modelsm_ugrid_busxy.dss
550,230.0,220.0 650,200.0,190.0 300,165.0,220.0 500,225.0,220.0 600,200.0,195.0 700,175.0,165.0 150,200.0,275.0 350,170.0,220.0Screenshots SLD of the model
Original DSS model with all nodes
Converted DSS model with the missing nodes
Additional context The
cases.json
file I made for this test isWhile in the CPYDAR directory I placed an Excel data file along with the various model and input data folders I placed
sm_ugrid
folder which has the original model in the same fashion as theieee13x
orj1red
filessm_ugrid.dss
which is the DSS modelLoadShape5_Q.csv
andLoadShape5_P.csv
andBusXY.CSV
xml
foldersm_ugrid_uuids.dat
which contains the mRID numberssm_ugrid.xml
which contains the master CIM model informationCPYDAR
foldersm_ugrid.xlsx
which seems to have initial file settings information.sm_ugrid.dss
file