Opened 7 years ago

Closed 7 years ago

#4725 closed defect (fixed)

Issues with equation count in NF due to incorrect conditional component handling

Reported by: Francesco Casella Owned by: Per Östlund
Priority: high Milestone: 2.0.0
Component: New Instantiation Version:
Keywords: Cc:

Description

Please check Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start. With the old front end, 246 equations and 246 variables are reported. With the new front-end, 261 equations and 258 variables are reported.

By comparing the flattened equations with the old and new FE, it is apparent that the new FE instantiates variables such as dcee.thermalPort.heatPortCore.T, which are not instantiated by the old FE, as well as the corresponding equations. This is most probably related to conditional components not being instantiated correctly.

Change History (1)

comment:1 by Francesco Casella, 7 years ago

Resolution: fixed
Status: newclosed

Fixed as of 07-02-2018

Note: See TracTickets for help on using tickets.