Constructing pathological non-ideal active device models using mirror cells