ReliaSoft API Reference: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 125: Line 125:
*'''[[WAPlotSettings.ContourConfLevel]]''' {{APIComment|Confidence level for contour line plot.}}
*'''[[WAPlotSettings.ContourConfLevel]]''' {{APIComment|Confidence level for contour line plot.}}
*'''[[WAPlotSettings.HistogramInterval]]''' {{APIComment|Interval in histogram plots. Set it to 0 to use the automatically calculated interval.}}
*'''[[WAPlotSettings.HistogramInterval]]''' {{APIComment|Interval in histogram plots. Set it to 0 to use the automatically calculated interval.}}
== Classes / Enums ==


*'''[[WeibullSolverDistribution]]''' {{Template:APIComment|Available Weibull solver distributions. This includes Weibull, Normal, Exponential, Lognormal, G_Gamma, Logistic, Loglogistic, Gumbel, Gamma, and Bayesian distribution.}}
*'''[[WeibullSolverNumParameters]]''' {{Template:APIComment|Available Weibull solver distribution parameters. This includes MS_1Parameter, MS_2Parameter, MS_3Parameter, and MS_Mixed.}}
*'''[[WeibullSolverMethod]]''' {{Template:APIComment|Available Weibull solver analysis methods. This includes RRX, RRY, and MLE.}}
*'''[[WeibullSolverRankMethod]]''' {{Template:APIComment|Available Weibull solver ranking methods. This includes Median, kaplanMeir, and Actuarial. }}
*'''[[WeibullSolverCBMethod]]''' {{Template:APIComment|Available Weibull solver confidence bounds methods. This includes FisherMatrix, LikeihoodRatio, BetaBinomial, and KTO.}}
*'''[[WeibullBayesianPriorDistribution]]''' {{Template:APIComment|Available Weibull-Bayesian distributions. This includes Normal, Lognormal, Exponential, and Uniform distributions.}}
*'''[[WeibullBayesianResultsOption]]''' {{Template:APIComment|Available Bayesian Weibull-Bayesian result options. This includes Median and Mean.}}


===== [[WeibullGeneralOptions Class|WeibullGeneralOptions]] =====
*'''[[WeibullGeneralOptions Class|WeibullGeneralOptions]]''' {{Template:APIComment|Weibull solver general options}}
*'''[[WeibullGeneralOptions.WarnNegLocation|WarnNegLocation]]''' {{Template:APIComment|Whether to generate a warning if location parameter is negative.}}
*'''[[WeibullGeneralOptions.DiscardNegLocation]]''' {{APIComment|For rank regression, resets location parameter to 0. For MLE finds the maximum in the possible domain.}}
*'''[[WeibullGeneralOptions.ResetExpLocation]]''' {{Template:APIComment|For exponential distribution with rank regression, if the location parameter is greater than the first time-to-failure (T1), it is reset to T1.}}
*'''[[WeibullGeneralOptions.Use3PTrueMLE]]''' {{APIComment|Whether to use a full MLE solution on 3-parameter Weibull.}}
*'''[[WeibullGeneralOptions.UseExtendedGGamma]]''' {{APIComment|If set to true, allows the Lambda parameter in the Generalized Gamma distribution to be negative.}}
*'''[[WeibullGeneralOptions.AllowBiasingNormal]]''' {{Template:APIComment|If set to true and using normal distribution (complete data only), corrects the MLE Std (sigma) for biasedness.}}
*'''[[WeibullGeneralOptions.UsePlottedYPoints]]''' {{Template:APIComment|If set to true, uses computed plot points in obtaining D for Kolmogorov-Smirnov test.}}


===Old Stuff==
===== [[WeibullAnalysisOptions Class|WeibullAnalysisOptions]] =====
*'''[[WeibullAnalysisOptions Class|WeibullAnalysisOptions]]''' {{Template:APIComment|Weibull solver analysis options}}
*'''[[WeibullAnalysisOptions.Distribution]]''' {{Template:APIComment|Called by ‘sender’ when a message should be displayed.}}
*'''[[WeibullAnalysisOptions.Parameters]]''' {{Template:APIComment|Returns an array containing model parameters and their values.}}
*'''[[WeibullAnalysisOptions.Analysis]]''' {{Template:APIComment|Sets ALTA solver model to MLE}}
*'''[[WeibullAnalysisOptions.RankingMethod]]''' {{Template:APIComment|Sets ranking method}}
*'''[[WeibullAnalysisOptions.UseRSRegression]]''' {{Template:APIComment|Whether or not to use RSRegression}}
*'''[[WeibullAnalysisOptions.ConfBounds]]''' {{Template:APIComment|Sets Confidence Bounds}}
*'''[[WeibullAnalysisOptions.UngroupGroupedData]]''' {{Template:APIComment|Whether or not data is ungrouped data}}
*'''[[WeibullAnalysisOptions.Subpopulations]]''' {{Template:APIComment|Mixed Weibull}}
*'''[[WeibullAnalysisOptions.Weibull_UnbiasParameters]]''' {{Template:APIComment|Whether or not to use Weibull Unbias Parameters -Weibull-2 MLE.}}
*'''[[WeibullAnalysisOptions.Bayesian_PriorDistribution]]''' {{Template:APIComment|Bayesian Distribution}}
*'''[[WeibullAnalysisOptions.Bayesian_Mean]]''' {{Template:APIComment|Sets Bayesian Mean Distribution}}
*'''[[WeibullAnalysisOptions.Bayesian_Std]]''' {{Template:APIComment|Sets Bayesian StdDistribution}}
*'''[[WeibullAnalysisOptions.Bayesian_Lambda]]''' {{Template:APIComment|Sets Bayesian Lambda Distribution}}
*'''[[WeibullAnalysisOptions.Bayesian_MinBeta]]''' {{Template:APIComment|Sets Bayesian Minimum Beta Distribution}}
*'''[[WeibullAnalysisOptions.Bayesian_MaxBeta]]''' {{Template:APIComment|Sets Bayesian Maximum Beta Distribution}}
*'''[[WeibullAnalysisOptions.Bayesian_Results]]''' {{Template:APIComment|Sets Bayesian Results Distribution}}
*'''[[WeibullAnalysisOptions.Bayesian_PriorDistribution]]''' {{Template:APIComment|Bayesian Distribution}}
*'''[[WeibullAnalysisOptions.SortBeforeCalculations]]''' {{Template:APIComment|Whether or not data is sorted before calculations.}}
*'''[[WeibullAnalysisOptions.UseSpecialSort]]''' {{Template:APIComment|Whether or not to sort.}}


*[[Global_ALTA]]
===== [[WeibullBestFitOptions Class|WeibullBestFitOptions]] =====
*'''[[WeibullBestFitOptions Class|WeibullBestFitOptions]]''' {{Template:APIComment|Whether each weibull distribution is the best fit}}
*'''[[WeibullBestFitOptions.AllowExponential1 ]]''' {{Template:APIComment|Whether Exponential1 is the best fit option}}
*'''[[WeibullBestFitOptions.AllowExponential2 ]]''' {{Template:APIComment|Whether Exponential2 is the best fit option}}
*'''[[WeibullBestFitOptions.AllowNormal ]]''' {{Template:APIComment|Whether Normal is the best fit option}}
*'''[[WeibullBestFitOptions.AllowLognormal ]]''' {{Template:APIComment|Whether Lognormal is the best fit option}}
*'''[[WeibullBestFitOptions.AllowWeibull2 ]]''' {{Template:APIComment|Whether Weibull2 is the best fit option}}
*'''[[WeibullBestFitOptions.AllowWeibull3 ]]''' {{Template:APIComment|Whether Weibull3 is the best fit option}}
*'''[[WeibullBestFitOptions.AllowGamma ]]''' {{Template:APIComment|Whether Gamma is the best fit option}}
*'''[[WeibullBestFitOptions.AllowGenGamma ]]''' {{Template:APIComment|Whether GenGamma is the best fit option}}
*'''[[WeibullBestFitOptions.AllowLogistic ]]''' {{Template:APIComment|Whether Logistic is the best fit option}}
*'''[[WeibullBestFitOptions.AllowLoglogistic ]]''' {{Template:APIComment|Whether Loglogistic is the best fit option}}
*'''[[WeibullBestFitOptions.AllowGumbel ]]''' {{Template:APIComment|Whether Gumbel is the best fit option}}
*'''[[WeibullBestFitOptions.Analysis ]]''' {{Template:APIComment|WSets ALTA solver model to MLE}}
*'''[[WeibullBestFitOptions.RankingMethod ]]''' {{Template:APIComment|Sets ranking method}}
*'''[[WeibullBestFitOptions.UseRSRegression ]]''' {{Template:APIComment|Whether or not to use RSRegression}}
*'''[[WeibullBestFitOptions.ConfBounds ]]''' {{Template:APIComment|Sets Confidence Bounds}}
*'''[[WeibullBestFitOptions.UngroupGroupedData ]]''' {{APIComment|Whether or not data is ungrouped data}}
*'''[[WeibullBestFitOptions.SortBeforeCalculations ]]''' {{Template:APIComment|Whether or not data is sorted before calculations.}}
*'''[[WeibullBestFitOptions.UseSpecialSort ]]''' {{Template:APIComment|Whether or not to sort.}}


*[[Global_Model]]
===== [[WeibullAnalysisResults Class|WeibullAnalysisResults]] =====
*'''[[WeibullAnalysisResults.CorrelationCoefficient]]''' {{Template:APIComment|The Correlation Coefficient value}}
*'''[[WeibullAnalysisResults.LikelihoodValue]]''' {{Template:APIComment|The LikelihoodValue}}
*'''[[WeibullAnalysisResults.PercentNonZero]]''' {{Template:APIComment|The PercentNonZero value}}


*[[Global_Resources]]
===== [[WeibullEvents Class|WeibullEvents]] =====
 
*'''[[WeibullEvents Class|WeibullEvents]]''' {{Template:APIComment|Inherit the class, override its methods and assign its instance to the Events property of a Weibull data set to be able to handle its events.}}
*[[Global_WAPlots]]
*'''[[WeibullEvents.Message]]''' {{Template:APIComment|Called by ‘sender’ when a message should be displayed.}}
 
*'''[[WeibullEvents.Question]]''' {{Template:APIComment|Called by ‘sender’ when an answer to the question is required.}}
*[[Global_Weibull]]
*'''[[WeibullEvents.GetDistrParameters]]''' {{Template:APIComment|Called by ‘sender’ when additional input is required.}}
*'''[[WeibullEvents.UpdateCalculationProgress]]''' {{Template:APIComment|Called by ‘sender’ when calculation progress should be updated.}}
*'''[[WeibullEvents.ShowCalculationProgress]]''' {{Template:APIComment|Called by ‘sender’ when calculation progress should be shown.}}
*'''[[WeibullEvents.HideCalculationProgress]]''' {{Template:APIComment|Called by ‘sender’ when calculation progress should be hidden.}}

Revision as of 22:59, 8 October 2013

APIWiki.png



The Synthesis API provides a library of classes that can be used to accomplish the exact same tasks as within Synthesis, but instead though Microsoft Visual Studio allowing for a more customizable an automatable solution to reliability engineering.


The Synthesis API can be used in any development environment that supports ActiveX controls, such as Microsoft’s Visual Basic, Visual C, C#, Access or Excel. The sample code and documentation in this manual have been prepared for the Microsoft Visual Studio 2010 (Visual Basic and .Net) development environment and we assume that the user is familiar with programming in that environment.


In order to use this library in a project a reference to ReliaSoft Synthesis API Library is required. It’s located in the folder where ReliaSoft Synthesis is installed. By default it is “C:\Program Files\ReliaSoft\Synthesis 9”.

  • .NET developers – use SynthesisAPI.dll
  • VB6 / VBA developers – use SynthesisAPI.tlb


Below is the list of classes and their methods contained in the library.

Below is a list of classes and enumerations.

Classes / Enums

BoundsValues Class
ParamInputInfo Class

Classes / Enums

  • ResetOptionEnum Can be used to assign values to ResetOption within CorrectiveTasks
  • TaskFrequencyEnum Can be used to assign values to TaskFrequency within CorrectiveTasks
  • TaskRestorationTypeEnum Can be used to assign values to TaskRestorationType within CorrectiveTasks
  • TaskClassEnum Can be used to assign values to TaskClass within CorrectiveTasks

Resource Classes

Classes / Enums

  • WAPlotType This includes all possible plot types for Weibull / ALTA plots
WAPlotSettings

Classes / Enums

  • WeibullSolverDistribution Available Weibull solver distributions. This includes Weibull, Normal, Exponential, Lognormal, G_Gamma, Logistic, Loglogistic, Gumbel, Gamma, and Bayesian distribution.
  • WeibullSolverNumParameters Available Weibull solver distribution parameters. This includes MS_1Parameter, MS_2Parameter, MS_3Parameter, and MS_Mixed.
  • WeibullSolverMethod Available Weibull solver analysis methods. This includes RRX, RRY, and MLE.
  • WeibullSolverRankMethod Available Weibull solver ranking methods. This includes Median, kaplanMeir, and Actuarial.
  • WeibullSolverCBMethod Available Weibull solver confidence bounds methods. This includes FisherMatrix, LikeihoodRatio, BetaBinomial, and KTO.
  • WeibullBayesianPriorDistribution Available Weibull-Bayesian distributions. This includes Normal, Lognormal, Exponential, and Uniform distributions.
  • WeibullBayesianResultsOption Available Bayesian Weibull-Bayesian result options. This includes Median and Mean.
WeibullGeneralOptions
WeibullAnalysisOptions
WeibullBestFitOptions
WeibullAnalysisResults
WeibullEvents