Generate csv data for HBN model.