Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit a7d69418 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

fix sum-file BatteryDeltaSoCEnergy calculation

parent 8ee14e86
No related branches found
No related tags found
No related merge requests found
......@@ -758,7 +758,7 @@ namespace TUGraz.VectoCore.OutputData
var cellVoltage = runData.BatteryData.SOCMap.Lookup(runData.BatteryData.InitialSoC);
row[Fields.BatteryDeltaSoC] =
(modData.BatteryEnergyEnd() -
(runData.BatteryData.InitialSoC * runData.BatteryData.Capacity * cellVoltage * 100).Cast<WattSecond>()).ConvertToKiloWattHour();
(runData.BatteryData.InitialSoC * runData.BatteryData.Capacity * cellVoltage).Cast<WattSecond>()).ConvertToKiloWattHour();
row[Fields.E_BAT_LOSS] = modData.BatteryLoss().ConvertToKiloWattHour();
row[Fields.E_Batt_T_chg] = modData.WorkBatteryChargeTerminal().ConvertToKiloWattHour();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment