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

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

fix warning in aaux calculation (SI)

parent d9bebf79
No related branches found
No related tags found
No related merge requests found
......@@ -56,11 +56,11 @@ Namespace DownstreamModules
.Y = M11.TotalCycleFuelConsumptionSmartElectricalLoad}
Dim IP5x As Joule = M11.TotalCycleElectricalDemand
Dim IP5y As Kilogram
Dim TanTeta As SI = (P2.Y - P1.Y) / (P2.X - P1.X)
Dim TanTeta As double = ((P2.Y - P1.Y).Value() / (P2.X - P1.X).Value())
IP5y = P1.Y + (TanTeta * IP5x)
Dim IP5y As Kilogram = (P1.Y.Value() + (TanTeta * IP5x.Value())).SI(of Kilogram)
_INTERP1 = IP5y
......
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