Provided for completeness of package only. Oprating line entries are more easily entered as part of an OpLine system using a spreadsheet, then using RExcel to "Put R Value -> dataframe" into an R session.
EventElement(element_name,OpLine,EventID,FD,FP1,FP2,FP3,RD,RP1,RP2,RP3,Seed)
Returns a single row dataframe suitable for combination using rbind
with other elements into a single Operating Line.
a string that will used to identify the element as a row.name
an identifying integer for the OpLine membership.
an identifying integer for this element
a single capital letter in quotation marks indicating the failure distribution (i.e. "E"-Exponential, "N"-Normal, "W"-Weibull)
The first parameter for the failure distribution (MTTF for "E", mean for "N", characteristic life for "W").
The second parameter for the failure distribution, else 0
The third parameter for the failure distribution (only used as a translation parameter for "W", else 0 )
a single capital letter in quotation marks indicating the repair distribution (i.e. "N"-Normal, "W"-Weibull, "L"-Lognormal) note that "E" is not accepted, use "W" with shape of 1.0 instead.
The first parameter for the failure distribution (mean for "N", characteristic life for "W", logmean for "L")
The second parameter for the repair distribution
The third parameter for the failure distribution (only used as a translation parameter for "W", or "L" else 0 )
An integer value to be used as the random seed for this element.
Carazas et. al.,"Availability Analysis of Gas Turbines Used in Power Plants",International Journal of Thermodynamics, Vol. 12 (No.1), March 2009
LRU1 <- EventElement("GasTurbine2",1,101,"W",2562.5,0.95,0, "L",1.4,0.86,0,87)
Run the code above in your browser using DataLab