Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#4866 closed defect (duplicate)

Issue with typing of modifiers in the NF

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

Description

Please check Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise. The following error is reported

[Modelica 3.2.2/Electrical/MultiPhase.mo:1152:15-1152:18:writable]
Error: Type mismatch in binding T = motor.smpm.rs.T,
expected subtype of Real, got type Real[3].

parameter T is defined in the base class ConditionalHeatPort as an array of size 3, so it is not clear why the NF expects the modifier to be a subtype of Real

Change History (2)

comment:1 by Per Östlund, 7 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #4815.

comment:2 by Francesco Casella, 7 years ago

In fact, I did look for a ticket I had already opened on this topic, but I couldn't find it...

Note: See TracTickets for help on using tickets.