Opened 9 years ago
Closed 5 years ago
#4044 closed defect (fixed)
Invalid equations in ThermoSysPro.InstrumentationAndControl.Blocks.Discret.FctTrans
| Reported by: | anonymous | Owned by: | Martin Sjölund |
|---|---|---|---|
| Priority: | high | Milestone: | 1.16.0 |
| Component: | New Instantiation | Version: | |
| Keywords: | ThermoSysPro | Cc: |
Description
According to Modelica spec 3.3.1, section 8.3.5.2 "Restrictions on Equations within When-Equations" the equation section
when sample(SampleOffset, SampleInterval) then [x; xn] = [x1; pre(x)]; [u.signal] = transpose([a])*[x1; pre(x)]; [y.signal] = transpose([zeros(na - nb, 1); b])*[x1; pre(x)]; end when;
from ThermoSysPro.InstrumentationAndControl.Blocks.Discret.FctTrans is invalid Modelica.
Change History (1)
comment:1 by , 5 years ago
| Component: | Third-Party Libraries → New Instantiation |
|---|---|
| Milestone: | Future → 1.16.0 |
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

The new frontend now gives an error as expected: