Struct sim::output_analysis::SteadyStateOutput
source · pub struct SteadyStateOutput<T> { /* private fields */ }
Expand description
Steady-state simulations are useful when the initial conditions and/or final conditions of a simulation are not well-known or not of interest. Steady-state simulation is interested in the long-run behavior of the system, where initial condition effects are negligible. Steady-state simulation analysis is primarily concerned with initialization bias (bias caused by setting initial conditions of the simulation) and auto-correlation (the tendency of a data point in a time series to show correlation with the latest, previous values in that time series). When the interest is a steady-state simulation output, standard simulation design suggests the use of only a single simulation replication.
Implementations§
source§impl<T: Float + NumAssign> SteadyStateOutput<T>
impl<T: Float + NumAssign> SteadyStateOutput<T>
sourcepub fn post(time_series: Vec<T>) -> SteadyStateOutput<T>
pub fn post(time_series: Vec<T>) -> SteadyStateOutput<T>
This SteadyStateOutput
constructor method takes the simulation
output time series, as a vector of floating point values.
sourcepub fn confidence_interval_mean(
&mut self,
alpha: T
) -> Result<ConfidenceInterval<T>, SimulationError>
pub fn confidence_interval_mean( &mut self, alpha: T ) -> Result<ConfidenceInterval<T>, SimulationError>
The method provides a confidence interval on the mean, for the simuation output. If not already processed, the raw data will first use standard approaches for initialization bias reduction and autocorrelation management.
sourcepub fn point_estimate_mean(&mut self) -> Result<T, SimulationError>
pub fn point_estimate_mean(&mut self) -> Result<T, SimulationError>
The method provides a point estimate on the mean, for the simulation output. If not already processed, the raw data will first use standard approaches for initialization bias reduction and autocorrelation management.
Trait Implementations§
source§impl<T: Clone> Clone for SteadyStateOutput<T>
impl<T: Clone> Clone for SteadyStateOutput<T>
source§fn clone(&self) -> SteadyStateOutput<T>
fn clone(&self) -> SteadyStateOutput<T>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more