PART
{
	// --- general parameters ---
	name = OctoSat_Ut_RTG
	module = Part
	author = Nookos
	
	// --- Model ---
	
	MODEL
	{
		model = NSS/Parts/OctoSat_Ut_RTG
	}
	// --- asset parameters ---
	scale = 1
	rescaleFactor = 1

	// --- node definitions ---
	node_stack_side = 0, 0, 0, 1, 0, 0, 0

	// --- editor parameters ---
	TechRequired = experimentalElectrics
	entryCost = 50000
	cost = 20500
	category = Electrical
	subcategory = 0
	title = OctoSat Radioisotope Thermoelectric Generator
	manufacturer = NSS
	description = This thing seems to produce energy out of thin air! Must be sorcery. It can even set fire to itself :S We don't want this wizardry in our warehouse so it's on sale.

	// --- attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision ---
	attachRules = 1,0,0,1,0


	// --- standard part parameters ---
	mass = 0.06
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 9
	maxTemp = 1200
	radiatorMax = 0.25

	bulkheadProfiles = srf
	tags = octosat active atom charge e/c elect energ generat isotope nuclear nuke power radio rtg thermo volt watt
	// --- resources ---

	// --- Modules ---
	MODULE
	{
		name = ModuleGenerator
		isAlwaysActive = true
		OUTPUT_RESOURCE
		{
			name = ElectricCharge
			rate = 0.55
		}
	}
	MODULE
	{
		name = ModuleCoreHeat
		CoreTempGoal = 350					//Internal temp goal - we don't transfer till we hit this point
		CoreToPartRatio = 0.1				//Scale back cooling if the part is this % of core temp
		CoreTempGoalAdjustment = 0			//Dynamic goal adjustment
		CoreEnergyMultiplier = 0.01			//What percentage of our core energy do we transfer to the part
		HeatRadiantMultiplier = 0.01			//If the core is hotter, how much heat radiates?
		CoolingRadiantMultiplier = 0		//If the core is colder, how much radiates?
		HeatTransferMultiplier = 0			//If the part is hotter, how much heat transfers in?
		CoolantTransferMultiplier = 0		//If the part is colder, how much of our energy can we transfer?
		radiatorCoolingFactor = 0			//How much energy we pull from core with an active radiator?  >= 1
		radiatorHeatingFactor = 0			//How much energy we push to the active radiator
		MaxCalculationWarp = 1000			//Based on how dramatic the changes are, this is the max rate of change
		CoreShutdownTemp = 10000			//At what core temperature do we shut down all generators on this part?
		MaxCoolant = 0						//Maximum amount of radiator capacity we can consume - 2500 = 1 small
		PassiveEnergy
		{
			key = 0 	25000
			key = 200 	10000
			key = 250 	50		
			key = 300	25
			key = 350	0
		}
	}
}
