Message Boards Message Boards

0
|
8373 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Error export FMU

Posted 6 years ago

Hi,

enter image description here

In the model hereabove, I split a flange interface using a TorqueToAngleAdaptator within the motor model and an AngleToTorqueAdaptator within the gearbox model as shown below.

  • Motor model: enter image description here
  • Gearbox model: enter image description here

The simulation works fine. However, when I try to export the motor as an FMU, I got the following error :

fmu155421315814965ode.cpp(11): error C2065: '$$$der$torque'?: identificateur non d?clar?

FYI, I use Visual Studio 2017 as a compiler.

Any idea to solve this issue?

POSTED BY: Romain Pinqui

I am unable to reproduce the problem. Which version of SystemModeler did you use? (This is not a problem with your C++ compiler, but a problem with differentiation of top level inputs.)

POSTED BY: Henrik Tidefelt
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract