<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249883</link>
    <title>MATLAB Central Newsreader - How to make connection of components from different libraries in Simulink</title>
    <description>Feed for thread: How to make connection of components from different libraries in Simulink</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Fri, 24 Apr 2009 22:12:02 -0400</pubDate>
      <title>How to make connection of components from different libraries in Simulink</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249883#645276</link>
      <author>Peng Lei</author>
      <description>Hi, I had difficulty to connect components from different libraries in Simulink. I'm using Matlab 2007b. I tried to construct a circuit using the components from both SimPower toolbox and Simscape toolbox. But I could not build link between the componnets. i.e, I drag a DC voltage from SimPower and d a resistor from Simscape, both are electric components, and want to connect them. However, no matter how hard I try. It seems I could not make a link between them. What am I supposed to do to solve this problem? Or the elements from different libraries are not compatible at all? I should use the components from the same library?</description>
    </item>
    <item>
      <pubDate>Sat, 25 Apr 2009 20:03:08 -0400</pubDate>
      <title>Re: How to make connection of components from different libraries in Simulink</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249883#645392</link>
      <author>Arnaud Miege</author>
      <description>&lt;br&gt;
&quot;Peng Lei&quot; &amp;lt;penglei@uwm.edu&amp;gt; wrote in message &lt;br&gt;
news:gstdfi$md2$1@fred.mathworks.com...&lt;br&gt;
&amp;gt; Hi, I had difficulty to connect components from different libraries in &lt;br&gt;
&amp;gt; Simulink. I'm using Matlab 2007b. I tried to construct a circuit using the &lt;br&gt;
&amp;gt; components from both SimPower toolbox and Simscape toolbox. But I could &lt;br&gt;
&amp;gt; not build link between the componnets. i.e, I drag a DC voltage from &lt;br&gt;
&amp;gt; SimPower and d a resistor from Simscape, both are electric components, and &lt;br&gt;
&amp;gt; want to connect them. However, no matter how hard I try. It seems I could &lt;br&gt;
&amp;gt; not make a link between them. What am I supposed to do to solve this &lt;br&gt;
&amp;gt; problem? Or the elements from different libraries are not compatible at &lt;br&gt;
&amp;gt; all? I should use the components from the same library?&lt;br&gt;
&lt;br&gt;
Hi,&lt;br&gt;
&lt;br&gt;
SimPowerSystems and Simscape use two different technologies, you can't &lt;br&gt;
directly connect a SPS component to a Simscape one or vice-versa. If part of &lt;br&gt;
your model is in SPS and the other part in SPS, here's how to interface the &lt;br&gt;
two:&lt;br&gt;
* measure the voltage in SPS and inject it in Simscape with a controlled &lt;br&gt;
voltage source&lt;br&gt;
* measure the current in Simscape (at the same point as you're injecting the &lt;br&gt;
voltage) and inject it in SPS using a controlled current source (at the same &lt;br&gt;
point where you measured the voltage).&lt;br&gt;
&lt;br&gt;
You can also try it the other way: measure current in SPS &amp; inject in &lt;br&gt;
Simscape + measure voltage in Simscape &amp; inject in SPS. One approach works &lt;br&gt;
better than the other, but I can't remember which one.&lt;br&gt;
&lt;br&gt;
HTH,&lt;br&gt;
&lt;br&gt;
Arnaud </description>
    </item>
    <item>
      <pubDate>Sat, 25 Apr 2009 20:08:53 -0400</pubDate>
      <title>Re: How to make connection of components from different libraries in Simulink</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249883#645393</link>
      <author>Arnaud Miege</author>
      <description>&lt;br&gt;
&quot;Peng Lei&quot; &amp;lt;penglei@uwm.edu&amp;gt; wrote in message &lt;br&gt;
news:gstdfi$md2$1@fred.mathworks.com...&lt;br&gt;
&amp;gt; Hi, I had difficulty to connect components from different libraries in &lt;br&gt;
&amp;gt; Simulink. I'm using Matlab 2007b. I tried to construct a circuit using the &lt;br&gt;
&amp;gt; components from both SimPower toolbox and Simscape toolbox. But I could &lt;br&gt;
&amp;gt; not build link between the componnets. i.e, I drag a DC voltage from &lt;br&gt;
&amp;gt; SimPower and d a resistor from Simscape, both are electric components, and &lt;br&gt;
&amp;gt; want to connect them. However, no matter how hard I try. It seems I could &lt;br&gt;
&amp;gt; not make a link between them. What am I supposed to do to solve this &lt;br&gt;
&amp;gt; problem? Or the elements from different libraries are not compatible at &lt;br&gt;
&amp;gt; all? I should use the components from the same library?&lt;br&gt;
&lt;br&gt;
PS: obviously, an easier solution is to stick to either SPS or Simscape, but &lt;br&gt;
not both. However, that depends what you are trying to do. Each software &lt;br&gt;
addresses different needs:&lt;br&gt;
* SPS is for electrical power systems, 3-phase systems, power generation, &lt;br&gt;
power distribution , etc..&lt;br&gt;
* Simscape and its add-on SimElectronics are for electromechanical systems, &lt;br&gt;
analog electronic components, semiconductors, etc...&lt;br&gt;
&lt;br&gt;
HTH,&lt;br&gt;
&lt;br&gt;
Arnaud </description>
    </item>
  </channel>
</rss>

