コード例 #1
0
        public void StartCalculation(double previouTSumAll)
        {
            this.PreviouseT = previouTSumAll;
            this.DeltaT     = this.PreviouseT.Value - T;

            //For exponentials
            this.Exponential = ComputationUnit.Exponential(TZero.Value, AlphaExpoential.Value, K.Value);
            this.Logarithmic = ComputationUnit.Logarithmic(TZero.Value, Iteration.Value);
            this.Linear      = ComputationUnit.Linear(TZero.Value, AlphaExpoential.Value, Iteration.Value);
            this.Geometric   = ComputationUnit.Geometric(AlphaExpoential.Value, Iteration.Value, TZero.Value);

            //For temparatures
            this.Adaptive1 = ComputationUnit.Adaptive1(this.PreviouseT.Value, SigmaT.Value);
            this.Adaptive2 = ComputationUnit.Adaptive2(this.PreviouseT.Value);
            this.Adaptive3 = ComputationUnit.Adaptive3(this.PreviouseT.Value, SigmaT.Value, this.Gramma.Value);
            this.Adaptive4 = ComputationUnit.Adaptive4(this.PreviouseT.Value, 0, this.SigmaT.Value);
        }