@acer I am trying to reproduce the graph e.1 and e.2) in the paper. In the equation in the code, alpha = omega*T, gamma(gg)=Delta /T and beta=d/T. N means negativity. If N greater than 0, it is possible to harvest entanglement (red color in the left figure.) and if N is less than equal to 0, it is not possible to harvest entanglement (the gray color in the left figure.) delta is sigma/T and Lambda is Lambda*T