Skip to content

Commit

Permalink
Finalizing release
Browse files Browse the repository at this point in the history
  - Removing broken Dymola Test scripts
  - Adding documentation to root package.mo
  - Updating README
  • Loading branch information
AnHeuermann committed Feb 13, 2024
1 parent f77314b commit 58f031a
Show file tree
Hide file tree
Showing 58 changed files with 47 additions and 2,101 deletions.
2 changes: 1 addition & 1 deletion PNlib/UsersGuide/UserGuide.mo
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ This conflict can be solved by prioritization of the transitions. If T1 takes pr
<h1> PNlib: A Modelica Library for Modeling xHPN </h1>
<p>Compatibility</p>
<ul>
<li>PNlib works with OpenModelica 1.21.0</li>
<li>PNlib works with OpenModelica 1.22</li>
<li>PNlib works with Dymola 2017/2019/2020</li>
</ul>
<p>The advanced Petri Net library, called PNlib, enables the modeling of extended hybrid Petri Nets (xHPN).
Expand Down
39 changes: 38 additions & 1 deletion PNlib/package.mo
Original file line number Diff line number Diff line change
@@ -1,6 +1,43 @@
package PNlib
annotation(
uses(Modelica(version = "4.0.0")),
version = "3.0.0"
version = "3.0.0",
Documentation(info = "<html>
<p>Free Modelica library for modelling xHPN.</p>
<h2 id=\"library-description\">Library description</h2>
<p>The advanced Petri Net library, called PNlib, enables the modeling of extended
hybrid Petri Nets (xHPN). It comprises</p>
<ul>
<li>discrete (PD) and continuous places (PC),</li>
<li>discrete (TD), stochastic (TS), and continuous transitions (TC), and</li>
<li>test (TA), inhibitor (IA), and read arcs (RA).</li>
</ul>
<p><img src=\"modelica://PNlib/Resources/Images/iconsxHPN.png\" alt=\"iconsxHPN\" title=\"xHPN: Extended Hybrid PetriNets\"></p>
<p>The main package PNlib is divided into the following sub-packages:</p>
<ul>
<li><em>Interfaces</em>: contains the connectors of the Petri net component models.</li>
<li><em>Blocks</em>: contains blocks with specific procedures that are used in the Petri
net component models.</li>
<li><em>Functions</em>: contains functions with specific algorithmic procedures which
are used in the Petri net component models.</li>
<li><em>Constants</em>: contains constants which are used in the Petri net component
models.</li>
<li><em>Examples</em>: contains several examples and unit tests.</li>
</ul>
<h2 id=\"license\">License</h2>
<p>This package is licensed with the <a href=\"https://github.com/AMIT-HSBI/PNlib/blob/v3.0.0/LICENSE\">3-Clause BSD License</a>.</p>
<h2 id=\"development-and-contribution\">Development and contribution</h2>
Hochschule Bielefeld - University of Applied Sciences and Arts<br>
Faculty of Engineering and Mathematics
<ul>
<li>Sabrina Proß</li>
<li>Lennart Ochel</li>
<li>Timo Lask</li>
<li>Bernhard Bachmann</li>
</ul>
<p>You may report feedback, issues or feature-requests using
<a href=\"https://github.com/AMIT-HSBI/PNlib/issues\">GitHub Issues</a>.
</p>
</html>")
);
end PNlib;
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ The main package PNlib is divided into the following sub-packages:
models.
* _Examples_: contains several examples and unit tests.

## Current release

Download [PNlib v2.2 (2019-10-24)][release-v-2-2]

## Compatibility

* Coverage with OpenModelica master and latest PNlib release:
Expand All @@ -41,12 +45,12 @@ The main package PNlib is divided into the following sub-packages:

## License

This package is licensed with the [3-Clause BSD License][license-link].
This package is licensed with the [3-Clause BSD License](./LICENSE).

## Development and contribution

```
Hochschule Bielefeld – University of Applied Sciences and Arts (HSBI)
Hochschule Bielefeld – University of Applied Sciences and Arts
Faculty of Engineering and Mathematics
```

Expand All @@ -61,7 +65,8 @@ You may report feedback, issues or feature-requests using
[test-badge]: https://github.com/AMIT-HSBI/PNlib/actions/workflows/Test.yml/badge.svg
[test-link]: https://github.com/AMIT-HSBI/PNlib/actions/workflows/Test.yml
[pnlib-img]: PNlib/Resources/Images/iconsxHPN.png "xHPN: Extended Hybrid PetriNets"
[release-v-2-2]: https://github.com/AMIT-HSBI/PNlib/releases/tag/v2.2
[coverage-link]: http://libraries.openmodelica.org/branches/master/PNlib/PNlib.html
[license-link]: https://github.com/AMIT-HSBI/PNlib/blob/v3.0.0/LICENSE
[license-link]: https://modelica.org/licenses/ModelicaLicense2
[issues]: https://github.com/AMIT-HSBI/PNlib/issues
[gh-pages-link]: https://amit-hsbi.github.io/PNlib/stable/PNlib_master/PNlib_master.html
115 changes: 0 additions & 115 deletions Testing/Dymola/Makefile

This file was deleted.

33 changes: 0 additions & 33 deletions Testing/Dymola/PNlib.Examples.ConTest.Conflict.mos

This file was deleted.

32 changes: 0 additions & 32 deletions Testing/Dymola/PNlib.Examples.ConTest.ConflictLoop.mos

This file was deleted.

26 changes: 0 additions & 26 deletions Testing/Dymola/PNlib.Examples.ConTest.LoopAndArcweight.mos

This file was deleted.

25 changes: 0 additions & 25 deletions Testing/Dymola/PNlib.Examples.ConTest.PCtoTC.mos

This file was deleted.

22 changes: 0 additions & 22 deletions Testing/Dymola/PNlib.Examples.ConTest.SinglePC.mos

This file was deleted.

24 changes: 0 additions & 24 deletions Testing/Dymola/PNlib.Examples.ConTest.SingleTC.mos

This file was deleted.

Loading

0 comments on commit 58f031a

Please sign in to comment.