-
Notifications
You must be signed in to change notification settings - Fork 64
docs: add scalability guidance #1413
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -17,6 +17,14 @@ It remains performant, even when doing calculations with one or a combination of | |||||
| To achieve that high performance, several optimizations are made. | ||||||
| To use those optimizations to the fullest, we recommend our users to follow the following guidelines. | ||||||
|
|
||||||
| ## Scalability | ||||||
|
|
||||||
| The calculation workload generally depends on the number of connected grid elements and on the network topology. | ||||||
| For radial distribution grids, most calculation steps scale close to linearly with grid size. | ||||||
| Meshed grids require more coupling between buses and branches, so some steps can scale less favorably. | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| In both cases, runtime and memory usage are also affected by the number of batch scenarios, the amount of update data per | ||||||
| scenario, and whether the topology can be reused between scenarios. | ||||||
|
|
||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since someone reading this is interested in scalabiltity, and we've already done the full analysis in https://github.com/orgs/PowerGridModel/discussions/24 , please:
|
||||||
| ```{note} | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this note should not be part of this section; please restore the original order |
||||||
| This guide focuses on system-level performance optimization (batching, caching, parallelization). | ||||||
| For algorithm-level details such as calculation method selection, see the [Calculations](calculations.md) documentation. | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's probably also good to explicitly state that it is
O(n_nodes + n_branches + ...)