Fixed basic nanogrid port implementation

Instead of SOLAR_TERMINAL, GRID_TERMINAL has to be defined in config.h
(see also template).
This commit is contained in:
Martin Jaeger
2019-12-20 14:52:57 +01:00
parent 53ae6d4608
commit 93418fc8c8
8 changed files with 64 additions and 22 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ void PowerPort::init_nanogrid()
// also initialize the connected bus
src_voltage_start = 30.0; // starting buck mode above this point
src_voltage_stop = 20.0; // stopping buck mode below this point
src_voltage_stop = 30.0; // stopping buck mode below this point
sink_voltage_max = 28.0; // starting idle mode above this point
sink_voltage_min = 10.0;