Jump to content

Saturatable RW config Question


Maltman

Recommended Posts

So Here is the config options that the mod author for the semi-saturatable reaction wheels mod gives.

"

License is GPLv3

 

This is the default module manager patch that switches out all reaction wheel modules for saturatable wheels with extra comments about the effect of each parameter

 


[*]:HAS[@MODULE[ModuleReactionWheel],!MODULE[RWSaturatable]]:FOR[RWSaturatable]{
@MODULE[ModuleReactionWheel]
{
@name = RWSaturatable

// saturationScale controls the maximum momentum that can be stored by a part. If torque remains constant until 100% saturation, this is the time in seconds that reaching 100% saturation will take
// The maximum storeable momentum equals: saturationScale * AverageTorque
saturationScale = 10

// Bleed rate is the fraction of maximum axis torque that will be exerted to reduce momentum each second, and is based on the current saturation percentage.
// The default 2.5% and 10s scale will take slightly less than 400 seconds to completely clear an axis (assuming axis torque == average torque).
// Other values can be calculated by dividing the saturation scale by the bleedRate (assuming a constant bleed rate), ie. 10 / 0.025 = 400
bleedRate
{
key = 0 0.025 0 0
key = 1 0.025 0 0
}

// Torque percentage for a given level of saturation. The default config gives a linear decrease from 100% to 0% as stored momentum increases
torqueCurve
{
key = 0 1 -1 -1
key = 1 0 -1 -1
}
}
}
"
 
 
So my question is pretty derpy. I don't know anything about the codes and hacks and computer languages like a lot of you folks out there and I don't understand how to change these configs. I changed the bleed rate, I think, (I changed 0.025 to 0.001 on the keys)
 
How do you change the Torque percentage and I don't understand saturation scale.
 
Does anyone else tweak these settings? If so what is the way to get the most realisticish results?
Link to comment
Share on other sites

What is it you are trying to achieve?

Saturation Scale: Basically just a number that increases the amount of time you can run the wheel for. 10 means 10x as long, etc, etc.

Torque Percentage (in order of appearance)

  1. The saturation fraction, where 0 is completely discharged and 1 is completely saturated
  2. The torque fraction at that percentage. 1 == 100% torque, 0 == no torque, 3 == triple torque. 100% torque is the torque defined by the reaction wheel module
  3. Slope in. Used for creating curves, you can leave them off if you aren't requiring precise adjustments
  4. Slope out. Used for creating curves, you can leave them off if you aren't requiring precise adjustments
Edited by Crzyrndm
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...