Production function implementation in an agent-based simulation. (2015)