Spacecraft Control Framework 1.0
Spacecraft Control Library
|
Power system utility functions. More...
Go to the source code of this file.
Functions | |
double | discharge_rate_from_c (double c, double b, double v) |
Discharge rate. More... | |
double | power_from_iv (double i, double v) |
Power from current and voltage. More... | |
Power system utility functions.
Currently has a battery and a solar panel iv function.
double discharge_rate_from_c | ( | double | c, |
double | b, | ||
double | v | ||
) |
Discharge rate.
Discharge rate.
Batteries have fixed voltages to the capacity in Ah determines energy storage. The voltage is needed to produce watts.
c | C Rate |
b | Battery capacity (Ah) |
v | Battery voltage (V) |
double power_from_iv | ( | double | i, |
double | v | ||
) |
Power from current and voltage.
i | Current (A) |
v | voltage (V) |