A system dynamics based modelling framework