Abstract Magnetic field extrapolation is a fundamental tool to reconstruct the three-dimensional magnetic above solar photosphere. However, prevalently used force-free model might not be applicable in lower atmosphere with non-negligible plasma β , where crucial process of flux rope formation and evolution could happen. In this work, we perform active region 12158, based on recently developed m...