Opened 11 years ago

Closed 11 years ago

#2345 closed defect (fixed)

Flattening error for Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench

Reported by: carlj@… Owned by: somebody
Priority: high Milestone: 1.9.0
Component: Frontend Version: trunk
Keywords: Cc:

Description

in MSL 3.2.1, Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench can not be flattened. The error message is:

/Machines.mo:100:9-100:79:writable] Error: Variable transformer.VectorGroup not found in scope Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.
Error: Error occurred while flattening model Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench

The problem here might be that transformer.VectorGroup is used before transformer is declared (which, if I understand correctly, is allowed in Modelica).

Change History (1)

comment:1 by carlj@…, 11 years ago

Resolution: fixed
Status: newclosed

This now flattens, thank you.

Note: See TracTickets for help on using tickets.