Code Monkey home page Code Monkey logo

Comments (17)

lochel avatar lochel commented on June 3, 2024

@robha67 Can you please attach one of the corrupted result files?

from omsimulator.

robha67 avatar robha67 commented on June 3, 2024

Here are two result files that will not open in Omedit. One is a mat file and that other is specified as a csv via the command oms2_setResultFile("Engine","Engine.csv")
CorruptResultFiles.zip

from omsimulator.

robha67 avatar robha67 commented on June 3, 2024

from omsimulator.

meek1 avatar meek1 commented on June 3, 2024

@robha67 - what's wrong with the csv? It looks OK in Notepad++. The mat-file might be empty?

from omsimulator.

lochel avatar lochel commented on June 3, 2024

I think that can be closed according to our last discussion.

from omsimulator.

meek1 avatar meek1 commented on June 3, 2024

@lochel, @robbr48, for TLM composite models, the .mat results files for each FMI sub model can still not be opened.

from omsimulator.

meek1 avatar meek1 commented on June 3, 2024

@lochel, @robbr48, please test using arcsim_FMI_TLM.lua found under T2.2 in the OpenCPS repo. The resulting system_A_res.mat and system_B_res.mat cannot be opened. When running the corresponing native FMI example arcsim_FMI.lua, the result file works.

from omsimulator.

robbr48 avatar robbr48 commented on June 3, 2024

This could be because the FMI models are not deleted with the TLM model. Then the files will never be closed. I guess it does not matter for CSV for some reason, but causes corrupt MAT files.

from omsimulator.

lochel avatar lochel commented on June 3, 2024

@robbr48 Will you take care of it?

from omsimulator.

robbr48 avatar robbr48 commented on June 3, 2024

Strange thing is that it works perfectly for me with the testsuite models on Linux. I will have a look on the test model from @meek1 in Windows and see if I can recreate the problem.

from omsimulator.

robbr48 avatar robbr48 commented on June 3, 2024

@meek1 I cannot simulate the test model because the FMUs require a Dymola license file. Is it possible to export the FMUs without this restriction?

from omsimulator.

meek1 avatar meek1 commented on June 3, 2024

@robbr48, sorry for the license issue, I'll generate new license free FMUs, but it may take a while. In the mean time, please use the example from @robha67. In the repo: T2.2\Architecture_and_simulation\Simple_model\FineGrainedThermodynamicConnection.zip

This example contains license free windows FMUs and I just reproduced the error with OMSimulator-MSVC. Connot use OMSimulator-GCC because "libwinpthread-1.dll" is missing.

from omsimulator.

lochel avatar lochel commented on June 3, 2024

*ping*

from omsimulator.

lochel avatar lochel commented on June 3, 2024

@robbr48 Can we close this ticket?

from omsimulator.

robbr48 avatar robbr48 commented on June 3, 2024

I think so. I believe this was related to oms2.

from omsimulator.

LorantKupas avatar LorantKupas commented on June 3, 2024

@robbr48, sorry for the license issue, I'll generate new license free FMUs, but it may take a while. In the mean time, please use the example from @robha67. In the repo: T2.2\Architecture_and_simulation\Simple_model\FineGrainedThermodynamicConnection.zip

This example contains license free windows FMUs and I just reproduced the error with OMSimulator-MSVC. Connot use OMSimulator-GCC because "libwinpthread-1.dll" is missing.

Hi,
I am looking for the repo, where can I found it?

from omsimulator.

lochel avatar lochel commented on June 3, 2024

It is the private OpenCPS repository: https://opencps.eu/svn/OPENCPS

from omsimulator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.