Flowports of building and secondary circuit of the Hex did not follow the conventions

port A and b are switched: to follow convention of inflow and outflow.