Opened 6 years ago

Closed 6 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 Francesco Casella, 6 years ago

Cc: Rüdiger Franke added

comment:2 by Francesco Casella, 6 years ago

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

comment:3 by Francesco Casella, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.