From: Engku Ahmad on
Hi,

There is an example of 2 area power system network in Matlab. Is there a way to change the simulation to be run either based on continuous variable step integration or fixed step using discretized system??

I tried changing the powergui block to do simulation in continuous/discrete, but i get an error.

Anyone has any solution to this?

Thanks
From: Frank W. on
> Hi,
>
> There is an example of 2 area power system network in Matlab. Is there a way to >change the simulation to be run either based on continuous variable step integration >or fixed step using discretized system??
>
> I tried changing the powergui block to do simulation in continuous/discrete, but i get an error.

The model uses some blocks specificially designed for phasor simulation. These can only be used withr phasor simulation (which is selected in the powergui). In order to have a continous/discrete simulation you will have to use the continous/discrete counterparts of these blocks (if they exist) or replace them with your own made blocks.
Also the simulation will become slower when having discrete blocks and much slower if using continous blocks.
From: Engku Ahmad on
"Frank W." <yohansan.nospam(a)web.de> wrote in message <i2u03k$21r$1(a)fred.mathworks.com>...
> > Hi,
> >
> > There is an example of 2 area power system network in Matlab. Is there a way to >change the simulation to be run either based on continuous variable step integration >or fixed step using discretized system??
> >
> > I tried changing the powergui block to do simulation in continuous/discrete, but i get an error.
>
> The model uses some blocks specificially designed for phasor simulation. These can only be used withr phasor simulation (which is selected in the powergui). In order to have a continous/discrete simulation you will have to use the continous/discrete counterparts of these blocks (if they exist) or replace them with your own made blocks.
> Also the simulation will become slower when having discrete blocks and much slower if using continous blocks.

Hi,

Thanks for the info on that. I ll try to see what i can do with it.

Cheers