Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

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.
Please register or to comment