Opened 7 years ago
Closed 7 years ago
#5087 closed defect (fixed)
Indexed assign not handled correctly by the NF
| Reported by: | Francesco Casella | Owned by: | Per Östlund |
|---|---|---|---|
| Priority: | high | Milestone: | 2.0.0 |
| Component: | New Instantiation | Version: | |
| Keywords: | Cc: | Rüdiger Franke |
Description
Please check PowerSystems.Examples.AC1ph_DC.Elementary.Inverter. The following error is reported:
[CodegenCFunctions.tpl:4800:15-4800:15:writable] Error:
Template error: daeExpCrefLhsSimContext:
This should have been handled in indexed assign and should not have gotten here
dc_ac.modulator.gates[{4, 3}].
It looks like the NF did not flatten the expression fully.
Change History (3)
comment:1 by , 7 years ago
| Cc: | added |
|---|
comment:2 by , 7 years ago
comment:3 by , 7 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

The problem is solved now, the model now simulates successfully.