You can use a simple MobilityModel like ConstantPositionMobilityModel or RandomWalk2dMobilityModel as is. The HierarchicalMobilityModel is a little special in that it layers one mobility model on top of another. For example the parent model could be a WaypointMobilityModel and the child a RandomWalk2dMobilityModel, which would result in an overall movement that wandered around the waypoint path.
Look at the tutorial and examples to see how different scripts configure (and re-configure) the choice of mobility model.
Peter