Opened 6 years ago

Closed 6 years ago

#5088 closed defect (fixed)

Issue with redeclare in 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.Inverters.Chopper. The NF reports the following error:

[PowerSystems 0.6.0/Semiconductors/Ideal.mo:13:3-14:30:writable] Error:
Failed to deduce dimension 1 of cT_loss due to missing binding equation.

From what I understand, the binding equation should come from here via redeclare.

Change History (5)

comment:1 by Francesco Casella, 6 years ago

A related issue is present in PowerSystems.Examples.AC3ph.Drives.ASM and many other models in the library:

[PowerSystems 0.6.0/AC3ph/Machines.mo:2208:3-2208:47:writable] Error:
Could not evaluate structural parameter (or constant):
asm.motor.c.n_r which gives dimensions of array: L_r.
Array dimensions must be known at compile time.

From what I understand, the value of asm.motor.c.n_r should come from here via redeclare.

comment:2 by Francesco Casella, 6 years ago

Cc: Rüdiger Franke added

comment:4 by anonymous, 6 years ago

Probably also related: #5077

comment:5 by Francesco Casella, 6 years ago

Resolution: fixed
Status: newclosed

The model now simulates correctly after the last commits to the NF.

Note: See TracTickets for help on using tickets.