From 1d691c7ada9e74ea4f24acf16726a751ee882547 Mon Sep 17 00:00:00 2001 From: Tom-Eliot Jullien Date: Sat, 21 Feb 2026 17:01:18 -0800 Subject: [PATCH 1/5] units added --- steer_core/Constants/Units.py | 1 + 1 file changed, 1 insertion(+) diff --git a/steer_core/Constants/Units.py b/steer_core/Constants/Units.py index 4abf457..dc0ca57 100644 --- a/steer_core/Constants/Units.py +++ b/steer_core/Constants/Units.py @@ -51,6 +51,7 @@ H_TO_D = 1 / 24 H_TO_W = 1 / (24 * 7) Y_TO_M = 12 +H_TO_US = 3600000 D_TO_W = 1 / 7 AVG_D_TO_MONTH = 12 / 365.25 From 084189c9868bee5fc9e0c8866b96c70d577a977c Mon Sep 17 00:00:00 2001 From: Tom-Eliot Jullien Date: Mon, 23 Feb 2026 17:06:27 -0800 Subject: [PATCH 2/5] units added --- steer_core/Constants/Units.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/steer_core/Constants/Units.py b/steer_core/Constants/Units.py index dc0ca57..13208be 100644 --- a/steer_core/Constants/Units.py +++ b/steer_core/Constants/Units.py @@ -52,6 +52,8 @@ H_TO_W = 1 / (24 * 7) Y_TO_M = 12 H_TO_US = 3600000 +D_TO_H = 24 +W_TO_D = 7 D_TO_W = 1 / 7 AVG_D_TO_MONTH = 12 / 365.25 From 9c898c37b40bde92422101d291efc54fac158645 Mon Sep 17 00:00:00 2001 From: Tom-Eliot Jullien Date: Mon, 23 Feb 2026 17:25:49 -0800 Subject: [PATCH 3/5] units added --- steer_core/Constants/Units.py | 1 + 1 file changed, 1 insertion(+) diff --git a/steer_core/Constants/Units.py b/steer_core/Constants/Units.py index 13208be..05e4c59 100644 --- a/steer_core/Constants/Units.py +++ b/steer_core/Constants/Units.py @@ -54,6 +54,7 @@ H_TO_US = 3600000 D_TO_H = 24 W_TO_D = 7 +S_TO_US = 1000 D_TO_W = 1 / 7 AVG_D_TO_MONTH = 12 / 365.25 From 54c8ff427c67d7580c106836c4e01d5213cfe30f Mon Sep 17 00:00:00 2001 From: Tom-Eliot Jullien Date: Wed, 4 Mar 2026 22:23:04 -0800 Subject: [PATCH 4/5] units added --- steer_core/Constants/Units.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/steer_core/Constants/Units.py b/steer_core/Constants/Units.py index 05e4c59..7744b76 100644 --- a/steer_core/Constants/Units.py +++ b/steer_core/Constants/Units.py @@ -55,11 +55,15 @@ D_TO_H = 24 W_TO_D = 7 S_TO_US = 1000 +M_TO_Y = 1 / 12 + D_TO_W = 1 / 7 AVG_D_TO_MONTH = 12 / 365.25 AVG_D_TO_Y = 1 / 365.25 Y_TO_AVG_D = 365.25 +AVG_W_TO_Y = 1 / (365.25 / 7) +AVG_H_TO_Y = 1 / (365.25 * 24) # Energy units From 50d1e3b2b3b51f6232b249ee66eaf4869c1a42b4 Mon Sep 17 00:00:00 2001 From: Tom-Eliot Jullien Date: Wed, 18 Mar 2026 17:28:18 -0700 Subject: [PATCH 5/5] units added --- steer_core/Constants/Units.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/steer_core/Constants/Units.py b/steer_core/Constants/Units.py index 7744b76..fad7a31 100644 --- a/steer_core/Constants/Units.py +++ b/steer_core/Constants/Units.py @@ -80,6 +80,10 @@ FRACTION_TO_PPM = 1e6 PPM_TO_FRACTION = 1e-6 +# Unitless +UNIT_TO_MILLION: float = 1e-6 +MILLION_TO_UNIT: float = 1e6 + # Volume units L_TO_M3 = 1e-3 M3_TO_L = 1e3