Changing VAR(L) during dynamic simulation
Hello everyone, Is it possible to input the time series value in VAR (L) in a model during dynamic simulation ? I am trying to do a manipulation where I want to have my reference VAR(1) value equal to the input value to make the error zero. It can be done manually but its a problem when you have large data.
thanks yfwing for your response. I am not sure how to call a user-defined model in conec.flx, is it just like below Subroutine conec C include 'common4.ins' C call PVEU1 C return where PVEU1 is the model. If above is correct, then how to enter the data file ? Any example if you have ?
yfwing, I appreciate your response. Can you add a comment line in each code to explain what each line is doing ?