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

KirchhoffsFirstLaw #125

Open
Tracked by #121
VeikoAunapuu opened this issue Jul 10, 2024 · 3 comments
Open
Tracked by #121

KirchhoffsFirstLaw #125

VeikoAunapuu opened this issue Jul 10, 2024 · 3 comments
Assignees

Comments

@VeikoAunapuu
Copy link
Member

No description provided.

@Haigutus
Copy link
Member

Possible way to identify where the issue is

# Fix SV - Sum flow into Topological node != 0
SV_INJECTION_LIMIT = 0.1
power_flow = sv_data.type_tableview('SvPowerFlow')
flow_sum_at_topological_node = power_flow.merge(terminals, left_on='SvPowerFlow.Terminal', right_on='ID', how='left').groupby('Terminal.TopologicalNode')[['SvPowerFlow.p', 'SvPowerFlow.q']].sum()
mismatch_at_topological_node = flow_sum_at_topological_node[(abs(flow_sum_at_topological_node['SvPowerFlow.p']) > SV_INJECTION_LIMIT) | (abs(flow_sum_at_topological_node['SvPowerFlow.q']) > SV_INJECTION_LIMIT)]
mismatch_at_equipment = data.query('KEY == "Type"')[['ID', 'VALUE']].drop_duplicates().merge(mismatch_at_topological_node.merge(terminals.reset_index(), on='Terminal.TopologicalNode'), left_on="ID", right_on="Terminal.ConductingEquipment")

@gpoderys
Copy link
Collaborator

Error has been caused by diverging power flow solution, by using relaxed loadflow setting the model converges and Kirchofs law error dissapear.

@Haigutus Haigutus moved this from In Progress to Done in EMS OS Project Jul 30, 2024
@Haigutus
Copy link
Member

Haigutus commented Sep 3, 2024

  1. Update of load sv data from ssh for not solved islands - fix it in post processing, long term solution by powsybl (issue link: AC loadflow: no network update on NO_CALCULATION powsybl/powsybl-open-loadflow#1075)
  2. Parallel busbar connections of non retained switches and lines, causes one TP node, while in original TP two TP nodes - fix: exclude given model
  3. If no slack in German area, then PF fails - fix: Testing solution with multiple slacks
  4. TODO: Investigate Spain, Portugal, Italy, and everything South from Hungary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: On Hold
Development

When branches are created from issues, their pull requests are automatically linked.

4 participants