Applications of the one-fluid and the two-fluid model in magnetohydrodynamics