add BusRegulator interface and clean up build error in ACBranchFlow