Solar Arrays#
- class physics.models.arrays.BasicArray(panel_efficiency, panel_size)#
Bases:
BaseArray- calculate_produced_energy(solar_irradiance, tick)#
Returns a numpy array with the energy produced by the solar panels across each the length of each tick
- Parameters:
solar_irradiance (np.ndarray) – (float[N]) the global horizontal irradiance(GHI) at each moment experienced by the vehicle, in W/m2
tick (float) – (float) the duration of a time step in seconds
- Returns:
(float[N]) array of energy produced by the solar panels on the vehicle in Joules
- Return type:
np.ndarray
- class physics.models.arrays.BaseArray#
Bases:
ABC