This paper presents a study about the influence of Distributed Energy Resources' (DER) flexibility on the operation of a Medium Voltage (MV) network, in a Smart Grid (SG) environment. An AC multi-temporal Optimal Power Flow (OPF) tool was developed and used to simulate the impact of the DER flexibility (including storage devices, EVs, controllable loads and micro-generation) in distribution network operation. Some simulations are presented, demonstrating the impact that DER flexibility can have on solving operation problems namely in terms of branch loading and voltage limits.