Effacer les filtres
Effacer les filtres

Error in Co-Simulation Simulink FMU and STAR-CCM+

25 vues (au cours des 30 derniers jours)
Marina Espejo
Marina Espejo le 28 Mar 2024
Commenté : Marina Espejo le 2 Avr 2024
Hi!
I am trying to do a Co-Simulation between Simulink and STAR-CCM+ by exporting the simulink model to FMU. When I try to run the simulation from STAR-CCM+ it gives me the following error:
INFO: Processing event 'Step FMU'
Connection reset by peer
Connection reset
Server connection failed. This is usually due to a fatal error in the server or a network issue.
Design Simcenter STAR-CCM+ simulation completed
Server process exited with code : -1073741571
I think the mistake is at the moment of exporting it to FMU because it is not able to interchange data with it but I am a bit lost at this point. When exporting it I select the acces source code from FMU option as I've read in different sites. Am I missing something else? Does anyone know where this could come from?
Thanks!
  1 commentaire
Marina Espejo
Marina Espejo le 31 Mar 2024
this is the detailed error
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
at java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:270)
at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:313)
at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188)
at java.base/java.io.InputStreamReader.read(InputStreamReader.java:177)
at java.base/java.io.BufferedReader.fill(BufferedReader.java:162)
at java.base/java.io.BufferedReader.read(BufferedReader.java:183)
at star.base.neo.NeoProperty.readNextChar(NeoProperty.java:894)
at star.base.neo.NeoProperty.input(NeoProperty.java:673)
[catch] at star.base.neo.ClientNotifyHandler.run(ClientNotifyHandler.java:456)
at java.base/java.lang.Thread.run(Thread.java:833)

Connectez-vous pour commenter.

Réponses (1)

Debadipto
Debadipto le 2 Avr 2024
It seems like the issue you're encountering might stem from problems with network stability. Please make sure your network connection is reliable. Additionally, if your simulations are running across multiple machines, verify that no firewall or network security configurations are disrupting the communication.
If the situation persists, consider reaching out to the MathWorks Technical Support for assistance:
  1 commentaire
Marina Espejo
Marina Espejo le 2 Avr 2024
Hi,
thanks for your reply. I've read in StarCCM+ documents that it may show that message when the problem is completely different.
I think that it may be something related to this other message:
WARNING: This FMU model not support restart functionality. An attempt will be made to export the tracked values, but correct behavior is not guaranteed
INFO: Processing event 'Terminate FMU'
Do you know something about the restart functionality?
Thanks in advance

Connectez-vous pour commenter.

Produits


Version

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by