You are on page 1of 35

Transakce a modely v metodice DEMO

BI-KOM: Konceptuální modelování #11

doc. Ing. Robert Pergl, Ph.D. (robert.pergl@fit.cvut.cz)

Materiály pro prezentaci převzaty z materiálů (Sapio) DEMO 4 - Prof


1 / 35
Obsah přednášky
1. Teorie OMEGA -- referenční modely
2. Teorie ALPHA -- implementace organizace
3. Way of Modelling

a. DEMO modely podniku

c. Model spolupráce (Cooperation Model)


4. Rent-a-car studie

2 / 35
Teorie OMEGA -- referenční modely
hmotné věci nehmotné věci

vytváření věcí výroba (movitých a nemovitých) věcí dávání rad, advices, vynášení rozsudků, ...

transport a ukládání transport a ukládání zboží nebo datových souborů není aplikovatelné

převod vlastnictví nákup/prodej zboží získávání/poskytování práv, licencí, ...

udělení práva k užití pronájem zboží získávání/poskytování práv, licencí, ...

3 / 35
Příklad: Vytváření věcí

4 / 35
Příklad: Transport a ukládání

5 / 35
Příklad: Převod vlastnictví

6 / 35
Příklad: Udělení práva k užití

7 / 35
Way of Thinking: Teorie ALPHA

8 / 35
DEMO in the Five Ways Framework

9 / 35
Teorie ALPHA
Teorie ALPHA (zkratka pro „Abstraction Layers in Production for Holistic Analysis“) nebo také
teorie podstaty organizace, je teorie o podstatě (esenci) podniku. Tato podstata je odhalena
ve dvou krocích:

1. Abstrahováním od realizace podniku a získáním jeho O-organizace.

(mimo rozsah kurzu KOM)

2. Abstrahováním od implementace organizace.

10 / 35
Teorie ALPHA: Implementace
Jako implementace organizace se rozumí přidělení vhodných technologických prostředků
jejím abstraktním částem.

Pokud jde o role aktorů, jedná se o jejich přiřazení aktorům (subjektům).

Pokud jde o koordinaci (C-akty), jedná se o přidělení vhodných prostředků k jejich


provedení. Příklady: tváří v tvář (mluvení a poslouchání), posílání dopisů poštou, telefonicky,
e-mailem atd.

Pokud jde o produkci (P-akty), je třeba rozlišovat mezi hmotnou a nehmotnou produkcí.
Implementací hmotné produkce (výroba, přeprava atd.) se rozumí přidělení výrobních
prostředků, jako jsou předměty, stroje, nástroje a pracovní prostor. Pokud jde o nehmotnou
(vymýšlení, rozhodování, posuzování), neexistují žádné implementační prostředky, s
výjimkou subjektů, které je provádí.
11 / 35
Příklad implementace

12 / 35
Příklad implementace

13 / 35
Way of Modelling

DEMO Modely

14 / 35
DEMO modely podniku

15 / 35
DEMO modely podniku
Model podniku je rozdělen do čtyř soudržných dílčích modelů:

Model spolupráce (Cooperation Model, CM): model konstrukce podniku -- druhy


transakcí a role aktorů včetně vazeb mezi nimi.
Procesní model (Process Model, PM): druhy transakcí a detailní vyjádření vztahů mezi
akty. (mimo rozsah KOM)
Model faktů (Fact Model, FM): druhy entit, druhy produktů a druhy vlastností a atributů
ve světě produkce. (mimo rozsah KOM)
Akční model (Action Model, AM): model operativy, sestává z akčních pravidel (action
rules), která vedou aktéry při reakci na C-events (např. promise/decline?), a pracovních
pokynů (work instructions) pro výrobu produktů (P-acts). (mimo rozsah KOM)

16 / 35
Cooperation Model
Model spolupráce (Cooperation Model, CM) organizace (nebo její části -- tzv. Scope of
Interest, SoI) je modelem jeho konstrukce, tj. identifikovaných rolí transaktorů a
koordinačních struktur (ovlivňujících vztahů) mezi nimi. Rozlišují se tři koordinační struktury:

Struktura interakce (Interaction structure): iniciační vazby (initiator links) mezi rolemi
transaktorů a druhy transakcí.
Struktura interstrikce (Interstriction structure): přístupové vazby (access links) mezi
rolemi aktorů a druhy transakcí.
Struktura "vzájemného překážení" (Interimpediment structure): vazby čekání (wait
links) mezi rolemi aktorů a druhy transakcí (nově v DEMO 4, mimo rozsah KOM).

17 / 35
Cooperation Model
CM je vyjádřen pomocí:

Diagramu koordinační struktury (Coordination Structure Diagram, CSD) (v DEMO 3


OCD = Organisation Construction Diagram),
Tabulky produktů transactorů (Transactor Product Table, TPT),
dalších 2 tabulek mimo rozsah KOM.

18 / 35
Way of Working

19 / 35
Metoda OER
Organisation Essence Revealing
Metoda, jak identifikovat "esenciální", tj. nejdůležitější části popisu podniku.
Na jejím základě identifikujeme esenciální transakce (tzv. O-transakce, ontologické
transakce), které jsou "esencí toho, co firma dělá".
Jedná se o tajnou alchymistickou metodu, kterou nemůžeme prozradit nezasvěceným...
... Just joking :-D Jen na ni není v předmětu prostor a bude až v NI-MEP.
Zde se spokojíme s modelováním transakcí, které prostě "považujeme za důležité".

20 / 35
Ilustrační příklad

Rent-a-car

21 / 35
Rent-a-car: OER (1)
Rent-A-Car (or RAC for short) is a company that rents cars to persons, both private ones and
representatives of legal bodies, like companies. It was founded by the twin brothers Janno
and Ties back in the eighties. They started to hire out their own (two) cars, and they were
among the first companies that allowed cars to be dropped off in a different location than
where they were picked up. To this end, Janno and Ties had made agreements with students
in several cities. For a small amount of money, a student would await the arrival of a rented
car, e.g. at an airport, and drive it back to the office of RAC, after which the student would go
home by public transport.

Currently, RAC operates from over fifty geographically dispersed branches in Europe. Many
cities have a branch, some even several, and there are branches located near all airports.
One of the branches is the original office where Janno and Ties started and where both are
still around. Being mechanical engineer by education, they have kept loving to drive and
maintain cars, even since they are the managing directors of a million euro company. 22 / 35
Rent-a-car: OER (2)
The head of the front office of the home branch is Chiara. There are two more desk officers
working in this department. Customer orders are placed through several channels: walk-in,
telephone, fax, and e-mail. Walk-in customers are usually people who want to rent a car
immediately. Through the other channels one makes in general advance reservations. These
can be made up to 200 days in advance; this time span is called the rental horizon. RAC
applies a maximum rental period (currently 10 days). In all cases, an electronic rental form is
filled out, either by the customer or by one of the desk officers, as input to RACIS (RAC
Information System).

23 / 35
Rent-a-car: OER (3)
The next groups of data must be provided:

identification number (automatically generated), starting day, ending day,


RENTAL
pick-up location, return location, car group.
identification (passport or driving license), first name, last name, address, day
RENTER
of birth, place of birth.
DEPOSIT identification (passport or driving license), first name, last name, address, day
PAYER of birth, place of birth.
INVOICE identification (passport or driving license), first name, last name, address, day
PAYER of birth, place of birth.
DRIVER driving license (also for identification), first name, last name.

24 / 35
Postup modelování TPT
Syntaxe tabulky Transactor Product Table (TPT) je specifikována ve (zjednodušeném) EBNF
takto:

Záznam TPT = id druhu transakce , název druhu transakce , id druhu produktu ,


formulace druhu produktu , id role aktora , název role aktora ;

formulace druhu produktu = [proměnná entity] | [proměnná vlastnosti] | "is" ,


sloveso v dokonavém čase ;

Instance typu entity musí být jednoznačně identifikovatelná. Ve výše uvedeném příkladu
musí mít každá zápůjčka jedinečný identifikátor, například rental1, rental2, ..., rental387, ...

Jak je vidět, název druhu transakce - formulace druhu produktu - název role aktora jsou do
značné míry navzájem lingvisticky odvoditelné. 25 / 35
Legenda k CSD (1)

26 / 35
Legenda k CSD (2)

27 / 35
Rent-a-car: TPT + CSD (1)

28 / 35
Rent-a-car: OER (4)
The cars of RAC are divided into car groups. A car group may contain several types (brands
and models). The common feature of the cars in a group is that they have the same rental
rate per day. The board of directors, that is, Janno and Ties, decide which brands and models
belong to which group as well as what the rental rate is for every group. Normally, they do
this once a year together with general parameters, like the maximum rental duration and the
rental horizon.

Considered out of Scope of Interest (SoI)

29 / 35
Rent-a-car: OER (5)
The renter has to sign the rental form (either manually or electronically in RACIS). The
signing does not only count as confirming her/his request to rent a car, but also as the
promise (by the deposit payer) to pay the deposit and the promise (by the invoice payer) to
pay the final invoice. The deposit has to be paid right away.

Note: the renter, deposit payer, invoice payer, and driver may be different people; mostly,
however, they are the same person.

30 / 35
Rent-a-car: TPT + CSD (2)

31 / 35
Rent-a-car: OER (6)
As soon as the deposit is paid, a car is allocated to the rental, and the driver is requested to
take the car at the agreed-upon time, at the distribution department, located at the backside
of the building. If there is no car available of the contracted group, a car from the next higher
car group is selected. The driver will get this "upgraded" car, for the price of the contracted
group.

After the car of a rental has been returned, the invoice to be paid is prepared. In addition to
the rental charge, which equals the rental duration times the rental rate, there may be a
penalty charge for returning the car too late. It amounts to the number of extra days times the
late return penalty rate. In addition, the car may have been returned at another branch than
the contracted one. In that case, a location penalty charge has to be paid. This amounts to
the distance between the actual and the contracted return branch times the penalty rate per
kilometre. The paid deposit amount is subtracted from the final sum.
32 / 35
Rent-a-car: OER (7)
The distribution department is also responsible for transporting cars between branches, so
that there are sufficient cars available for the upcoming rentals. To this end, Mik schedules
every morning the transportations that have to be performed that day, in coordination with the
other branches. The transportations are carried out by all three of them, so also by Ferre and
Carlo. That is why often some of them are away from the office.

33 / 35
Rent-a-car: TPT + CSD (3)

34 / 35
Konec přednášky

35 / 35

You might also like