mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-24 05:44:27 +00:00
Resistive Heater model, fixed Fusion Reactor
This commit is contained in:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user