Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Incorrect voltage source impedance for 4 wire networks #376

Closed
hei06j opened this issue Jan 14, 2022 · 2 comments
Closed

[BUG] Incorrect voltage source impedance for 4 wire networks #376

hei06j opened this issue Jan 14, 2022 · 2 comments

Comments

@hei06j
Copy link
Contributor

hei06j commented Jan 14, 2022

Voltage source impedance matrix for 4-wire is different from how OpenDSS uses. We believe this bug does not impact 3 wire networks.

OpenDSS does [zs zm zm zm ; zm zs zm zm ; zm zm zs zm ; zm zm zm zs],
whereas PMD does [zs zm zm 0 ; zm zs zm 0 ; zm zm zs 0 ; 0 0 0 0],
zm is mutual impedance and zs is self impedance.

using PowerModelsDistribution
path = joinpath(dirname(pathof(PowerModelsDistribution)), "..")
case_file = joinpath(path, "test/data/en_validation_case_data/test_load_3ph_delta_ci.dss")
eng = PowerModelsDistribution.parse_file(case_file, transformations=[transform_loops!])
@show eng["voltage_source"]["source"]["rs"]
@show eng["voltage_source"]["source"]["xs"]

Expected behavior
reference implementation
https://github.com/tshort/OpenDSS/blob/5005c668a72d20775f4c2d060feebb2866ba1d38/Source/PCElements/VSource.pas#L757

System Information (please complete the following information):

  • MacOS
  • Version [e.g. 12.0.1]
@pseudocubic pseudocubic self-assigned this Jan 18, 2022
@pseudocubic pseudocubic added Category: Data Parsers parser issues Type: Bug Something isn't working labels Jan 18, 2022
@pseudocubic pseudocubic removed their assignment Jan 18, 2022
@stale
Copy link

stale bot commented Jul 17, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jul 17, 2022
@pseudocubic pseudocubic added Status: Help Wanted and removed wontfix This will not be worked on labels Jul 19, 2022
@stale
Copy link

stale bot commented Jan 15, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jan 15, 2023
@pseudocubic pseudocubic added work-in-progress and removed wontfix This will not be worked on labels Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants