Hysteresis loops modeled from coercivity, anisotropy, and microstructure parameters