Coder Social home page Coder Social logo

Comments (8)

tbeu avatar tbeu commented on August 23, 2024

Well, I tested with Dymola and it should work.

Can you please add a small example such that I can reproduce it.

The reason is that we have the object construction the same way for ModelicaStandardTables.

from externdata.

harmanpa avatar harmanpa commented on August 23, 2024

I was surprised, because I thought it would make it a parameter if possible (other Modelica compilers I know do this...), however using the current master and uncommenting the Examples I get this error for XMLTest2:

The variability of the definition equation:
gain.k = xmlfile.getReal_Unique'"xmlfile"'(
"set2.gain.k",
xmlfile.xml);
is higher than the declared variability of the variables.

from externdata.

tbeu avatar tbeu commented on August 23, 2024

Strange. Which Dymola version exactly (Have 2015 and 2016 for test)? Need to check it.

from externdata.

tbeu avatar tbeu commented on August 23, 2024

This reminds me: Need to make the examples clearer.

from externdata.

tbeu avatar tbeu commented on August 23, 2024

Small MSL test for you. Does M.mo work for your Dymola tool? Works in Dymola 2016. But should make the same issue apparent - probably.

from externdata.

harmanpa avatar harmanpa commented on August 23, 2024

That test is working fine. But XMLTest2 is failing for me with the same error in Dymola 2015, 2016 and 2017. The release version works fine, but for that the external object instance is declared as inner parameter.

from externdata.

tbeu avatar tbeu commented on August 23, 2024

Thanks for confirming. Guess I need to revert to parameter and make a new release. There have been some bugs fixed since v.1.1.0 thus I recommend to use the current HEAD version and manually changing it to parameter. PR is welcome.

from externdata.

tbeu avatar tbeu commented on August 23, 2024

The new major update v2.0.0 was released today with many bug fixes, simplified examples, a user's guide and a more liberate license.

from externdata.

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.