RCAIDE.Library.Methods.Mass_Properties.Center_of_Gravity.compute_distributor_center_of_gravity
compute_distributor_center_of_gravity#
Functions
|
Compute the center of gravity of a distributor |
- compute_distributor_center_of_gravity(component, vehicle, length=0)[source]#
Compute the center of gravity of a distributor
Assumptions#
Lines line on y-z plane (i.e. C.G.z is 0)
Interates through all compoments on the distribution lines and computes the manhattan distance
.————-. | compoment i |---<-- line 1 ->----| ‘————-’ |
V
.————. | | compoment j|-<- line 2 ->-| ‘————’ |