forked from frequenz-floss/frequenz-sdk-python
-
Couldn't load subscription status.
- Fork 0
Improve consumer power formula #4
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
Open
matthias-wende-frequenz
wants to merge
231
commits into
v0.x.x
Choose a base branch
from
improve_cons_formula
base: v0.x.x
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Christian Parpart <[email protected]>
…s metric Signed-off-by: Christian Parpart <[email protected]>
Signed-off-by: Christian Parpart <[email protected]>
Signed-off-by: Christian Parpart <[email protected]>
Signed-off-by: Jack <[email protected]>
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.18 to 9.1.19. - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](squidfunk/mkdocs-material@9.1.18...9.1.19) --- updated-dependencies: - dependency-name: mkdocs-material dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.18 to 9.1.19. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/squidfunk/mkdocs-material/releases">mkdocs-material's releases</a>.</em></p> <blockquote> <h2>mkdocs-material-9.1.19</h2> <ul> <li>Added support for MkDocs 1.5+</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/5699">#5699</a>: Improve error reporting in social plugin</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG">mkdocs-material's changelog</a>.</em></p> <blockquote> <p>mkdocs-material-9.1.19 (2023-07-18)</p> <ul> <li>Added support for MkDocs 1.5+</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/5699">#5699</a>: Improve error reporting in social plugin</li> </ul> <p>mkdocs-material-9.1.18+insiders-4.37.0 (2023-07-07)</p> <ul> <li>Added support for overriding social cards settings per page</li> <li>Added new social card default/only/image layout</li> <li>Improved resilience of optimize and social plugin</li> <li>Fixed rendering bugs for pruned navigation items</li> <li>Fixed jumping of content tabs anchor links when instant loading is enabled</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/5676">#5676</a>: Optimize plugin doesn't check for pngquant</li> </ul> <p>mkdocs-material-9.1.18 (2023-07-03)</p> <ul> <li>Updated Danish translations</li> <li>Added support for installing user requirements in Docker image</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/5655">#5655</a>: Search separator with lookbehind breaks highlighting</li> </ul> <p>mkdocs-material-9.1.17+insiders-4.36.1 (2023-06-23)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/5618">#5618</a>: Date comparison breaking for drafts in blog plugin</li> </ul> <p>mkdocs-material-9.1.17 (2023-06-23)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/5633">#5633</a>: Code annotations with nested lists incorrectly mounted</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/5628">#5628</a>: Regression in new social plugin configuration scheme</li> </ul> <p>mkdocs-material-9.1.16+insiders-4.36.0 (2023-06-15)</p> <ul> <li>Added support for instant prefetching to speed up slow connections</li> <li>Improved stability of anchor link removal in built-in typeset plugin</li> <li>Improved performance of regular expressions in typeset plugin</li> <li>Removed unnecessary import test for cairosvg in optimize plugin</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/5590">#5590</a>: regular expression for anchor link removal too greedy</li> </ul> <p>mkdocs-material-9.1.16 (2023-06-15)</p> <ul> <li>Updated Indonesian translations</li> <li>Ensure scroll bar follows color scheme of operating system</li> </ul> <p>mkdocs-material-9.1.15+insiders-4.35.3 (2023-06-01)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/5579">#5579</a>: Abbreviations in headlines filtered by typeset plugin</li> </ul> <p>mkdocs-material-9.1.15+insiders-4.35.2 (2023-05-29)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/5555">#5555</a>: Blog plugin crashes when computing readtime for emojis</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/545fb274187ebeeceed6ea209065501777ade03b"><code>545fb27</code></a> Prepare 9.1.19 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/1ff2aec06d2b2967d98c075a2b794b4ed2253bfe"><code>1ff2aec</code></a> Updated documentation for line highlighting</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/e897b891258caf719136ae382ec5c9145d5ddcb2"><code>e897b89</code></a> Added support for MkDocs 1.5</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/4bb89266864ad8ac91efe2702b509446af520e61"><code>4bb8926</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/10b150112ea7b0e894419ce3351c17ac9e8e0cd7"><code>10b1501</code></a> Improved error reporting in social plugin</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/b3ade9fd3ac905bc93fb6ccdfdfeeecfed13cd3e"><code>b3ade9f</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/2331aa678bec2122123c5c51f33275fcd5cf4e45"><code>2331aa6</code></a> Fixed linter errors</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/3094b49844936b3ed01737ac2a3c08de97f9de0f"><code>3094b49</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/85fdf2a402ba9746bf89e18c74fb70d2dbb4c42f"><code>85fdf2a</code></a> Updated Premium sponsors</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/0fd163805e2b89c33c503a133d463025713b6818"><code>0fd1638</code></a> Updated Insiders changelog</li> <li>Additional commits viewable in <a href="https://github.com/squidfunk/mkdocs-material/compare/9.1.18...9.1.19">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Bumps [polars](https://github.com/pola-rs/polars) from 0.18.7 to 0.18.8. - [Release notes](https://github.com/pola-rs/polars/releases) - [Commits](pola-rs/polars@py-0.18.7...py-0.18.8) --- updated-dependencies: - dependency-name: polars dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [polars](https://github.com/pola-rs/polars) from 0.18.7 to 0.18.8. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pola-rs/polars/commit/05fa3448268b08e75092b665979220465b9ee8c5"><code>05fa344</code></a> python polars 0.18.8 (<a href="https://redirect.github.com/pola-rs/polars/issues/9989">#9989</a>)</li> <li><a href="https://github.com/pola-rs/polars/commit/90df2bc9c090c60f6776e84f8a24891ddfc8cb72"><code>90df2bc</code></a> feat(python): Name transpose from column (<a href="https://redirect.github.com/pola-rs/polars/issues/9846">#9846</a>)</li> <li><a href="https://github.com/pola-rs/polars/commit/b7f6c7a73365814730e1800f949c6b69259ae933"><code>b7f6c7a</code></a> feat(rust,python): add use_earliest argument to truncate (<a href="https://redirect.github.com/pola-rs/polars/issues/9899">#9899</a>)</li> <li><a href="https://github.com/pola-rs/polars/commit/a70ecbfc13e69336616ebedf6761a233b61349c1"><code>a70ecbf</code></a> fix(rust, python): fix incorrect state in projection pushdown with joins (<a href="https://redirect.github.com/pola-rs/polars/issues/9987">#9987</a>)</li> <li><a href="https://github.com/pola-rs/polars/commit/980dac2452ed9af19c86b53c127d85b85aeb5549"><code>980dac2</code></a> feat(python): adds <code>SQRT</code>, <code>CBRT</code>, <code>PI</code> functions to <code>SQLContext</code> (<a href="https://redirect.github.com/pola-rs/polars/issues/9936">#9936</a>)</li> <li><a href="https://github.com/pola-rs/polars/commit/3f34ad162f6b22ea7d62152e510db6001c9c15e6"><code>3f34ad1</code></a> feat(rust, python): Let qcut create evenly spaced probabilities (<a href="https://redirect.github.com/pola-rs/polars/issues/9960">#9960</a>)</li> <li><a href="https://github.com/pola-rs/polars/commit/52f6449457307f75fbbc2c2a6db41a936545ad34"><code>52f6449</code></a> chore: Update autolabeler again (<a href="https://redirect.github.com/pola-rs/polars/issues/9984">#9984</a>)</li> <li><a href="https://github.com/pola-rs/polars/commit/10f3c069f6e8df8cefe26019fec6276188bdc067"><code>10f3c06</code></a> refactor(python): use original <code>Instruction</code> objects during bytecode translat...</li> <li><a href="https://github.com/pola-rs/polars/commit/9ca9c2a4ada78e46a55a89a22b3ec8ef8076da99"><code>9ca9c2a</code></a> feat(python): add freeze_panes option to write_excel (<a href="https://redirect.github.com/pola-rs/polars/issues/9974">#9974</a>)</li> <li><a href="https://github.com/pola-rs/polars/commit/977d7e548e7f6039a467036a2d8692a8df477392"><code>977d7e5</code></a> feat(python): initial support for parsing the set of <code>jump</code> bytecode instruct...</li> <li>Additional commits viewable in <a href="https://github.com/pola-rs/polars/compare/py-0.18.7...py-0.18.8">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Signed-off-by: Mathias L. Baumann <[email protected]>
imul is implemented only for `Percentage` because, all other multiplications that we have produce outputs of a new type, which is not possible with imul. With this usage like this becomes possible: ```python power = Power.from_watts(1000.0) power += Power.from_watts(3.2) ``` Signed-off-by: Sahas Subramanian <[email protected]>
…s#527) imul is implemented only for `Percentage` because, all other multiplications that we have produce outputs of a new type, which is not possible with imul. With this usage like this becomes possible: ```python power = Power.from_watts(1000.0) power += Power.from_watts(3.2) ```
Bumps [types-protobuf](https://github.com/python/typeshed) from 4.23.0.1 to 4.23.0.2. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-protobuf dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [types-protobuf](https://github.com/python/typeshed) from 4.23.0.1 to 4.23.0.2. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/python/typeshed/commits">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Signed-off-by: Matthias Wende <[email protected]>
Signed-off-by: Matthias Wende <[email protected]>
Signed-off-by: Matthias Wende <[email protected]>
Signed-off-by: Matthias Wende <[email protected]>
This patch is done in order to decrease the size of the `_formula_engine.py` file. Signed-off-by: Matthias Wende <[email protected]>
Signed-off-by: Matthias Wende <[email protected]>
We can now use constants for all formula engine operations. **Example:** ```python scaled_grid_power = (microgrid.logical_meter().grid_power * 5).build() ```
Closes frequenz-floss#532 Signed-off-by: Sahas Subramanian <[email protected]>
Closes frequenz-floss#531 Signed-off-by: Sahas Subramanian <[email protected]>
This allows us to compare floating point values without having to use the equality operator. Signed-off-by: Sahas Subramanian <[email protected]>
Signed-off-by: Sahas Subramanian <[email protected]>
These classes were redefining all parameters, and that had the risk of going out of sync with the fields in the base class. This PR ties the wrappers with their base classes, such that it is easy to identify changes to the base classes, without updates to the wrappers. Signed-off-by: Sahas Subramanian <[email protected]>
In most component graph configs, batteries would be attached to inverters and the inverters would be meters. But there might be some cases where there are no meters, and we'll have to read data from the inverters. This commit enables such test configs, that can be used in tests that use the MockMicrogrid. Signed-off-by: Sahas Subramanian <[email protected]>
This is the grid power test for component configs without a grid side meter, so it will have to read values from the inverter, to calculate the grid power. Signed-off-by: Sahas Subramanian <[email protected]>
Now that actors are stopped properly, we can reestablish the restart limit after it was changed. Signed-off-by: Leandro Lucarella <[email protected]>
A new utility `actor_restart_limit` context manager is added to be able to temporarily change the actor's restart limit, and it is now used in the `disable_actor_auto_restart` fixture. Signed-off-by: Leandro Lucarella <[email protected]>
This is useful to test that actors are being properly restarted. Signed-off-by: Leandro Lucarella <[email protected]>
In particular we test that the new restart rules work as expected, and we also check the logs produced to have extra certainty that what we expect to happen is really happening. The restart tests are done using the `run()` function because we expect to move the restart logic there, so the tests are "forward-compatible". Signed-off-by: Leandro Lucarella <[email protected]>
When a `BackgroundService.wait()` is used, it should also propage `CancelledError`s, as is it not always normal that a background service is cancelled unless `stop()` is called, which uses `cancel()` to stop the tasks. When `stop()` is used, we properly filter out all `CancelledError`s too, as in that case we triggered the cancellation, so it is normal. Signed-off-by: Leandro Lucarella <[email protected]>
We verify that cancelled actors are reported as such by the `run()` function and that the actor is not automatically restarted. Signed-off-by: Leandro Lucarella <[email protected]>
Add some tests for the `BackgroundService` class. The tests were written looking at the coverage to avoid duplicating a lot of tests that are already performed in the `Actor` tests. Signed-off-by: Leandro Lucarella <[email protected]>
This is so they don't show up in the generated documentation. Signed-off-by: Leandro Lucarella <[email protected]>
Signed-off-by: Leandro Lucarella <[email protected]>
`BackgroundService` is a new abstract base class can be used to write other classes that runs one or more tasks in the background. It provides a consistent API to start and stop these services and also takes care of the handling of the background tasks. It can also work as an `async` context manager, giving the service a deterministic lifetime and guaranteed cleanup. The new `Actor` class brings quite a few new improvements over the old `@actor` decorator. These are the main differences: * It doesn't start automatically, `start()` needs to be called to start an actor. * The method to implement the main logic was renamed from `run()` to `_run()`, as it is not intended to be run externally. * Actors can have an optional `name` (useful for debugging/logging purposes) and `loop` (if the actor should run in a loop different from the currently running loop). * The actor will only be restarted if an unhandled `Exception` is raised by `_run()`. It will not be restarted if the `_run()` method finishes normally. If an unhandled `BaseException` is raised instead, it will be re-raised. For normal cancellation the `_run()` method should handle `asyncio.CancelledError` if the cancellation shouldn't be propagated (this is the same as with the decorator). * The `_stop()` method is public (`stop()`) and will `cancel()` and `await` for the task to finish, catching the `asyncio.CancelledError`. * The `join()` method is renamed to `wait()`, but they can also be awaited directly ( `await actor`). * For deterministic cleanup, actors can now be used as `async` context managers. The base actors (`ConfigManagingActor`, `ComponentMetricsResamplingActor`, `DataSourcingActor`, `PowerDistributingActor`) now inherit from the new `Actor` class, as well as the `MovingWindow`. Fixes frequenz-floss#240, fixes frequenz-floss#45, fixes frequenz-floss#196.
The issues with absolute imports were reported when running mypy directly, as `.nox/mypy/bin/mypy --strict src/`. E.g., the older version of `_distribution_algorithm.py` causes the error: ``` $ .nox/mypy/bin/mypy --strict src/ src/frequenz/sdk/microgrid/_graph.py: error: Source file found twice under different module names: "sdk._internal._math" and "frequenz.sdk._internal._math" src/frequenz/sdk/microgrid/_graph.py: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#mapping-file-paths-to-modules for more info src/frequenz/sdk/microgrid/_graph.py: note: Common resolutions include: a) adding `__init__.py` somewhere, b) using `--explicit-package-bases` or adjusting MYPYPATH Found 1 error in 1 file (errors prevented further checking ``` Signed-off-by: Tiyash Basu <[email protected]>
The issues with absolute imports were reported when running mypy directly, as `.nox/mypy/bin/mypy --strict src/`. E.g., the older version of `_distribution_algorithm.py` causes the error: ``` $ .nox/mypy/bin/mypy --strict src/ src/frequenz/sdk/microgrid/_graph.py: error: Source file found twice under different module names: "sdk._internal._math" and "frequenz.sdk._internal._math" src/frequenz/sdk/microgrid/_graph.py: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#mapping-file-paths-to-modules for more info src/frequenz/sdk/microgrid/_graph.py: note: Common resolutions include: a) adding `__init__.py` somewhere, b) using `--explicit-package-bases` or adjusting MYPYPATH Found 1 error in 1 file (errors prevented further checking ```
This example is dropped because it's not just outdated but also purely private. Users shall not use PowerDistributor but access the batteries through BatteryPool instead. Signed-off-by: Christian Parpart <[email protected]>
This example is dropped because it's not just outdated but also purely private. Users shall not use PowerDistributor but access the batteries through BatteryPool instead. Closes frequenz-floss#253
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.2.1 to 9.2.5. - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](squidfunk/mkdocs-material@9.2.1...9.2.5) --- updated-dependencies: - dependency-name: mkdocs-material dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.2.1 to 9.2.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/squidfunk/mkdocs-material/releases">mkdocs-material's releases</a>.</em></p> <blockquote> <h2>mkdocs-material-9.2.5</h2> <ul> <li>Fixed error in dirty serve mode when using blog plugin</li> <li>Fixed page title not being consistent in blog plugin pagination</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/5899">#5899</a>: Blog plugin pagination breaks when disabling directory URLs</li> </ul> <h2>mkdocs-material-9.2.4</h2> <ul> <li>Added version to bug report name in info plugin</li> <li>Updated Afrikaans translations</li> </ul> <h2>mkdocs-material-9.2.3</h2> <ul> <li>Fixed blog plugin rendering wrongly with <code>markdown.extensions.toc</code></li> <li>Fixed blog plugin entrypoint generation</li> </ul> <h2>mkdocs-material-9.2.2</h2> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/5880">#5880</a>: Blog plugin failing when building a standalone blog</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/5881">#5881</a>: Blog plugin not compatible with Python < 3.10</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/ecdf33681a0f3be80b69747856c173bea4009ab3"><code>ecdf336</code></a> Prepare 9.2.5 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/acd70cf04a5ff4ecd955ed46571ebceaf2ddad66"><code>acd70cf</code></a> Fixed dirty rebuilds for blog plugin</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/568a5c8e1e4fad38af220f811f42cd8ff18551e8"><code>568a5c8</code></a> Fixed blog title not being consistent in pagination</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/da21786694e6cef70e617a4d9e8b59af65f24567"><code>da21786</code></a> Documentation</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/fbb7a5e8942629b1acc09c7f296e5396f654a554"><code>fbb7a5e</code></a> Blog plugin pagination breaks when disabling directory URLs</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/f022873c69bb10b419dfbecab2cc0a2d6ac794b1"><code>f022873</code></a> Updated changelog</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/cafdc48a8a1c7d73683ce9f9cafc7966af2df63f"><code>cafdc48</code></a> Prepare 9.2.4 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/db568b1e6b28e3402c3b52a62ea8eb9430be6474"><code>db568b1</code></a> Added version to info plugin example name</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/d26a949175f70c912e8a74e6639f6e56e01df419"><code>d26a949</code></a> Updated premium sponsors</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/9259251377fd8d6d28b1417ffc8bdbd78acb2213"><code>9259251</code></a> Documentation</li> <li>Additional commits viewable in <a href="https://github.com/squidfunk/mkdocs-material/compare/9.2.1...9.2.5">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
c1c0c22 to
2ae65de
Compare
Use dfs on the component graph to find consumer or non consumer components, in order to enhance the consumer power formula. Signed-off-by: Matthias Wende <[email protected]>
Signed-off-by: Matthias Wende <[email protected]>
Signed-off-by: Matthias Wende <[email protected]>
Signed-off-by: Matthias Wende <[email protected]>
Signed-off-by: Matthias Wende <[email protected]>
a665b53 to
c26bb5e
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Use the dfs to find consumer and non consumer components for computing the consumer power.