Mittwoch, März 23rd, 2011 | by Roman Bretz | Posted in AMUSE, Enterprise Architect, Enterprise Architect Erweiterungen, Featured, Problemlösungen, Programmierung Allgemein, UML Simulation and Execution, UML mit Enterprise Architect | 1 Comment »
If you are looking for inter state-machines communication using AMUSE, following example should help.

It’s a kind of “Hello World” for multiple machines, simplest possible example 
Two state machines fires triggers to each other: Ping fires ping trigger and receives pong trigger and pong works another way around.
1. Download XMI
2. Create an empty Enterprise Architect project
3. Import XMI
4. Open ping and pong state machine diagrams
5. Add both to AMUSE simulation window
6. Start pong first then ping
7. if initial ping wasn’t caught, fire first trigger manually via trigger menu
8. watch the ping/pong counters
inter state-machine communication using AMUSE
Dienstag, März 15th, 2011 | by Roman Bretz | Posted in AMUSE, Enterprise Architect, Enterprise Architect Erweiterungen, LieberLieber Kunden, UML Simulation and Execution, UML mit Enterprise Architect | 1 Comment »

I would like to share the brief feature-comparison between Enterprise Architect enhanced by AMUSE and Rhapsody. The comparison is based on the public available information:
http://www-01.ibm.com/software/rational/products/rhapsody/sysarchitect/ and
http://www-01.ibm.com/software/rational/products/rhapsody/developer/
EA/AMUSE vs. Rhapsody Architect/Designer for Systems Engineers
| Features |
EA+AMUSE |
Rhapsody |
| Designs and behavior using SysML or UML |
UML 2.3 / SysML 1.1 |
UML 2.x / SysML 1.1 |
| Simulate behavior to validate functionality |
AM|USE supports simulation of state machines and activity diagrams as long as activity is set as behavior of a state or as affect of transition. The standalone activity diagrams will be supported in the next version coming middle of this year |
yes |
| Capture requirements |
EA provides full-blown solution for requirement engineering |
yes but restricted by inflexible model storage and model structure |
| Capture structured scenarios |
EA provides functionality for capturing scenarios as plain text but also in structured form with the option of automatic diagram generation (activity-, sequence- or state-diagrams ) |
no |
| Requirements analysis and traceability to design, implementation and test artifacts |
Standard EA functionality |
yes |
| Flexible Model Storage |
Model can be stored as
- local single project file
- network shared single project file
- multiple XML files
- single or distributed DBMS supported: MSSQL Server, MySQL, Oracle, PostgreSQL, Progress OpenEdge, MSDE, Adaptive Server Anywhere |
multiple storage files |
| Project development and task management incl. resources management |
Standard EA functionality |
no |
(weiterlesen…)
Freitag, Oktober 15th, 2010 | by Daniel Siegl | Posted in AMUSE, Enterprise Architect, Enterprise Architect Erweiterungen, UML Simulation and Execution | 2 Comments »
Currently we are working on the Beta Version of the upcoming 1.6 Version of LieberLieber AMUSE for Sparx Systems Enterprise Architect.
We will have a feature to validate your state machine against a scenario defined in a Sequence Diagram.

This sequence Diagram could be used against the ATM Sample from our AMUSEExamples.eap

So we will have the ability to validate state machines against given Scenarios.
Montag, September 27th, 2010 | by Daniel Siegl | Posted in AMUSE, UML Simulation and Execution, UML mit Enterprise Architect | No Comments »
We use our build environment with Teamcity to automatically publish the contents of the AMUSE .chm file to our webpage whenever we edit something and commit it into Subversion! – Still we will continue to ship chm files with our installer!
http://www.lieberlieber.com/amuse/help/
This is pretty nice because our customers have instant access to the “latest” Help file. It should take roughly 4 minutes after commit – until the changes are reflected on the webpage.
If you want to see specific content you can use “direct” links like: http://www.lieberlieber.com/amuse/help/index.htm#page=My_first_statemachine_in_5_minutes.htm
Donnerstag, September 16th, 2010 | by Daniel Siegl | Posted in AMUSE, Embedded Systems, Enterprise Architect, UML Simulation and Execution, UML mit Enterprise Architect | No Comments »
This time in German – because we Target a “german speaking” audience!
Praktikum: Simulation von UML Modellen
Integration des Framework qp in die Simulationsumgebung
AMUSE der Fa. LieberLieber
Das Entwicklen komplexer Systeme ist zeitaufwendig und fehleranfällig. Eine gute Planung (Modellierung) kann helfen die Komplexität in den Griff zu bekommen. Durch Simulation der erstellten Modelle kann eine Validierung der Logik des zu entwickelnden Systems sichergestellt werden.



Die Firma LieberLieber hat für das Modellierungswerkzeug Enterpreis Architect von Sparx Systems ein Plug-in (AMUSE) entwickelt um UML Zustandsautomaten zu simulieren. Jeder UML konforme Zustandsautomat kann ausgeführt werden und das Laufzeitverhalten (aktive Zustände und Zustandsübergänge) werden in Enterprise Architect visualisiert. Zusätzlich können beliebige externe Bibliotheken eingebunden werden. Damit können externe Stimuli (Events) erzeugt werden, auf die der Zustandsautomat reagiert, bzw. Aktionen (Operationen) externer Bibliotheken aufgerufen werden. Damit können externe Systeme gesteuert, bzw. das Verhalten des Zustandsautomaten durch alternative GUI-Mocks visualisiert werden.
Die Simulation basiert auf generiertem C# Code. Dieser Code wird aus dem Zustandsautomaten generiert, ausgeführt und im Enterprise Architect visualisiert. Detailliertere Informationen zu AMUSE finden Sie hier:

Das Framework qp (http://www.state-machine.com/) bietet einen umfassenden Rahmen für die Entwicklung ereignisgetriebener Softwaresysteme in C/C++. Dabei müssen lediglich Zustände und Zustandsübergänge (Zustandsautomaten) codiert werden. Das Framework übernimmt anschließend die Ausführung.
Aufgabe des Praktikums ist es, die Codegenerierung von AMUSE an das Framework qp anzupassen. Zustandsautomaten werden im Enterprise Architect modelliert, bei der Simulation wird qp Code generiert und ausgeführt. Der generierte Code kann anschließend direkt in Embedded Systems verwendet werden.
Voraussetzungen:
· UML Kenntnisse
· C/C++ Kenntnisse
· qp Kenntnisse (erwünscht, nicht vorausgesetzt!)
Lernziel des Praktikums:
· Tiefes Verständnis von ereignisorientiertem Programmieren
· Vertiefende Einblicke in das Thema Simulation von UML
· Praktisches Arbeiten mit dem Framework qp und Enterprise Architect
Bei Interesse melden Sie sich bitte bei: daniel.siegl@lieberlieber.com