Commit 54a07fe7 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Adds vmin strategy

Showing with 3 additions and 2 deletions
+3 -2
...@@ -351,9 +351,10 @@ class OhmPiHardware: ...@@ -351,9 +351,10 @@ class OhmPiHardware:
print(f'Vab {vab } bounded by P max') print(f'Vab {vab } bounded by P max')
elif new_vab == cond_iab_max: elif new_vab == cond_iab_max:
print(f'Vab {vab} bounded by Iab max') print(f'Vab {vab} bounded by Iab max')
else: elif new_vab == cond_vmn_max:
assert new_vab == cond_vmn_max
print(f'Vab {vab} bounded by Vmn max') print(f'Vab {vab} bounded by Vmn max')
else:
print(f'Vab {vab} bounded by Vmn min')
return new_vab return new_vab
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment