ALTADataSet.AddStressProfile 10

 Other Versions: Version 11

Adds an ALTAStressProfile object, which represents a time-dependent stress profile, to the data set. Applies to the cumulative damage (CD) model only.

Syntax
.AddStressProfile(Profile)

Parameters
Profile
 * Required. The ALTAStressProfile object.

Example
The following example demonstrates how to analyze an ALTA data set with a stress profile.

VBA ADS ALTADataSet ADS.AddStressDefinition(,,100) sp ALTAStressProfile sp.Name = "Profile1" sp.RepeatCycle = True sp.AddSegment(1, 100) sp.AddSegment(2, 120) sp.AddSegment(3, 150) ADS.AddStressProfile(sp) ADS.AddFailure_2(61, 1, sp) ADS.AddFailure_2(75, 1, sp) ADS.AddFailure_2(90, 1, sp) ADS.AddFailure_2(95, 1, sp) ADS.AddFailure_2(100, 1, sp) ADS.AnalysisSettings.ModelType = ALTASolverModel_CumDamage ADS.AnalysisSettings.Distribution = ALTASolverDistribution_Weibull ADS.Calculate

VB.NET ADS ALTADataSet ADS.AddStressDefinition sp ALTAStressProfile sp.RepeatCycle = True sp.AddSegment(1, 100) sp.AddSegment(2, 120) sp.AddSegment(3, 150) ADS.AddStressProfile(sp) ADS.AddFailure(61, 1, sp) ADS.AddFailure(75, 1, sp) ADS.AddFailure(90, 1, sp) ADS.AddFailure(95, 1, sp) ADS.AddFailure(100, 1, sp) ADS.AnalysisSettings.ModelType = ALTASolverModel.CumDamage ADS.AnalysisSettings.Distribution = ALTASolverDistribution.Weibull ADS.Calculate