solar

Vars | |
azimuth_current | [0-360) degrees, which direction are we facing? |
---|---|
needs_to_turn | do we need to turn next tick? |
needs_to_update_solar_exposure | do we need to call update_solar_exposure() next tick? |
sunfrac | [0-1] measure of obscuration -- multipllier against power generation |
Procs | |
occlusion_setup | trace towards sun to see if we're in shadow |
update_solar_exposure | calculates the fraction of the sunlight that the panel receives |
Var Details
azimuth_current

[0-360)
degrees, which direction are we facing?
needs_to_turn

do we need to turn next tick?
needs_to_update_solar_exposure

do we need to call update_solar_exposure() next tick?
sunfrac

[0-1]
measure of obscuration -- multipllier against power generation
Proc Details
occlusion_setup
trace towards sun to see if we're in shadow
update_solar_exposure
calculates the fraction of the sunlight that the panel receives