Skip to content

Match the 13-bus redirect to IEEELineCodes.DSS so it compiles on Linux - #136

Merged
qian-harvard merged 1 commit into
mainfrom
fix/opendss-13bus-linecodes-casing
Oct 22, 2026
Merged

qian-harvard merged 1 commit into
mainfrom
fix/opendss-13bus-linecodes-casing

Conversation

@qian-harvard

Copy link
Copy Markdown
Contributor

Summary

Both IEEE 13-bus masters (OpenDSS/13Bus/IEEE13Nodeckt.dss and IEEE13Nodeckt_com_loadshape.dss) say redirect IEEELineCodes.dss, but the file ships as IEEELineCodes.DSS. Windows and macOS resolve the name regardless of case. Linux doesn't, so on Linux OpenDSS compiles the circuit without its line codes.

  • Change both redirect lines to IEEELineCodes.DSS. The file keeps its name, so packaging and the shipped-files note in powermcp/README.md don't change.
  • Add tests/test_opendss_case_files.py. It checks every redirect/compile/BusCoords target in the shipped .dss files by exact name, so it fails on every platform, not only Linux.

Testing

🤖 Generated with Claude Code

Both IEEE 13-bus masters said `redirect IEEELineCodes.dss`, but the file
ships as `IEEELineCodes.DSS`. Windows and macOS resolve that; Linux does
not, so OpenDSS compiles the circuit without its line codes.

The new test checks every redirect/compile/BusCoords target in the shipped
.dss files by exact name, so it fails on any platform, not only Linux.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@qian-harvard
qian-harvard merged commit 98bd2c9 into main Oct 22, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant