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

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

fix denormalization generic engine map

parent 72cbaeec
No related branches found
Tags Release/v3.3.6.1916
No related merge requests found
......@@ -188,7 +188,7 @@ namespace TUGraz.VectoCore.Models.Declaration
foreach (DataRow row in normalized.Rows) {
var engineSpeed = row.ParseDouble("n_norm") * (n95h - nIdle) + nIdle;
var pwr = row.ParseDouble("P_norm") * ratedPower / 1000;
var pwr = row.ParseDouble("P_norm") * ratedPower;
var torque = pwr / engineSpeed;
var fc = (row.ParseDouble("FC_norm") * ratedPower.Value() / 1000).SI(Unit.SI.Gramm.Per.Hour) .Cast<KilogramPerSecond>();
......
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