From a18d86f9afe967187f1ac4a80e28daacd22f8245 Mon Sep 17 00:00:00 2001 From: "Mathias L. Baumann" Date: Tue, 9 May 2023 10:50:37 +0200 Subject: [PATCH] Remove r-prefix of documentation string ??? Signed-off-by: Mathias L. Baumann --- src/frequenz/sdk/power/_distribution_algorithm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frequenz/sdk/power/_distribution_algorithm.py b/src/frequenz/sdk/power/_distribution_algorithm.py index b7796b6fc..497af5a7d 100644 --- a/src/frequenz/sdk/power/_distribution_algorithm.py +++ b/src/frequenz/sdk/power/_distribution_algorithm.py @@ -40,7 +40,7 @@ class DistributionResult: class DistributionAlgorithm: - r"""Distribute power between many components. + """Distribute power between many components. The purpose of this tool is to keep equal SoC level in the batteries. It takes total power that should be to be set for some subset of battery-inverter @@ -269,7 +269,7 @@ def _total_capacity(self, components: List[InvBatPair]) -> float: def _compute_battery_availability_ratio( self, components: List[InvBatPair], available_soc: Dict[int, float] ) -> Tuple[List[Tuple[InvBatPair, float]], float]: - r"""Compute battery ratio and the total sum of all of them. + """Compute battery ratio and the total sum of all of them. battery_availability_ratio = capacity_ratio[i] * available_soc[i] Where: