mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 02:39:57 +02:00
Increase datatypes for W over 60kW
This commit is contained in:
parent
3e641b7ab7
commit
6c1777550d
29 changed files with 203 additions and 189 deletions
|
@ -17,20 +17,20 @@
|
|||
#endif
|
||||
|
||||
extern const char* version_number; // The current software version, shown on webserver
|
||||
extern uint32_t system_capacity_Wh; //Wh, 0-150000Wh
|
||||
extern uint32_t system_remaining_capacity_Wh; //Wh, 0-150000Wh
|
||||
extern uint32_t system_capacity_Wh; //Wh, 0-250000Wh
|
||||
extern uint32_t system_remaining_capacity_Wh; //Wh, 0-250000Wh
|
||||
extern int16_t system_battery_current_dA; //A+1, -1000 - 1000
|
||||
extern int16_t system_temperature_min_dC; //C+1, -50.0 - 50.0
|
||||
extern int16_t system_temperature_max_dC; //C+1, -50.0 - 50.0
|
||||
extern int16_t system_active_power_W; //W, -32000 to 32000
|
||||
extern uint16_t system_max_design_voltage_dV; //V+1, 0-500.0 (0-5000)
|
||||
extern uint16_t system_min_design_voltage_dV; //V+1, 0-500.0 (0-5000)
|
||||
extern int32_t system_active_power_W; //W, -200000 to 200000
|
||||
extern uint16_t system_max_design_voltage_dV; //V+1, 0-1000.0 (0-10000)
|
||||
extern uint16_t system_min_design_voltage_dV; //V+1, 0-1000.0 (0-10000)
|
||||
extern uint16_t system_scaled_SOC_pptt; //SOC%, 0-100.00 (0-10000)
|
||||
extern uint16_t system_real_SOC_pptt; //SOC%, 0-100.00 (0-10000)
|
||||
extern uint16_t system_SOH_pptt; //SOH%, 0-100.00 (0-10000)
|
||||
extern uint16_t system_battery_voltage_dV; //V+1, 0-500.0 (0-5000)
|
||||
extern uint16_t system_max_discharge_power_W; //W, 0-65000
|
||||
extern uint16_t system_max_charge_power_W; //W, 0-65000
|
||||
extern uint16_t system_battery_voltage_dV; //V+1, 0-1000.0 (0-10000)
|
||||
extern uint32_t system_max_discharge_power_W; //W, 0-100000
|
||||
extern uint32_t system_max_charge_power_W; //W, 0-100000
|
||||
extern uint16_t system_cell_max_voltage_mV; //mV, 0-5000 , Stores the highest cell millivolt value
|
||||
extern uint16_t system_cell_min_voltage_mV; //mV, 0-5000, Stores the minimum cell millivolt value
|
||||
extern uint16_t system_cellvoltages_mV[MAX_AMOUNT_CELLS]; //Array with all cell voltages in mV
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue