-
Notifications
You must be signed in to change notification settings - Fork 20
ModuleSystemHeatFissionReactor
DareMightyThingsJPL edited this page Feb 2, 2025
·
1 revision
This module implements a basic fission reactor.
MODULE
{
name = ModuleSystemHeatFissionReactor
moduleID = reactor
// -- Heat stuff
// ModuleSystemHeat instance to link to
systemHeatModuleID = reactor
// Heat kW
HeatGeneration
{
key = 0 0 0 0
key = 100 6000 0 0
}
// Above this temp, risky
NominalTemperature = 850
// Above this temp, reactor takes damage
CriticalTemperature = 1300
// Amount of damage taken by core when over critical temp
// %/s/K, so with value 0.001, at 200 K over CriticalTemp, reactor takes 0.2% damage/s
CoreDamageRate = 0.008
// When repairing, amount of core damage to heal (%)
RepairAmountPerKit = 25
CurrentPowerPercent = 100
ThrottleIncreaseRate = 5
MinimumThrottle = 10
// -- Electrical stuff
// Power generated
ElectricalGeneration
{
key = 0 0
key = 100 2000
}
// --- Fuel stuff
// Base lifetime calculations off this resource
FuelName = EnrichedUranium
INPUT_RESOURCE
{
ResourceName = EnrichedUranium
Ratio = 1.22E-06
FlowMode = NO_FLOW
}
OUTPUT_RESOURCE
{
ResourceName = DepletedFuel
Ratio = 1.22E-06
DumpExcess = false
FlowMode = NO_FLOW
}
}
-
moduleID: the ID of the module. Should be unique on the part. -
systemHeatModuleID: links the part to a specific ModuleSystemHeat. If not specified, will use the first one found. -
HeatGeneration: determines the amount of waste heat produced at specified reactor throttles. Heat is in K. -
NominalTemperature: determines the nominal operating temperature of the reactor. Any higher is considered risky. Heat is in K. -
CriticalTemperature: determines the critical temperature of the reactor; any higher and the reactor will take damage. Heat is in K. -
CoreDamageRate: determines the amount of damage taken by a reactor when exceeding critical temperatures. %/s/K, so with value 0.001, at 200 K over CriticalTemp, reactor takes 0.2% damage/s. -
RepairAmountPerKit: determines how much % a reactor core is repaired, per repair-kit used. -
CurrentPowerPercent: determines default reactor throttle in the VAB & SPH. -
ThrottleIncreaseRate: determines how much of a % a reactor's throttle is automatically increased per second, when more power is drawn from the vessel than is being produced. -
MinimumThrottle: determines the lowest throttle setting of the reactor. -
ElectricalGeneration: determines the reactor power generation at the specified throttle. First number in a givenkeydetermines reactor throttle, second number in a givenkeydetermines power generation, measured in ElectricCharge/s. -
FuelName: the reactor's fuel. Should be labeled the same as it's input resource/s. -
INPUT_RESOURCE-
ResourceName: The resource the reactor uses. -
Ratio: the rate at which the resource is consumed per second, at maximum reactor throttle. -
FlowModedetermines the resource FlowMode. Eg, NO_FLOW makes the reactor unable to use fuel that is not stored within itself.
-
-
OUTPUT_RESOURCE-
ResourceName: The resource the reactor outputs. -
Ratio: the rate at which the resource is produced per second, at maximum reactor throttle. -
DumpExcess: determines whether when the output resources' tanks are full, if the produced resource is dumped overboard. Uses true or false values. -
FlowMode: determines the resource FlowMode. Eg, NO_FLOW makes the reactor unable to pump the resource that is not stored within itself.
-
Managing Heat
Part Types
Part Module Configuration
- ModuleSystemHeat
- ModuleSystemHeatRadiator
- ModuleSystemHeatEngine
- ModuleSystemHeatConverter
- ModuleSystemHeatHarvester
- ModuleSystemHeatExchanger
- ModuleSystemHeatFissionReactor
- ModuleSystemHeatFissionEngine
- ModuleSystemHeatFissionFuelContainer
- ModuleSystemHeatColorAnimator
- ModuleSystemHeatResourceAnimator
- ModuleSystemHeatSink
- SystemHeat Modules From Other Mods