From d596a39371c897ea16e998c787e1130561fb0b3f Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Thu, 19 Oct 2023 17:09:06 +0200 Subject: [PATCH] Updates compute_tx --- ohmpi/hardware_system.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ohmpi/hardware_system.py b/ohmpi/hardware_system.py index fe645263..19645f09 100644 --- a/ohmpi/hardware_system.py +++ b/ohmpi/hardware_system.py @@ -345,7 +345,9 @@ class OhmPiHardware: if new_vab == vab_max: print('Vab bounded by Vab max') elif new_vab == cond_p_max: - print('Vab bounded by Pmax') + print('Vab bounded by P max') + elif new_vab == cond_iab_max: + print('Vab bounded by Iab max') else: assert new_vab == cond_vmn_max print('Vab bounded by Vmn max') -- GitLab