connected_circutis_withTRN.py