Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Modelica Energystorages Library

Modelica Energystorages Library

I tried running the Energy Storages library, developed by the modelica consortium ( you can find it here: https://www.modelica.org/libraries and here: https://github.com/modelica/Modelica_EnergyStorages)

but I get this error message when running the "SimpleCellDrivingCycle" example (as well as the other examples):

Code:

Symbolic    10:50:18    /usr/lib/omlibrary/Modelica 3.2.1/Blocks/Tables.mo    58:7-58:116    Assertion triggered during translation: "tableOnFile = false and parameter table is an empty matrix"

As I am not that much of an expert in modelica. I wanted to ask: is there maybe an easy workaround to get this to work, like a simple code modification to remove incopatibilities between modelica 3.2 and 3.2.1? Or maybe this is a bug in OpenModelica?

greetings Tom

Re: Modelica Energystorages Library

I will comment EnergyStorages very shortly. There is a good reason why MA did not add this library to the 3.2.1 release. It was planned to at one time, but some people, myself included, complained it was not considered mature enough (MSL 3.2.1 is focused on being written according to the language specification and introducing EnergyStorages would mean fixing even more code, etc).
This was the last version of the development branch that featured the package: https://test.openmodelica.org/~marsj/MS … 2-03.html. It will probably be improved and part of the MSL release following 3.2.1.

There are 0 guests and 0 other users also viewing this topic
You are here: