Text this: Distributed PV hosting capacity assessment method for distribution network considering planning of flexible resource