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

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

allow extrapolation of aux maps

parent d662428a
No related branches found
Tags Release/v3.1.2.796
No related merge requests found
......@@ -61,7 +61,10 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Data
if (value.HasValue) {
return value.Value.SI<Watt>();
}
value = _map.Extrapolate(nAuxiliary.Value(), powerAuxOut.Value());
if (value.HasValue) {
return value.Value.SI<Watt>();
}
throw new VectoException("AuxiliaryData {2}: Interpolation failed. nAux: {0}, powerOut:{1}", nAuxiliary.AsRPM,
powerAuxOut, auxId);
}
......
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