Data-Driven Modeling of Complex Systems by means of a Dynamical ANN