A filtering system comprising: a. an inverter comprising a first side, a second side, and a plurality of switching units; b. a current sensing device configured to sense a current flowing into the first side of the inverter. c. a filtering unit coupled to the first side and the second side of the inverter, and configured to generate an electrical parameter based on said sensed current; characterized in that: said filtering unit comprising: i. a first and a second operational amplifier, wherein each of the two operational amplifiers comprise an input end and an output end, wherein the input end of the first operational amplifier is coupled across the corresponding input end of the second operational amplifier, and wherein said sensed current flows into said input ends of the two operational amplifiers, and wherein the output end of the first operational amplifier transmits said electrical parameter to the first side of the inverter, and wherein the output end of the second operational amplifier transmits said electrical parameter to the second side of the inverter to control the common mode noise level at said first side and said second side of the inverter, ii. a direct current link operatively coupled to the two operational amplifiers, and iii. at least one thermoelectric module (108, 446), wherein each thermoelectric module comprises a conducting layer, and wherein iv. said at least one thermoelectric module is operatively coupled and configured to supply power to the direct current link and the two operational amplifiers. a. an inverter comprising a first side, a second side, and a plurality of switching units; b. a current sensing device configured to sense a current flowing into the first side of the inverter. c. a filtering unit coupled to the first side and the second side of the inverter, and configured to generate an electrical parameter based on said sensed current; said filtering unit comprising: i. a first and a second operational amplifier, wherein each of the two operational amplifiers comprise an input end and an output end, wherein the input end of the first operational amplifier is coupled across the corresponding input end of the second operational amplifier, and wherein said sensed current flows into said input ends of the two operational amplifiers, and wherein the output end of the first operational amplifier transmits said electrical parameter to the first side of the inverter, and wherein the output end of the second operational amplifier transmits said electrical parameter to the second side of the inverter to control the common mode noise level at said first side and said second side of the inverter, ii. a direct current link operatively coupled to the two operational amplifiers, and iii. at least one thermoelectric module (108, 446), wherein each thermoelectric module comprises a conducting layer, and wherein iv. said at least one thermoelectric module is operatively coupled and configured to supply power to the direct current link and the two operational amplifiers. i. a first and a second operational amplifier, wherein each of the two operational amplifiers comprise an input end and an output end, wherein the input end of the first operational amplifier is coupled across the corresponding input end of the second operational amplifier, and wherein said sensed current flows into said input ends of the two operational amplifiers, and wherein the output end of the first operational amplifier transmits said electrical parameter to the first side of the inverter, and wherein the output end of the second operational amplifier transmits said electrical parameter to the second side of the inverter to control the common mode noise level at said first side and said second side of the inverter, ii. a direct current link operatively coupled to the two operational amplifiers, and iii. at least one thermoelectric module (108, 446), wherein each thermoelectric module comprises a conducting layer, and wherein iv. said at least one thermoelectric module is operatively coupled and configured to supply power to the direct current link and the two operational amplifiers.