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

Skip to content
Snippets Groups Projects
Commit 8f57dcbd authored by Markus QUARITSCH's avatar Markus QUARITSCH
Browse files

fix: battery data adapter: input is in mOhm for XML, in Ohm for CSV

parent 9c25cef8
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ namespace TUGraz.VectoCore.InputData.Reader.DataObjectAdapter.SimulationComponen
MaxCurrent = BatteryMaxCurrentReader.Create(b.MaxCurrentMap),
Capacity = b.Capacity,
InternalResistance =
BatteryInternalResistanceReader.Create(b.InternalResistanceCurve, true),
BatteryInternalResistanceReader.Create(b.InternalResistanceCurve, entry.REESSPack.DataSource.SourceType.IsOneOf(DataSourceType.XMLFile, DataSourceType.XMLEmbedded)),
SOCMap = BatterySOCReader.Create(b.VoltageCurve),
InputData = entry
};
......
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