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

Energy Distrubution Grid: Power Flow #475

Open
Tracked by #256
Indy2222 opened this issue Jun 7, 2023 · 1 comment
Open
Tracked by #256

Energy Distrubution Grid: Power Flow #475

Indy2222 opened this issue Jun 7, 2023 · 1 comment

Comments

@Indy2222
Copy link
Collaborator

Indy2222 commented Jun 7, 2023

Based on #472 and #473, implement a simple (v1) algorithm of energy distribution (power flow).

  • Power may flow from any source (any battery) to any target.
    • Even from a unit to a power plan if needed.
  • No energy interlink (an edge in the grid graph) can transmit than X watts (a constant in the code).
  • Power may not flow from batteries with 0 charge or to batteries with maximum charge.
  • The flow is "optimal" in some sense.
    • This must be designed so that "the optimal":
      • makes sense in the context of the game
      • can be computed with a non-super-complex algorithm
      • can be computed efficiently
    • For example: flow to batteries/units close to full discharge should be prioritized

Note that the goal of the issue is a version 1 implementation / algorithm. Simplicity is of higher priority than perfection.

See https://en.wikipedia.org/wiki/Maximum_flow_problem for inspiration.

Copy link

github-actions bot commented Dec 6, 2024

There is no activity on the issue for some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant