public void Calculate(double x1, double x2, double x1_2, double xout1) { var k13output = K13.CalculateOutput(x1_2); var k15output = K15.CalculateOutput(xout1); Z2 = CalculateZ2(x1, x2, x1_2); var k14output = K14.CalculateOutput(Z2); var z1input = k13output + k14output - k15output; var z1output = AperiodicBlockZ1.CalculateOutput(z1input); var z1DelayOutput = Z1Delay.CalculateOutput(z1output); Z1 = Z1Noize.CalculateOutput(z1DelayOutput); }
private double CalculateZ2(double x1, double x2, double x1_2) { var k10out = K10.CalculateOutput(x1); var k11out = K11.CalculateOutput(x2); var k12out = K12.CalculateOutput(x1_2); var z2input = k10out + k11out - k12out; var z2output = AperiodicBlockZ2.CalculateOutput(z2input); var z2DelayOutput = Z2Delay.CalculateOutput(z2output); var z2NoizeOutput = Z2Noize.CalculateOutput(z2DelayOutput); return(z2NoizeOutput); }