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
66 stars 35 forks source link

single phase load voltage needs to be added #265

Open jd-lara opened 5 years ago

jd-lara commented 5 years ago

When parsing single phase loads from Cyme to OpenDSS, the tool doesn't add a kv= field with the LG voltage. OpenDSS interprets this as a L-L voltage by default leading incorrect results in the PowerFlow calculation in OpenDSS. This might be a mismatch between the default in Cyme and the default in OpenDSS for single phase loads.

tarekelgindy commented 5 years ago

Thanks for raising this and sorry for the late response on this. We've identified this as an issue previously and I'm adding a fix for this now. This should be as simple as writing the kV value for OpenDSS. I expect we'll have a fix for this included tomorrow.

tarekelgindy commented 5 years ago

I believe this issue has been addressed in the latest pull request #268.

The problem was that nominal voltages weren't being set by the CYME reader, and hence were being ignored by the opendss writer.

Cyme doesn't include nominal voltages explicitly for each node so we had to calculate them through post-processing. Originally we didn't want to include this in the reader, and allow the user to make these changes in post-processing but I think it makes sense to automatically calculate the nominal voltages as part of the reader.

These changes have now been merged into master.