@@ -638,11 +638,11 @@ message ElectricalComponentConnection {
638638 // Unique identifier of the component where the connection originates. This is
639639 // aligned with the direction of current flow away from the grid connection
640640 // point, or in case of islands, away from the islanding point.
641- uint64 source_component_id = 1 ;
641+ uint64 source_electrical_component_id = 1 ;
642642
643643 // Unique ID of the component where the connection terminates. This is the
644644 // component towards which the current flows.
645- uint64 destination_component_id = 2 ;
645+ uint64 destination_electrical_component_id = 2 ;
646646
647647 // The operational lifetime of the connection.
648648 frequenz.api.common.v1alpha8.microgrid.Lifetime operational_lifetime = 3 ;
@@ -728,13 +728,14 @@ message ElectricalComponentStateSnapshot {
728728}
729729
730730// ElectricalComponentTelemetry message aggregates multiple metrics, operational
731- // states, and errors, related to a specific microgrid component.
731+ // states, and errors, related to a specific electrical component in a
732+ // microgrid.
732733//
733734// !!! example
734- // Example output of a component data message:
735+ // Example output of a telemetry message:
735736// ```
736737// {
737- // component_id : 13,
738+ // electrical_component_id : 13,
738739// metric_samples: [
739740// /* list of metrics for multiple timestamps */
740741// {
@@ -752,7 +753,7 @@ message ElectricalComponentStateSnapshot {
752753// connection: "pv_0"
753754// }
754755// ],
755- // states : [
756+ // state_snapshots : [
756757// /* list of states for multiple timestamps */
757758// {
758759// sample_time: "2023-10-01T00:00:00Z",
@@ -770,12 +771,13 @@ message ElectricalComponentStateSnapshot {
770771// }
771772// ```
772773message ElectricalComponentTelemetry {
773- // The ID of the microgrid component.
774- uint64 component_id = 1 ;
774+ // The ID of the electrical component for which the telemetry is
775+ // collected.
776+ uint64 electrical_component_id = 1 ;
775777
776- // List of measurements for a metric of the specific microgrid component.
778+ // List of measurements for a metric of the specific electrical component.
777779 repeated frequenz.api.common.v1alpha8.metrics.MetricSample metric_samples = 2 ;
778780
779- // List of state snapshots of a specific microgrid component.
781+ // List of state snapshots of a specific electrical component.
780782 repeated ElectricalComponentStateSnapshot state_snapshots = 3 ;
781783}
0 commit comments