I've been having a lot of trouble altering the Solar Panels from the Kosmos Spacecraft Design Bureau to be compatible with the Electrical Energy Plugin. I added the lines of code suggested in OP, MODULE { name = ModuleKRSolarPanel energyGain = [energy gain] } Which did work, however because the Kosmos Solar Panels are animated this code means that the panels gather energy even when they are not deployed. Then I changed the code to code suggested for Powertech including changing the code line module = SolarPanels_PowerTech to module = SolarPanels_adv_PowerTech This did not go well for some unknown reason the game is not telling me that these parts are out of stock so I can't test them as I can't attach them to the ship (every other part I have indicates that there is 999 in stock). Does anyone have any solutions or can someone help me with the coding for these parts? This is the code for one of the panels including the alterations that I made, // --- general parameters --- name = Kosmos_Almaz_Panel module = SolarPanel_adv_PowerTech author = Kosmos Team // --- asset parameters --- mesh = model.mu // --- node definitions --- // definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z node_attach = -0.0433247631, 0, 0, -1.0, 0.0, 0.0 node_stack_panelmount = 0.0, 0, 0, 0.0, -1.0, 0.0 sound_servomotor.wav = extend, retract // --- editor parameters --- cost = 240 category = 3 subcategory = 0 title = Kosmos Almaz Solar Panel manufacturer = Kosmos Spacecraft Design Bureau description = These specially-made panels were designed for stations with limited power needs, but can be used to augment power supply if attached to expanded stations. // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision attachRules = 1,1,0,0,0 // --- standard part parameters --- mass = 0.2 dragModelType = default maximum_drag = 0.2 minimum_drag = 0.2 angularDrag = 2 crashTolerance = 12 maxTemp = 2900 // --- landing leg parameters -------- // --- PoweTech panels -------- FoldAnimationName = Extend FoldDefState = 0 rotRoot1 = Kosmos_Almaz_Panel/Almaz_Panel/Object35 doubleSidedPanels = false panelInitRot = -180 //ejectionForce = 10 phase1 = 1 phase2 = 60 //panelRotateRate = 2 //maxTorque, Kp, Kd (float) - attitude control gyroscope parameters (equivalent to SAS module's) NightGlide = true // --- solar panel parameters --- partResGenerator = true power = 0.75