René's URL Explorer Experiment


Title: Performance Scalability · PowerGridModel · Discussion #24 · GitHub

Open Graph Title: Performance Scalability · PowerGridModel · Discussion #24

X Title: Performance Scalability · PowerGridModel · Discussion #24

Description: Performance Scalability

Open Graph Description: I have been testing the scalability of PGM vs the likes of Pandapower and PowerFactory, and from my findings PGMs performance time scales linearly as a function of the number of network nodes, as o...

X Description: I have been testing the scalability of PGM vs the likes of Pandapower and PowerFactory, and from my findings PGMs performance time scales linearly as a function of the number of network nodes, as o...

Opengraph URL: https://github.com/orgs/PowerGridModel/discussions/24

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"Performance Scalability","text":"

I have been testing the scalability of PGM vs the likes of Pandapower and PowerFactory, and from my findings PGMs performance time scales linearly as a function of the number of network nodes, as opposed to the others having a trend of n^2.

\n

Am I correct with these results, and could you explain as to why it scales like this?

","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

Hi @ConnorG51 ,

\n

Thank you for your valuable input. Apologies for our late response. Apparently, there was an issue regarding notifications and we completely missed this discussion.

\n\n

I hope this answer and the more extensive one below help you continue your research. Please let me know if there's anything else we can help you with. I'm now subscribed to this discussion, so response should be much faster.

\n

Kind regards,

\n

Martijn

\n

Long answer

\n

In an attempt to give a more elaborate answer, I will break it down as much as I can. We do several optimizations to try and get the scaling as close to optimal as possible. See also performance guide for a quick overview of tips and tricks a user might use to obtain better performance without going into detail. The different types of optimizations involve the different layers of the core design.

\n

Conventions

\n

Let's call N the total amount of components, n the amount of nodes and e the amount of edges (Branch and Branch3 components) and a the amount of non-edge components that connect to nodes (Appliance) and o the amount of components that connect to other components (Sensor and Fault). Therefore, N = n + e + a + o.

\n

Note that:

\n\n

Breakdown

\n

Interfacing

\n\n

Topology

\n

Topology step containing graph optimization depends heavily on the type of network:

\n\n

Ybus construction

\n

O(N)

\n\n

Solving

\n

This may depend on the calculation type and solver used. We assuming constant amount of iterations for iterative approaches

\n\n

Summary/conclusion

\n

Overall, depending on what your data looks like, which solver you use and whether you benchmark batches or clean runs from scratch, your scaling may be:

\n","upvoteCount":1,"url":"https://github.com/orgs/PowerGridModel/discussions/24#discussioncomment-8744444"}}}

route-pattern/_view_fragments/Voltron::DiscussionsFragmentsController/show/orgs/:org/:discussion_number/discussion_layout(.:format)
route-controllervoltron_discussions_fragments
route-actiondiscussion_layout
fetch-noncev2:4730062e-ffe9-bafc-450d-45404d4ad1a8
current-catalog-service-hash9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be
request-idE3CC:5CD99:8D5B46:B881FA:698E96E8
html-safe-nonceac176292eade6aa455421fde9eeea878a5b98108cc1377ab9a5d811a98d26f22
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0NDOjVDRDk5OjhENUI0NjpCODgxRkE6Njk4RTk2RTgiLCJ2aXNpdG9yX2lkIjoiNTg4NDM1ODQ0MTQ0NzYyNjQ3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbbf71909d41a5180a3379cde54d314e2857324cf5a818a2008b1101dfc80f694
hovercard-subject-tagdiscussion:6164764
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/discussions_fragments/discussion_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::DiscussionsFragmentsController/show/orgs/PowerGridModel/24/discussion_layout
twitter:imagehttps://opengraph.githubassets.com/ea4fcf02cdb55bcef9528bc7ad4f6d00ff6c3abf2ad577b58dc16f33a217fdb7/orgs/PowerGridModel/discussions/24
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ea4fcf02cdb55bcef9528bc7ad4f6d00ff6c3abf2ad577b58dc16f33a217fdb7/orgs/PowerGridModel/discussions/24
og:image:altI have been testing the scalability of PGM vs the likes of Pandapower and PowerFactory, and from my findings PGMs performance time scales linearly as a function of the number of network nodes, as o...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba
turbo-cache-controlno-preview
octolytics-dimension-user_id128388838
octolytics-dimension-user_loginPowerGridModel
octolytics-dimension-repository_id616883724
octolytics-dimension-repository_nwoPowerGridModel/.github
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id616883724
octolytics-dimension-repository_network_root_nwoPowerGridModel/.github
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee6b91a7e6e46287d26887e3fb7a4161657bab8f7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Forgs%2FPowerGridModel%2Fdiscussions%2F24
PowerGridModelhttps://patch-diff.githubusercontent.com/PowerGridModel
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Forgs%2FPowerGridModel%2Fdiscussions%2F24
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fdiscussions_fragments%2Fdiscussion_layout&source=header-repo&source_repo=PowerGridModel%2F.github
Reloadhttps://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
Reloadhttps://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
Reloadhttps://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
Power Grid Model https://patch-diff.githubusercontent.com/PowerGridModel
Overview https://patch-diff.githubusercontent.com/PowerGridModel
Repositories https://patch-diff.githubusercontent.com/orgs/PowerGridModel/repositories
Discussions https://patch-diff.githubusercontent.com/orgs/PowerGridModel/discussions
Projects https://patch-diff.githubusercontent.com/orgs/PowerGridModel/projects
Packages https://patch-diff.githubusercontent.com/orgs/PowerGridModel/packages
People https://patch-diff.githubusercontent.com/orgs/PowerGridModel/people
Overviewhttps://patch-diff.githubusercontent.com/PowerGridModel
Repositorieshttps://patch-diff.githubusercontent.com/orgs/PowerGridModel/repositories
Discussionshttps://patch-diff.githubusercontent.com/orgs/PowerGridModel/discussions
Projectshttps://patch-diff.githubusercontent.com/orgs/PowerGridModel/projects
Packageshttps://patch-diff.githubusercontent.com/orgs/PowerGridModel/packages
Peoplehttps://patch-diff.githubusercontent.com/orgs/PowerGridModel/people
Answered https://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24#discussioncomment-8744444
mgovershttps://patch-diff.githubusercontent.com/mgovers
ConnorG51 https://patch-diff.githubusercontent.com/ConnorG51
Q&Ahttps://patch-diff.githubusercontent.com/orgs/PowerGridModel/discussions/categories/q-a
Performance Scalability https://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24#top
ConnorG51 https://patch-diff.githubusercontent.com/ConnorG51
Answered https://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24#discussioncomment-8744444
mgovershttps://patch-diff.githubusercontent.com/mgovers
Return to tophttps://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24#top
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
https://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
ConnorG51 https://patch-diff.githubusercontent.com/ConnorG51
Feb 1, 2024 https://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24#discussion-6164764
Give feedback.https://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
mgovers https://patch-diff.githubusercontent.com/mgovers
Mar 11, 2024 https://github.com/orgs/PowerGridModel/discussions/24#discussioncomment-8744444
@ConnorG51https://github.com/ConnorG51
View full answer https://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24#discussioncomment-8744444
Oldest https://patch-diff.githubusercontent.com/orgs/PowerGridModel/discussions/24?sort=old
Newest https://patch-diff.githubusercontent.com/orgs/PowerGridModel/discussions/24?sort=new
Top https://patch-diff.githubusercontent.com/orgs/PowerGridModel/discussions/24?sort=top
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
https://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
https://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
mgovers https://patch-diff.githubusercontent.com/mgovers
Mar 11, 2024 https://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24#discussioncomment-8744444
@ConnorG51https://github.com/ConnorG51
this PRhttps://github.com/PowerGridModel/power-grid-model/pull/440
performance guidehttps://power-grid-model.readthedocs.io/en/stable/user_manual/performance-guide.html
core designhttps://power-grid-model.readthedocs.io/en/stable/advanced_documentation/core-design.html
the comment on observabilityhttps://power-grid-model.readthedocs.io/en/stable/user_manual/calculations.html#state-estimation
[FEATURE] In-house minimum degree reordering power-grid-model#433https://github.com/PowerGridModel/power-grid-model/issues/433
https://en.wikipedia.org/wiki/Minimum_degree_algorithmhttps://en.wikipedia.org/wiki/Minimum_degree_algorithm
documentationhttps://power-grid-model.readthedocs.io/en/stable/user_manual/calculations.html#newton-raphson-state-estimation
Give feedback.https://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
https://patch-diff.githubusercontent.com/mgovers
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
https://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
https://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
mgovershttps://patch-diff.githubusercontent.com/mgovers
Jun 18, 2024 https://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24#discussioncomment-9802730
@ConnorG51https://github.com/ConnorG51
Boost's implementationhttps://www.boost.org/doc/libs/1_79_0/libs/graph/doc/minimum_degree_ordering.html
minimum degree orderinghttps://en.wikipedia.org/wiki/Minimum_degree_algorithm
AMDhttps://people.engr.tamu.edu/davis/publications_files/An_Approximate_Minimum_Degree_Ordering_Algorithm.pdf
exact algorithmhttps://epubs.siam.org/doi/10.1137/1.9781611976465.45
Give feedback.https://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
https://patch-diff.githubusercontent.com/mgovers
Please reload this pagehttps://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
https://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
mgovershttps://patch-diff.githubusercontent.com/mgovers
Jun 18, 2024 https://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24#discussioncomment-9808279
@ConnorG51https://github.com/ConnorG51
Give feedback.https://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
mgovershttps://patch-diff.githubusercontent.com/mgovers
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Forgs%2FPowerGridModel%2Fdiscussions%2F24
🙏 Q&A https://patch-diff.githubusercontent.com/orgs/PowerGridModel/discussions/categories/q-a
https://patch-diff.githubusercontent.com/ConnorG51
https://patch-diff.githubusercontent.com/mgovers
https://patch-diff.githubusercontent.com/PowerGridModel/.github/discussions/24
https://patch-diff.githubusercontent.com/settings/replies?return_to=1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.