An agent-based model approach to balance sheet management