Modelling and flexibility assessment for operational studies of future active distribution networks