i faced some problems when i try to implement the pll block in simulink model. so, i need help. My confusions are:

1. How can i estimate positive sequence voltage from 3 phase unbalance voltage source? 2.how can i simulate pll circuit?

THANK YOU.