Add shade profiles, 2D V×I sweep, meter format toggle, ON/OFF indicators, and GUI console

- Shade profile: CSV-driven irradiance/voltage sequences with load control
  (bench.run_shade_profile, CLI shade-profile command, GUI profile panel)
- 2D sweep: voltage × load current efficiency map with live graph updates
  (bench.sweep_vi, CLI sweep-vi command, GUI sweep panel with background thread)
- GUI: meter format selector (scientific/normal), supply/load ON/OFF indicators,
  console log with stdout redirect and color-coded messages
- Sample profiles: cloud_pass, partial_shade, intermittent_clouds

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-11 15:27:48 +07:00
parent 74917e05f2
commit 956be4b77a
8 changed files with 953 additions and 14 deletions

11
samples/cloud_pass.csv Normal file
View File

@@ -0,0 +1,11 @@
time,voltage,current_limit,load_mode,load_value
0,75,10.0,CC,3.0
10,75,8.0,CC,3.0
20,75,6.0,CC,3.0
30,75,4.0,CC,2.0
40,75,2.0,CC,1.0
50,75,2.0,CC,1.0
60,75,4.0,CC,2.0
70,75,6.0,CC,3.0
80,75,8.0,CC,3.0
90,75,10.0,CC,3.0
1 time voltage current_limit load_mode load_value
2 0 75 10.0 CC 3.0
3 10 75 8.0 CC 3.0
4 20 75 6.0 CC 3.0
5 30 75 4.0 CC 2.0
6 40 75 2.0 CC 1.0
7 50 75 2.0 CC 1.0
8 60 75 4.0 CC 2.0
9 70 75 6.0 CC 3.0
10 80 75 8.0 CC 3.0
11 90 75 10.0 CC 3.0