Resistive Heater model, fixed Fusion Reactor

This commit is contained in:
aidancbrady committed 2016-04-14 15:54:52 -04:00
1 parent 6fac6c3f22
commit 982749bb47
10 files changed
+214 -16

No files matched your search

@@ -141,7 +141,7 @@ public class FusionReactor implements IFusionReactor
else {
burning = false;
}
//Perform the heat transfer calculations
transferHeat();
@@ -218,7 +218,7 @@ public class FusionReactor implements IFusionReactor
double plasmaCaseHeat = plasmaCaseConductivity * (lastPlasmaTemperature - lastCaseTemperature);
plasmaTemperature -= plasmaCaseHeat / plasmaHeatCapacity;
caseTemperature += plasmaCaseHeat / caseHeatCapacity;
//Transfer from casing to water if necessary
if(activelyCooled)
{