Dependence of geomagnetic activity during magnetic storms on solar-wind parameters for different types of streams: 4. Simulation for magnetic clouds