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

Running Energy Storage Library Examples from OMEdit

Running Energy Storage Library Examples from OMEdit

Hi, I am all new to OpenModelica. I am trying to run the examples provided under Energy Storage Library. The first example "impedance" runs without problems. But for the others (SimpleCellDrivingCycle, AdvancedCellPulseCurrent, AdvancedCellCycling, SimpleStackCycling, AdvancedStackCycling), when I try to instantiate the model, I get a message saying instantiation failed. How can I fix this problem? Are there any documents explaining these examples?

Thank you very much in advance.



Here are the errors:



Translation    15:19:59        0:0-0:0    Error occurred while flattening model Modelica_EnergyStorages.Examples.AdvancedStackCycling
Translation    15:19:59    C:\OpenModelica1.9.0\lib\omlibrary\Modelica_EnergyStorages 3.2.1.mo    754:7-759:75    Looking for a function CellRecords.LinearDynamicImpedance.Test1Parameters but found a RECORD.
Translation    15:19:59    C:\OpenModelica1.9.0\lib\omlibrary\Modelica_EnergyStorages 3.2.1.mo    3515:11-3517:80    Looking for a function Modelica_EnergyStorages.CellRecords.Components.SOCOCV but found a RECORD.
Translation    15:19:59    C:\OpenModelica1.9.0\lib\omlibrary\Modelica_EnergyStorages 3.2.1.mo    3541:9-3543:59    Array constructor may not be empty.
Translation    15:19:59    C:\OpenModelica1.9.0\lib\omlibrary\Modelica_EnergyStorages 3.2.1.mo    3515:11-3517:80    Looking for a function Modelica_EnergyStorages.CellRecords.Components.SOCOCV but found a RECORD.
Translation    15:19:59    C:\OpenModelica1.9.0\lib\omlibrary\Modelica_EnergyStorages 3.2.1.mo    3541:9-3543:59    Array constructor may not be empty.
Translation    15:19:59    C:\OpenModelica1.9.0\lib\omlibrary\Modelica_EnergyStorages 3.2.1.mo    3515:11-3517:80    Looking for a function Modelica_EnergyStorages.CellRecords.Components.SOCOCV but found a RECORD.
Translation    15:19:59    C:\OpenModelica1.9.0\lib\omlibrary\Modelica_EnergyStorages 3.2.1.mo    3541:9-3543:59    Array constructor may not be empty.
Translation    15:19:59    C:\OpenModelica1.9.0\lib\omlibrary\Modelica_EnergyStorages 3.2.1.mo    3515:11-3517:80    Looking for a function Modelica_EnergyStorages.CellRecords.Components.SOCOCV but found a RECORD.
Translation    15:19:59    C:\OpenModelica1.9.0\lib\omlibrary\Modelica_EnergyStorages 3.2.1.mo    3541:9-3543:59    Array constructor may not be empty.
Translation    15:20:00    C:\OpenModelica1.9.0\lib\omlibrary\Modelica_EnergyStorages 3.2.1.mo    3541:9-3543:59    Array constructor may not be empty.
Translation    15:20:00    C:\OpenModelica1.9.0\lib\omlibrary\Modelica_EnergyStorages 3.2.1.mo    3515:11-3517:80    Looking for a function Modelica_EnergyStorages.CellRecords.Components.SOCOCV but found a RECORD.
Translation    15:20:00    C:\OpenModelica1.9.0\lib\omlibrary\Modelica_EnergyStorages 3.2.1.mo    3515:11-3517:80    Looking for a function Modelica_EnergyStorages.CellRecords.Components.SOCOCV but found a RECORD.
Translation    15:20:00    C:\OpenModelica1.9.0\lib\omlibrary\Modelica_EnergyStorages 3.2.1.mo    3541:9-3543:59    Array constructor may not be empty.
Translation    15:20:00    C:\OpenModelica1.9.0\lib\omlibrary\Modelica_EnergyStorages 3.2.1.mo    3515:11-3517:80    Looking for a function Modelica_EnergyStorages.CellRecords.Components.SOCOCV but found a RECORD.
Scripting    15:20:00        0:0-0:0    Instantiation of AdvancedStackCycling failed.
Translation    15:20:00    C:\OpenModelica1.9.0\lib\omlibrary\Modelica_EnergyStorages 3.2.1.mo    3541:9-3543:59    Array constructor may not be empty.

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