Title: Getting total losses from power flow · PowerGridModel · Discussion #70 · GitHub
Open Graph Title: Getting total losses from power flow · PowerGridModel · Discussion #70
X Title: Getting total losses from power flow · PowerGridModel · Discussion #70
Description: Getting total losses from power flow
Open Graph Description: This continues the discussion started here. So, after some tweaking of the parameters, the powerflow seems to converge. I have a question regarding the output that I get. How do I get the total los...
X Description: This continues the discussion started here. So, after some tweaking of the parameters, the powerflow seems to converge. I have a question regarding the output that I get. How do I get the total los...
Opengraph URL: https://github.com/orgs/PowerGridModel/discussions/70
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"Getting total losses from power flow","text":"This continues the discussion started here.
\nSo, after some tweaking of the parameters, the powerflow seems to converge. I have a question regarding the output that I get. How do I get the total losses (active and reactive) of the circuit that I modelled?
\nHere is my input data:
\ninput_data.json
\nAnd here is my output data:
\nout_result.json
","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Hi @leovsch,
\nSorry for my late reply. We've had some other priorities we needed to address first.
\nThe easiest way is to sum over all losses per component that can handle loss (branches + shunts (the zero-sequence component)):
\n\n- branches:\n
\n- the active power losses are given by
branch.p_to + branch.p_from \n- the reactive power losses are given by
branch.q_to + branch.q_from \n
\n \n- shunts (in case of shunts that model a grounding transformer): you can directly use either
p (active power loss) or q (reactive power loss) \n- three-winding transformers:\n
\n- active power losses are given by
branch3.p_1 + branch3.p_2 + branch3.p_3 \n- reactive power losses are given by
branch3.q_1 + branch3.q_2 + branch3.q_3 \n
\n \n
\nImportant side notes:
\n\n- Production at the customer side makes it impossible to do the naive approach of summing the sources and comparing to the loads
\n- Reactive power and susceptance make it impossible to directly sum over generating appliances and compare them to the sum of all consuming appliances (minus shunts) if you want to be precise.
\n
","upvoteCount":2,"url":"https://github.com/orgs/PowerGridModel/discussions/70#discussioncomment-14646337"}}}
| route-pattern | /_view_fragments/Voltron::DiscussionsFragmentsController/show/orgs/:org/:discussion_number/discussion_layout(.:format) |
| route-controller | voltron_discussions_fragments |
| route-action | discussion_layout |
| fetch-nonce | v2:de8bc294-c761-f098-56c0-0ad8e2deebe2 |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | CDEA:22A71A:1140DD:1732A8:698F6C08 |
| html-safe-nonce | 37e3d85308206e45852b5ca2bb6ce23ffb09231b58389733d6f4fa976608a1a8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREVBOjIyQTcxQToxMTQwREQ6MTczMkE4OjY5OEY2QzA4IiwidmlzaXRvcl9pZCI6IjY5NzMzMTIxNTQ4NDY4NTAwNTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bbda02ca7e64babfce0247cb89e09f3267413e689e77f47d0d32871319337f90 |
| hovercard-subject-tag | discussion:8999187 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::DiscussionsFragmentsController/show/orgs/PowerGridModel/70/discussion_layout |
| twitter:image | https://opengraph.githubassets.com/103abf826534e0d54ef12ea82d6892df2ff4875e1e0ffd8557b816f639abf362/orgs/PowerGridModel/discussions/70 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/103abf826534e0d54ef12ea82d6892df2ff4875e1e0ffd8557b816f639abf362/orgs/PowerGridModel/discussions/70 |
| og:image:alt | This continues the discussion started here. So, after some tweaking of the parameters, the powerflow seems to converge. I have a question regarding the output that I get. How do I get the total los... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7ab1c9acb90dba91d5e994ebfb6bfb1130e0e0e6aca329cdbbd934d636e22ab6 |
| turbo-cache-control | no-preview |
| octolytics-dimension-user_id | 128388838 |
| octolytics-dimension-user_login | PowerGridModel |
| octolytics-dimension-repository_id | 616883724 |
| octolytics-dimension-repository_nwo | PowerGridModel/.github |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 616883724 |
| octolytics-dimension-repository_network_root_nwo | PowerGridModel/.github |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d6695367a1b2f05addc4030b791720f01693df4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width