Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ Update of the `PaginationParams` struct.

- Additional information for energy metric

- Generalize Energy message documentation for broader market use

- Add Power message to represent Power in MW

## Bug Fixes

- Fix a dependency issue by pinning the `grpcio` version and related libraries.
Expand Down
12 changes: 6 additions & 6 deletions proto/frequenz/api/common/v1/market/energy.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Frequenz definitions of energy for electricity trading.
// Frequenz definitions of energy.
//
// Copyright 2023 Frequenz Energy-as-a-Service GmbH
//
Expand All @@ -14,11 +14,11 @@ import "frequenz/api/common/v1/types/decimal.proto";
// Represents a single unit of electricity.
//
// !!! note
// In these trading orders, the unit of energy is denominated in MWh
// (Megawatt-hours) as opposed to MW (Megawatts). MWh is a unit of energy
// representing total output over a period, while MW is a unit of power that
// represents the rate of energy production or consumption.
// The unit of energy is denominated in MWh, which is a unit of energy
// representing total output over a period.(Megawatt-hours). This differs
// from MW (Megawatts), a unit of power representing the rate of energy
// production or consumption.
message Energy {
// Represents energy unit in Megawatthours (MWh).
// Energy unit in Megawatthours (MWh).
frequenz.api.common.v1.types.Decimal mwh = 1;
}
30 changes: 30 additions & 0 deletions proto/frequenz/api/common/v1/market/power.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// Frequenz definitions of power.
//
// Copyright 2024 Frequenz Energy-as-a-Service GmbH
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.

syntax = "proto3";

package frequenz.api.common.v1.market;

import "frequenz/api/common/v1/types/decimal.proto";

// Represents a single unit of power.
//
// !!! note
// The power unit is denominated in MW (Megawatts), which is a unit of
// power representing the rate of energy production or consumption at any
// given moment. This differs from MWh (Megawatt-hours), which measures
// the total amount of energy delivered or consumed over a period.
//
// Example:
// A power plant running at 10 MW for 1 hour generates 10 MWh of energy.
//
// This message standardizes the representation of power in MW across all
// market applications.
message Power {
// Power amount in Megawatts (MW).
frequenz.api.common.v1.types.Decimal mw = 1;
}