<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><br>
      On 06/13/2013 05:00 PM, Jonathan Schwehm wrote:<br>
    </div>
    <blockquote
cite="mid:028e8e8b67f6497a8f077c4c91b61122@AMXPR07MB039.eurprd07.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <style>
<!--
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.E-MailFormatvorlage17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:70.85pt 70.85pt 2.0cm 70.85pt}
div.WordSection1
        {}
-->
</style>
      <div class="WordSection1">
        <p class="MsoNormal">Hello,</p>
        <p class="MsoNormal"> </p>
        <p class="MsoNormal"><span lang="EN-US">I am currently  trying
            to program a dynamic model of an electrolyzer ( lots of
            physical equations), by using the dassl solver. I
            implemented a lot of euqations in my res function and now I
            am stuck on the Error -8 -->Singularity.
          </span></p>
        <p class="MsoNormal"><span lang="EN-US">Is there a common way to
            further debug that problem and find a fix around that?</span></p>
        <p class="MsoNormal"><span lang="EN-US"> </span></p>
        <p class="MsoNormal"><span style="font-size:10.0pt;
            font-family:"Arial","sans-serif";
            color:#1F497D" lang="DE-AT">Mit freundlichen Grüßen / Kind
            regards,</span><span style="font-size:10.0pt; color:#1F497D"></span></p>
        <div class="MsoNormal" style="text-align:center" align="center"><span
            style="font-size:8.0pt;
            font-family:"Arial","sans-serif";
            color:#1F497D" lang="EN-GB">
            <hr align="center" size="2" width="100%">
          </span></div>
        <p class="MsoNormal"><b><span style="font-size:10.0pt;
              font-family:"Arial","sans-serif";
              color:#1F497D">Jonathan Schwehm</span></b><span
            style="font-size:10.0pt; color:#1F497D"></span></p>
        <p class="MsoNormal"><span style="font-size:8.0pt;
            font-family:"Arial","sans-serif";
            color:#1F497D">B.Eng</span></p>
        <p class="MsoNormal"><span style="font-size:8.0pt;
            font-family:"Arial","sans-serif";
            color:#1F497D"> </span><span style="color:#1F497D"></span></p>
        <p class="MsoNormal"><span style="font-size:8.0pt;
            font-family:"Arial","sans-serif";
            color:#1F497D">Fon:                       +49 711 229645 51</span><span
            style="color:#1F497D"></span></p>
        <p class="MsoNormal"><span style="font-size:8.0pt;
            font-family:"Arial","sans-serif";
            color:#1F497D" lang="EN-US">Fax:                        +49
            711 229645 99</span></p>
        <p class="MsoNormal"><span style="font-size:8.0pt;
            font-family:"Arial","sans-serif";
            color:#1F497D" lang="EN-US">Email:                    
            <a moz-do-not-send="true"
              href="mailto:jonathan.schwehm@etogas.com"><span
                style="color:blue">jonathan.schwehm@etogas.com</span></a></span><span
            style="color:#1F497D" lang="EN-US"></span></p>
        <p class="MsoNormal"><span lang="EN-US"> </span></p>
      </div>
      <span style="font-family:; color:#1f497d">
        <p><span><img moz-do-not-send="true" id="Bild_x0020_2"
              alt="ETOGAS Image"
              src="http://www.etogas.com/logo/etogas-logo.jpg"
              height="36" border="0" width="200">
          </span><span style="font-family:; color:#1f497d"><br>
          </span></p>
        <a moz-do-not-send="true" href="http://www.etogas.com/">
          <span style="color:blue; font-size:8pt">http://www.etogas.com</span></a></span>
      <p><b>ETOGAS GmbH</b></p>
      <p><span style="font-family:; color:#ff0000">Achtung: SolarFuel
          GmbH heißt jetzt ETOGAS GmbH. Bitte beachten Sie unsere neuen
          e-mail-Adressen und unsere neue Internetadresse. Darüber
          hinaus ändern sich keine Kontaktdaten.
        </span></p>
      <span style="font-family:; color:#1f497d">Industriestraße 6,
        D-70565 Stuttgart<br>
        Geschäftsführung: Dipl.-Ing. Gregor Waldstein, MBA | Dipl.-Ing.
        Dr. oec. HSG Karl Maria Grünauer
        <span style="font-family:; color:#1f497d; font-size:7pt"><br>
          Registergericht: Amtsgericht Stuttgart<br>
          Handelsregister Nr.: HRB 733792<br>
          Steuernummer: 99065/08453
          <hr align="center" size="2" width="100%">
        </span><span style="font-family:; color:#1f497d; font-size:7pt">USt-IdNr.:
          DE 27 216 66 37 Commerzbank AG, BLZ 600 800 00, KontoNr. 0902
          1048 00<br>
          BIC: DRES DE FF 600, IBAN: DE78 6008 0000 0902 1048 00</span>
        <div style="text-align:center" align="center"><span
            style="font-family:; color:#1f497d; font-size:7pt">
            <hr align="center" size="2" width="100%">
          </span></div>
        <span style="font-family:; color:#1f497d; font-size:7pt">D-U-N-S®
          Nummer: 341629227</span>
      </span>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    Hello Jonathan,<br>
    <br>
    have you double-checked your equations ? Or are you certain that
    there exists a unique solution to your problem ?<br>
    <br>
    Error = -8, The matrix of partial derivatives is singular.<br>
                      Some of your equations may be redundant.<br>
                      DDASSL cannot solve the problem as stated.<br>
                      It is possible that the redundant equations<br>
                      could be removed, and then DDASSL could<br>
                      solve the problem. It is also possible<br>
                      that a solution to your problem either<br>
                      does not exist or is not unique.<br>
    <br>
    Hope this help,<br>
    Paul.<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Paul BIGNIER
Xcos Developer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.68
<a class="moz-txt-link-freetext" href="http://www.scilab-enterprises.com">http://www.scilab-enterprises.com</a></pre>
  </body>
</html>