simIncludeThruster
- class simIncludeThruster.thrusterFactory[source]
Bases:
object
Simulation Thruster Factory Class
- addToSpacecraft(modelTag, thEffector, sc)[source]
This function should be called after all Thruster devices are created with create() It creates the C-class container for the array of TH devices, and attaches this container to the spacecraft object
- Parameters:
modelTag (string) – module model tag string
thEffector (thrusterEffector) – thruster effector handle
sc (spacecraft)
- create(thrusterType, r_B, tHat_B, **kwargs)[source]
This function is called to setup a thruster device in python, and adds it to the of thruster factory in
thrusterList{}
. The function returns a copy of the device that can be changed if needed. The first 3 arguments are required, the remaining arguments are optional with:- Parameters:
thrusterType (string) – thruster manufacturing name.:
r_B (list) – vector with thruster location in B-frame components:
tHat_B (list) – vector with thruster force direction unit vector:
kwargs –
- useMinPulseTime: BOOL
flag if the thruster model should use a minimum impulse time
- areaNozzle: float
thruster nozzle exhaust cone exit area
- steadyIsp: float
thruster fuel efficiency in Isp (seconds)
- MaxThrust: float
maximum thruster force in Newtons
- thrusterMagDisp: float
thruster dispersion percentage
- MinOnTime: float
thruster minimum on time
- cutoffFrequency: float
frequency of first-order filter dynamics
- swirlTorque: float
constant momentum from ionic thrusters