Hysteresis modeling and microstructural analysis of soft amorphous alloys