simulate_cost function

Simulate cost data