Changes between Initial Version and Version 1 of Ticket #6067
- Timestamp:
- 2020-07-26T23:15:22Z (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6067 – Description
initial v1 46 46 In the case of {{{R1}}}, the parameters {{{p}}} and {{{q}}} are indeed evaluated, and the corresponding simple formulations are obtained for the equations, where all the zero terms have been removed. 47 47 48 However, setting the annotation explicitly on each component sof the record is a bit inconvenient. One would like to set the annotation once and for all for the entire record. According to Section 18.3 of the specification, I understand the effect should be the same. Unfortunately the NF basically ignores the annotation and does not evaluate the parameters in the record.48 However, setting the annotation explicitly on each component of the record is a bit inconvenient. One would like to set the annotation once and for all for the entire record. According to Section 18.3 of the specification, I understand the effect should be the same. Unfortunately the NF basically ignores the annotation and does not evaluate the parameters in the record. 49 49 50 50 This feature is needed to run Modelica models written with matrix formulations, where the matrix parameters are mostly filled in with zeros. In this case, it is absolutely necessary to evaluate the matrix-vector products, as shown in the above example, otherwise the generate code may contain a ludicrous number of useless terms, that should be removed up front since {{{0*x = 0}}} no matter what the value of {{{x}}} is.