Risk-based model for the Vergara River Basin