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

OM and Power Systems library

OM and Power Systems library

From the www.modelica.org. the library PowerSystems 0.2 is available.

Although in its version 0.x, this library  is already very interesting to power systems engineers.

However, from site:  https://test.openmodelica.org/~marsj/trend.html
I see that its compliance with OM is not monitored.

Indeed OM does not like Power Systems 0.2, but I cannot say wheter the library is fully compliant to Modelica Specifications 3.2 rev2 or not (I guess not)

Does somebody know whether there are plans to at least monitor the OM compliance with Power Systems library?

Re: OM and Power Systems library

I can add it to the list of libraries to test (it's not the the modelica-3rdparty repository that I usually check for free libraries; it is even in the modelica association github repository!).

Re: OM and Power Systems library

I packaged powersystems for Linux and once modelica.org comes online again, I guess windows nightlies will also include them:
http://build.openmodelica.org/apt/pool/ … -1_all.deb
http://build.openmodelica.org/apt/pool/ … -1_all.deb

Re: OM and Power Systems library

thanks a lot.
I see that Power Systems is not OM-friendly, at least today.
But now we can also clearly wee what already works.

Massimo.

Re: OM and Power Systems library

Thanks for adding this library to the tests. It's one I'd like to keep an eye on.

Re: OM and Power Systems library

Yesterday I have succesfully compiled and executed with OM some of the tests models of the PowerSystems Library (V 0.2) (https://github.com/modelica/PowerSystem … /v0.2.zip)

The models that I have compiled are:
- PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1
- PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2
- PowerSystems.Examples.PowerWorld.Test.HydroPlantTest3

However, I had to modify two files of the PowerSystems Library to do it:
- File: main package.mo line 118:
  original:
    replaceable package PackagePhaseSystem =
  modified:
    package PackagePhaseSystem =

- File: generic.mo, lines 165, 238, 303, 391:
  original
   isRoot(terminal.theta)
  modified
   Connections.isRoot(terminal.theta)

Re: OM and Power Systems library

Correction:
The name of the test models that I have succesfully compiled is wrong. The right names are

- PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1
- PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1
- PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2

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