Implementation and assessment of a carbonate system model