First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
answered 2018-05-15 00:02:22 -0600
It is better to use a load shedding model to curtail loads, see Dynamic Models manual. Python is the wrong tool to use here!