Opened 7 years ago

Closed 7 years ago

#4666 closed defect (fixed)

Unhandled imported package constant in NF

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

Description

Please check
https://libraries.openmodelica.org/branches/newInst/Modelica_3.2.2/files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.err

The following error is reported:

Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.c:75:180:
error: use of undeclared identifier '$PSineVoltage3$PsignalSource$Ppi'

SineVoltage.signalSource is a redeclared Sine function generator block, which contains the statement

  import Modelica.Constants.pi;

and then uses pi in the equations. This is somehow lost in the process.

Change History (2)

comment:2 by Francesco Casella, 7 years ago

Resolution: fixed
Status: newclosed

Fixed as of 07-02-2018

Note: See TracTickets for help on using tickets.