Coder Social home page Coder Social logo

Comments (8)

tobolar avatar tobolar commented on July 21, 2024

Maybe the usage of VehicleInterfaces.Mechanics.NormalisedTranslational.Interfaces.Flange into an expandable connector VehicleInterfaces.Interfaces.DriverInterface could cause the problem in OpenModelica. (Perhaps handling of component declared with the prefix flow in the expandable connector?)
Anyway, I can't realize such a problem using Dymola.

from vehicleinterfaces.

tobolar avatar tobolar commented on July 21, 2024

@dariomangoni Any update?

from vehicleinterfaces.

dariomangoni avatar dariomangoni commented on July 21, 2024

Well, at commit c6d3469 the situation is the same as an year ago.
OpenModelica v1.14.0-dev-26548-gc521adfdc4 is not able to simulate.
Dymola 2020 is able to simulate the model.

from vehicleinterfaces.

sjoelund avatar sjoelund commented on July 21, 2024

OpenModelica does instantiate it:

loadModel(VehicleInterfaces);getErrorString();
setCommandLineOptions("-d=newInst");getErrorString();
writeFile("MinimalDriver.mof", instantiateModel(VehicleInterfaces.Drivers.MinimalDriver));getErrorString();

https://gist.github.com/sjoelund/6a1e18c890c51aee8534733a584eea80

But it indeed fails to simulate:

Error: Internal error BackendDAECreate.lowerKnownVar failed for ... Flange driverInterface.brakePedal 

from vehicleinterfaces.

tobolar avatar tobolar commented on July 21, 2024

@sjoelund Many thanks. Can you further localize the problem?

from vehicleinterfaces.

sjoelund avatar sjoelund commented on July 21, 2024

@perost might be available to have a look. I don't know that much about the new frontend implementation in OpenModelica (and I'm quite busy as my teaching period just started).

from vehicleinterfaces.

perost avatar perost commented on July 21, 2024

@perost might be available to have a look. I don't know that much about the new frontend implementation in OpenModelica (and I'm quite busy as my teaching period just started).

It's an expandable connector issue, the new frontend doesn't yet handle augmenting expandable connectors with regular connectors correctly. It's on my todo list.

from vehicleinterfaces.

tobolar avatar tobolar commented on July 21, 2024

@perost Thanks.

from vehicleinterfaces.

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.