Path: SCPro/ProEnvirons
% Computes the albedo disturbance The optional shadowing function has the form [a,p] = ShadowFun(u, n, a, p) and serves to elimate shadowed surfaces from further calculation. -------------------------------------------------------------------------- Form: [f, t] = DistAlbedo( r, q, uSun, n, a, p, optical, alpha, rPlanet, qSun, shadowFun ) -------------------------------------------------------------------------- ------ Inputs ------ r (3,:) Position vectors q (4,:) Quaternion from ECI to body uSun (3,:) Unit sun vector n (3,m) Unit surface outward normals a (1,m) Areas for each surface optical (4,m) Optical coefficients p (3,m) Location of each surface alpha (1,1) Albedo coefficient rPlanet (1,1) Planet radius qSun (1,1) Solar flux shadowFun (:) Handle for shadowing function ------- Outputs ------- f (3,:) Albedo force t (3,:) Albedo torque flux (1,:) Albedo flux --------------------------------------------------------------------------
Common: Graphics/Plot2D Common: Quaternion/QForm Common: Quaternion/QTForm Common: Time/Date2JD Math: Linear/Cross Math: Linear/Mag Math: Linear/Unit Orbit: OrbitMechanics/RVOrbGen SC: BasicOrbit/Period SC: Ephem/SunV1
Back to the SCPro Module page