706 double sdot = units.
dot(triangle.
normal);
727 energyd += edot *
dt *
SIGMA * pow(290.,4);
729 if (triangle.
pcell > 0.)
734 triangle.
power = triangle.
area * efficiency * energyd /
dt;
locstruc * newloc
Definition: physicsclass.h:111
double dot(Vector b)
Dot product.
Definition: vector.cpp:1684
physicsstruc * newphys
Definition: physicsclass.h:113
double norm()
Norm.
Definition: vector.cpp:1735
float sunradiance
Watts per square meter per steradian.
Definition: convertdef.h:752
float area
Area.
Definition: jsondef.h:3307
float volt
Voltage generated in volts.
Definition: jsondef.h:3325
double dt
Definition: physicsclass.h:108
float pcell
Solar cell coverage.
Definition: jsondef.h:3315
rvector s
Location.
Definition: convertdef.h:163
Definition: jsondef.h:3275
float vcell
Nominal voltage of Solar cell.
Definition: jsondef.h:3321
uint8_t external
External facing sides.
Definition: jsondef.h:3278
attstruc att
attstruc for this time.
Definition: convertdef.h:883
float amp
Current generated in amps.
Definition: jsondef.h:3327
qatt icrf
Definition: convertdef.h:830
float ecellbase
Solar cell base efficiency.
Definition: jsondef.h:3317
float power
Power generated in watts.
Definition: jsondef.h:3323
Vector normal
outward facing normal
Definition: jsondef.h:3282
posstruc pos
posstruc for this time.
Definition: convertdef.h:881
Vector & normalize(double size=1.)
Normalize.
Definition: vector.cpp:1706
quaternion s
0th derivative: Quaternion
Definition: convertdef.h:479
cartpos eci
Definition: convertdef.h:737
float irradiation
Insolation in Watts/sq m.
Definition: jsondef.h:3313
Vector Class.
Definition: vector.h:672
#define SIGMA
SI Stefan-Boltzmann constant.
Definition: convertdef.h:51
cartpos icrf
Definition: convertdef.h:736
float temp
Temperature in Kelvin.
Definition: jsondef.h:3305
Vector irotate(const Vector &v)
Indirectly rotate a ::Vector using a ::Quaternion.
Definition: vector.cpp:2473
vector< trianglestruc > triangles
Definition: jsondef.h:3452
float ecellslope
Solar cell efficiency with temp.
Definition: jsondef.h:3319
float powgen
Definition: jsondef.h:3432
#define RADOF(deg)
Radians of a Degree value.
Definition: math/constants.h:29