csim controls_csim controls from gnuradio import controls_csim controls_csim.csim() self.$(id).set_parameters($P, $I, $D, $n0, $n1, $d0, $d1, $window) IO Type type enum Num Inputs num_inputs 1 int Vec Length vlen 1 int Controller Gain(P) P 0 real Tau_I(I) I 0 real Tau_D(D) D 0 real n0 n0 0 real n1 n1 0 real d0 d0 0 real d1 d1 0 real window window 0 real $num_inputs > 0 $vlen > 0 in $(str($type).split('_')[0]) $vlen $num_inputs out $(str($type).split('_')[1]) $vlen Continuous time simulation out[i] = in0[i] + in1[i] + in2[i] The math block adds an arbitrary number of input streams element by element, \ and produces and single output stream. Elements may be single numbers, \ or vectors of numbers, depending upon the value of the vec length parameter. The preload parameter allows users to implement feedback loops with this math block. \ For example, to enable a feedback of 1 on the 2nd port, set preload to [0, 0, 1]. \