Skip to content

ModuleSystemHeatEngine

JadeOfMaar edited this page Apr 29, 2025 · 5 revisions

This module provides the basic interface between an engine's throttle response and its interations with a heat loop, replacing the use of the vague and complicated stock function for engine heat production. While the given engine is functional it contributes heat to a loop and will, if so tuned, underperform if the loop temperature is out of favor.

MODULE
{
	name = ModuleSystemHeatEngine
	moduleID = engine
	systemHeatModuleID = engine
	engineModuleID = basicEngine
	systemPower = 1000
	systemOutletTemperature = 1000
	shutdownTemperature = 1300
	temperatureCurve
	{
		key = 0 1.0
		key = 1000 1.0
		key = 1300 0.0
	}
}
  • moduleID: The unique identifier of the module.
  • systemHeatModuleID: Links the part to a specific ModuleSystemHeat. If not specified, will use the first one found.
  • engineModuleID: Links to an instance of ModuleEnginesFX or its derivatives. If there is more than one engine module (as in any bimodal engine part) this value must match the value of engineID within ModuleEnginesFX or its derivative. If there is only one such module, keep the default value shown. This key may not even apply in that case but that's untested.
  • systemPower: The engine's waste heat output at peak operation and full throttle, measured in kilowatts.
  • systemOutletTemperature: The nominal operating temperature of the engine, measured in kelvins.

These are optional and are fine to use together. Choose one or both.

  • shutdownTemperature: Optional; The temperature where the engine will refuse to operate.
  • temperatureCurve: Optional; Maps loop temperature to engine operational status. X is temperature, in kelvins. Y is operability, measured from 0 to 1.

Clone this wiki locally