From: Nicholas A on
Hi,

I am trying to create a fault in a 25kv distribution system. I am putting the model in Part B to the distribution system just like what is shown in Part A.

The HIF model in Part B consists of a nonlinear resistor, two diodes, and two dc sources that change amplitudes randomly every half cycle. Thus, some dynamics and randomness are represented.

The problem I am facing now is clearly shown here.
http://i45.tinypic.com/28vubf4.jpg

Hope you can give some advise and guide me out.

Thank you

"Frank W." <yohansan(a)web.de> wrote in message <hfl43h$d18$1(a)fred.mathworks.com>...
> > hi..
> >> Is there any other way to model similar HIF model in Matlab? i created the exact >> diagram but matlab do not recognize it. Can anyone show me any example for it?
> >> thanks
>
> Hello,
> but so far you haven't been telling anything about what elements in what toolbox you have been using. Another question is: if you only want to model part b) from the jpeg-picture what other components do you use?
> How exactly does Matlab express its lack in recognition, i..e. what error messages do you get?
> But generally this is true: >Beyond that, there's nothing that's not included in SimPowerSystem<. And almost nothing left that can't be modeled.
> Regards
> Frank
From: Frank W. on
Hi,
according to the small red crosses in >http://i45.tinypic.com/28vubf4.jpg< I guess that you want to connect elements from Simscape (all the elements that represent the fault) to elements from SimPowerSystem (all other elements). This is not possible that easily. I recommend only taking elements from SimPowerSystem.
It might be possible to connect the elements from both toolboxes by using the blocks 'PS-Simulink Converter' or 'Simulink-PS Converter' from the 'Utilities' section of Simscape. Because I do not know Simscape this is only a guess after having a look at the online documentation.
Regards
Frank
From: Arnaud Miege on

"Frank W." <yohansan(a)web.de> wrote in message
news:hfm63i$ioc$1(a)fred.mathworks.com...
> Hi,
> according to the small red crosses in >http://i45.tinypic.com/28vubf4.jpg<
> I guess that you want to connect elements from Simscape (all the elements
> that represent the fault) to elements from SimPowerSystem (all other
> elements). This is not possible that easily. I recommend only taking
> elements from SimPowerSystem.
> It might be possible to connect the elements from both toolboxes by using
> the blocks 'PS-Simulink Converter' or 'Simulink-PS Converter' from the
> 'Utilities' section of Simscape. Because I do not know Simscape this is
> only a guess after having a look at the online documentation.
> Regards
> Frank
>

Yes, you can't connect Simscape elements to SimPowerSystems elements.
However, in your case, all the components you have modelled using Simscape
are readily available in SimPowerSystems, so I would just use the
SimPowerSystems version.

HTH,

Arnaud


From: Nicholas A on
Thank you Arnaud and Frank

I now understand clearly where is my mistake already. I shouldn't mix the Simscape component with the SimPowerSystem.

Both of your help is highly appreciated. Thanks a million.

Regards,
Nicholas

"Arnaud Miege" <arnaud.miege(a)nospam.mathworks.co.uk> wrote in message <hfminu$hk3$1(a)fred.mathworks.com>...
>
> "Frank W." <yohansan(a)web.de> wrote in message
> news:hfm63i$ioc$1(a)fred.mathworks.com...
> > Hi,
> > according to the small red crosses in >http://i45.tinypic.com/28vubf4.jpg<
> > I guess that you want to connect elements from Simscape (all the elements
> > that represent the fault) to elements from SimPowerSystem (all other
> > elements). This is not possible that easily. I recommend only taking
> > elements from SimPowerSystem.
> > It might be possible to connect the elements from both toolboxes by using
> > the blocks 'PS-Simulink Converter' or 'Simulink-PS Converter' from the
> > 'Utilities' section of Simscape. Because I do not know Simscape this is
> > only a guess after having a look at the online documentation.
> > Regards
> > Frank
> >
>
> Yes, you can't connect Simscape elements to SimPowerSystems elements.
> However, in your case, all the components you have modelled using Simscape
> are readily available in SimPowerSystems, so I would just use the
> SimPowerSystems version.
>
> HTH,
>
> Arnaud
>