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

Name changes & documentation updates #64

Merged

Conversation

stefan-brus-frequenz
Copy link
Contributor

Fixes #58
Fixes #59
Fixes #60
Fixes #61
Fixes #62

@stefan-brus-frequenz stefan-brus-frequenz requested a review from a team as a code owner September 8, 2023 11:28
@github-actions github-actions bot added the part:protobuf Affects the protocol buffer definition files label Sep 8, 2023
@github-actions github-actions bot added the part:docs Affects the documentation label Sep 8, 2023
stefan-brus-frequenz and others added 6 commits September 8, 2023 14:00
Signed-off-by: Stefan Brus <[email protected]>
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.0 to 7.4.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@7.4.0...7.4.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@github-actions github-actions bot added the part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) label Sep 8, 2023
Copy link
Contributor

@tiyash-basu-frequenz tiyash-basu-frequenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@llucax
Copy link
Contributor

llucax commented Sep 8, 2023

Before merging anything I strongly recommend trying out how it is rendered doing:

pip install -e .[dev-mkdocs]
mkdocs serve

Remember Markdown is used, so probably things like Key Features: are better as headings (like ## Key Features).

You can also download the generate site from the CI job artifacts (docs-site), for example: https://github.com/frequenz-floss/frequenz-api-dispatch/suites/15958489808/artifacts/911059038 (for https://github.com/frequenz-floss/frequenz-api-dispatch/actions/runs/6121426869?pr=64)

@llucax
Copy link
Contributor

llucax commented Sep 8, 2023

It seems like the file header is not rendered at all 😢

@stefan-brus-frequenz
Copy link
Contributor Author

It seems like the file header is not rendered at all

Any suggested fixes before merging this?

@stefan-brus-frequenz stefan-brus-frequenz added this pull request to the merge queue Sep 11, 2023
Merged via the queue into frequenz-floss:v0.x.x with commit 3c6b2d2 Sep 11, 2023
Comment on lines 3 to 29
// Frequenz gRPC API to propagate dispatches to microgrids
// Overview:
// The API serves to automate the process of electricity dispatches for microgrids.
// In the context of the energy industry, a 'dispatch' refers to the act of routing electrical power
// between different components within a microgrid or between a microgrid and the main grid.
// This could be for the purpose of supply (sending electricity to the grid or components within the microgrid),
// or demand (drawing electricity from the grid or from other components like batteries and solar arrays).
//
// Objective:
// The primary objective of this API is to streamline and automate the complex task of electricity dispatching,
// making it easier to manage local electricity supply and demand efficiently.
//
// Key Features:
// - Dispatching Electricity: Comprehensive CRUD operations for dispatching microgrid components.
// - Automation: Support for one-time as well as recurring dispatches based on flexible recurrence rules.
// - Fine-grained control: Dispatch individual microgrid components or entire component categories.
//
// Example Use Cases:
// - Charging or discharging a battery based on optimal time-of-use rates.
// - Limiting the output of a Photovoltaic (PV) array during periods of low demand.
// - Invoking Frequency Containment Reserves (FCR) or Automatic Frequency Restoration Reserves (aFRR) to
// support grid operations.
// - Adjusting the output of electric vehicle charging stations to match grid availability or to avoid peak pricing.
//
// Target Audience:
// This API is designed for application developers in the energy sector who focus on the tasks of optimizing microgrid
// electricity flows. Its design aims to be as developer-friendly as possible, requiring no prior knowledge in
// electrical engineering and systems.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to emphasize this, sadly the file-level documentation is not rendered at all. Since this is very important info it would be nice to include it somewhere else. Maybe as part of the service MicrogridDispatchService block documentation?

@thomas-nicolai-frequenz FYI for when you create new issues with specs for new APIs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created a separate issue for this: #67

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
part:docs Affects the documentation part:protobuf Affects the protocol buffer definition files part:tooling Affects the development tooling (CI, deployment, dependency management, etc.)
Projects
None yet
4 participants