Which means the first condition always evaluates as true. The MHD generator always uses the hot bath temperature of the power source, turning it into a worse version of the thermal generator.
Fix
If I understand it correctly, _appliesBalance is used when a nozzle and a generator are attached to the same reactor.
_appliesBalance should not factor into the calculation of the hot bath temperature.
There is no need for a MHD generator to use balancing all by itself, hence the isMHD was removed from the assignment of _appliesBalance
The code using _appliesBalance was commented out in many places. All it does is influence the megajoules buffer of the generator. When using a charged particle only mode such as Lithium6 cycle fusion, the buffer drops to zero. This seems rather odd, but it's another issue.
Issue
Right now the MHD generator does not work properly. This is caused by one or two lines in FNGenerator.cs
When calculating the hot bath temperature the following condition is evaluated:
FNGenerator.cs#L769.
And
_appliesBalance
is set byFNGenerator.cs#L958
Which means the first condition always evaluates as true. The MHD generator always uses the hot bath temperature of the power source, turning it into a worse version of the thermal generator.
Fix
If I understand it correctly,
_appliesBalance
is used when a nozzle and a generator are attached to the same reactor._appliesBalance
should not factor into the calculation of the hot bath temperature.isMHD
was removed from the assignment of_appliesBalance
The code using
_appliesBalance
was commented out in many places. All it does is influence the megajoules buffer of the generator. When using a charged particle only mode such as Lithium6 cycle fusion, the buffer drops to zero. This seems rather odd, but it's another issue.