User written model with internal integration method
I am trying to write a simple exciter model, eg the SEXS model with my own integration method (internal solver) without using any states and dstates in my model.(I have already written it using the traditional way of using the elementary blocks method). However, now, I don't want to use PSS/E's internal integration routine, rather use my own method, like the forward Euler method for example. I want to use vars to store the state variables information. Does anyone have a working example. Any help will be much appreciated.