From 4593a36ed742d166766d9cd1592d38c959139bda Mon Sep 17 00:00:00 2001
From: Michael Krisper <michael.krisper@tugraz.at>
Date: Mon, 11 Jul 2016 15:14:06 +0200
Subject: [PATCH] removed commented lines

---
 .../VectoSimulationComponent.cs                   | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/VectoCore/VectoCore/Models/SimulationComponent/VectoSimulationComponent.cs b/VectoCore/VectoCore/Models/SimulationComponent/VectoSimulationComponent.cs
index 41285d29e9..f272e38bda 100644
--- a/VectoCore/VectoCore/Models/SimulationComponent/VectoSimulationComponent.cs
+++ b/VectoCore/VectoCore/Models/SimulationComponent/VectoSimulationComponent.cs
@@ -90,12 +90,6 @@ namespace TUGraz.VectoCore.Models.SimulationComponent
 			PreviousState = CurrentState;
 			CurrentState = new TStateType();
 		}
-
-		//protected virtual Watt GetPowerLoss(SimpleComponentState previousState, SimpleComponentState currentState)
-		//{
-		//	return (previousState.InAngularVelocity + currentState.InAngularVelocity) / 2.0 *
-		//			(currentState.InTorque - currentState.OutTorque);
-		//}
 	}
 
 	public class SimpleComponentState
@@ -106,13 +100,6 @@ namespace TUGraz.VectoCore.Models.SimulationComponent
 		public PerSecond OutAngularVelocity = 0.SI<PerSecond>();
 		public PerSecond InAngularVelocity = 0.SI<PerSecond>();
 
-		//public NewtonMeter TorqueLoss = 0.SI<NewtonMeter>();
-
-		//public Watt PowerLoss()
-		//{
-		//	return InTorque * InAngularVelocity - OutTorque * OutAngularVelocity;
-		//}
-
 		public void SetState(NewtonMeter inTorque, PerSecond inAngularVelocity, NewtonMeter outTorque,
 			PerSecond outAngularVelocity)
 		{
@@ -120,8 +107,6 @@ namespace TUGraz.VectoCore.Models.SimulationComponent
 			InAngularVelocity = inAngularVelocity;
 			OutTorque = outTorque;
 			OutAngularVelocity = outAngularVelocity;
-
-			//TorqueLoss = (inTorque * inAngularVelocity - outTorque * outAngularVelocity) / inAngularVelocity;
 		}
 	}
 }
\ No newline at end of file
-- 
GitLab