Agent based modeling and simulation for critical and interdependent systems