pub struct SimulationSeries {
pub solar_zenith: Vec<f64>,
pub solar_elevation: Vec<f64>,
pub solar_azimuth: Vec<f64>,
pub airmass: Vec<f64>,
pub aoi: Vec<f64>,
pub poa_global: Vec<f64>,
pub poa_direct: Vec<f64>,
pub poa_diffuse: Vec<f64>,
pub cell_temperature: Vec<f64>,
pub effective_irradiance: Vec<f64>,
pub dc_power: Vec<f64>,
pub ac_power: Vec<f64>,
}Expand description
Output from batch simulation – one value per timestep.
Fields§
§solar_zenith: Vec<f64>§solar_elevation: Vec<f64>§solar_azimuth: Vec<f64>§airmass: Vec<f64>§aoi: Vec<f64>§poa_global: Vec<f64>§poa_direct: Vec<f64>§poa_diffuse: Vec<f64>§cell_temperature: Vec<f64>§effective_irradiance: Vec<f64>§dc_power: Vec<f64>§ac_power: Vec<f64>Implementations§
Source§impl SimulationSeries
impl SimulationSeries
Sourcepub fn total_energy_wh(&self) -> f64
pub fn total_energy_wh(&self) -> f64
Total energy produced in Wh (assuming 1-hour timesteps).
Sourcepub fn peak_power(&self) -> f64
pub fn peak_power(&self) -> f64
Peak AC power in W.
Sourcepub fn capacity_factor(&self, system_capacity_w: f64) -> f64
pub fn capacity_factor(&self, system_capacity_w: f64) -> f64
Capacity factor (ratio of actual energy to theoretical maximum).
Trait Implementations§
Source§impl Clone for SimulationSeries
impl Clone for SimulationSeries
Source§fn clone(&self) -> SimulationSeries
fn clone(&self) -> SimulationSeries
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SimulationSeries
impl RefUnwindSafe for SimulationSeries
impl Send for SimulationSeries
impl Sync for SimulationSeries
impl Unpin for SimulationSeries
impl UnsafeUnpin for SimulationSeries
impl UnwindSafe for SimulationSeries
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more