Menu

#25 Importing TimeNET models yields incorrect rates

open
nobody
5
2008-07-30
2008-07-30
Anonymous
No

When importing models built with TimeNET, PIPE2 incorrectly sets the `rate' parameter of exponential transitions to the `delay' value from the TimeNET file, whereas it should obviously use 1/delay.

This is a bug in xslt/TNtoPipe.xsl, line 59:

<xsl:attribute name="rate"><xsl:value-of select="@delay"/></xsl:attribute>,

which should read

<xsl:attribute name="rate"><xsl:value-of select="1 div @delay"/></xsl:attribute>.

When this change is applied, one should keep in mind that the XSLT div operator might incur roundoff errors.

(preineck at informatik dot hu dash berlin dot de)

Discussion


Log in to post a comment.

Auth0 Logo