A multi-agent approach to couple the physiological and ecological level: What factors influence time to sex change? | IEEE Conference Publication | IEEE Xplore