25
62 1. Grundkenntnisse zur Simulation 2. Einführung in ProModel 3. Grundbausteine von ProModel 4. Path Networks 5. Variablen und Counter 6. User Distributions 7. Attribute 8. Uhrzeitabhängiges Routing und Schichtkalender 9. Statistische Auswertung der Simulationsdaten 10. Statistische Verteilungen 11. Aufbereitung empirischer Daten 12. Arbeiten mit ProActive X 13. Fallstudie Gliederung

Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

62

1. Grundkenntnisse zur Simulation

2. Einführung in ProModel

3. Grundbausteine von ProModel

4. Path Networks

5. Variablen und Counter

6. User Distributions

7. Attribute

8. Uhrzeitabhängiges Routing und Schichtkalender

9. Statistische Auswertung der Simulationsdaten

10.Statistische Verteilungen

11.Aufbereitung empirischer Daten

12.Arbeiten mit ProActive X

13.Fallstudie

Gliederung

Page 2: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

63

Move Logic:

What happens to an entity when it moves from one location to the next?

- How long does it take to travel?

- Does it need any resources to move it?

- Does it look any different?

Using a MOVE FOR x statement will cause the entities to move along the routing arrow to the destination location.

Example:

Move For 5 min

Or: Move For N(5,1) min

3. ProModel – Move Logic

Page 3: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

64

Use Move Logic to specify the ● time, ● resource, or● path to use

when moving between locations.

Each routing record (each possible destination) has its own movelogic.

Logic may be executed before and after the actual move.

3. ProModel – Move Logic

Page 4: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

65

Click on “Move Logic” to open the logic window

Click on “Move Logic” to open the logic window

Click on the Logic Builder button or right click in the window to bring up the Logic Builder window

Click on the Logic Builder button or right click in the window to bring up the Logic Builder window

3. ProModel – Move Logic

Page 5: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

66

Logic Builder: a Tool for Entering Logic

• Contains the names of all defined items in the model.

• Works from any field that accepts logic or expressions.

• Ensures correct syntax.

• Particularly useful while learning ProModel logic statements.

3. ProModel – Logic Builder

Use the Logic Builder to enter logic when you are unsure of the syntax or the names of model elements !

Use the Logic Builder to enter logic when you are unsure of the syntax or the names of model elements !

Page 6: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

67

Explanation of selected logic statement

Explanation of selected logic statement

Buttons associated with selected statement

Buttons associated with selected statement

Category selection. Other options are:• All statements• Basic• Action• Control• Entity-related• Resource-related• Language syntax

Category selection. Other options are:• All statements• Basic• Action• Control• Entity-related• Resource-related• Language syntax

3. ProModel – Logic Builder

Page 7: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

68

3. ProModel – Logic Builder

• Entity-related

“Contains the names of all defined items in the model” :

Page 8: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

69

The available move statements appear in the “Basic” category

The available move statements appear in the “Basic” category

3. ProModel – Logic Builder and Move Logic

Page 9: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

70

Select the MOVE FOR statement and enter the movement time

Select the MOVE FOR statement and enter the movement time

Choose Paste and then Close when finished

Choose Paste and then Close when finished

The expression appears here as you build it.

The expression appears here as you build it.

3. ProModel – Move Logic

Page 10: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

71

Comments:

- Special symbols allow you to add comments in logic fields.

- The symbols # and // designate a comment on a single line. Any text following these symbols will be ignored

- The symbols /* and */ designate multi-line comments. Everything between the /* and the */ will be treated as a comment (and ignored).

3. ProModel – Adding Comments to Logic

Page 11: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

72

1. Grundkenntnisse zur Simulation

2. Einführung in ProModel

3. Grundbausteine von ProModel

4. Path Networks

5. Variablen und Counter

6. User Distributions

7. Attribute

8. Uhrzeitabhängiges Routing und Schichtkalender

9. Statistische Auswertung der Simulationsdaten

10.Statistische Verteilungen

11.Aufbereitung empirischer Daten

12.Arbeiten mit ProActive X

13.Fallstudie

Gliederung

Page 12: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

73

Path Networks define the course of travel for Resources.

Examples of Path Networks:

- Hallways connecting other hallways that connect to offices.

- Roadways, tracks, etc.

- Aisles connected together, where people and/or vehicles move.

4. ProModel – Path Networks

Page 13: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

74

Note Speed & Distance vs. TimeNote Speed & Distance vs. Time

4. ProModel – Path Network Module

Page 14: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

75

Nodes

Path Segments

Interfaces

Path Segments

Nodes

Interfaces

4. ProModel – Path Network Terminology

Page 15: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

76

Nodes are used as decision points and interface points.

Create a node at each point the Resource might need to make a decision or interface with a location.

4. ProModel – Nodes

Page 16: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

77

Path segments are the lines of travel between nodes.

Each segment can have its own time or distance properties defined, or Uni-directional or Bi-directional settings.

4. ProModel – Path Segments

Page 17: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

78

Interfaces define the relationship between a node and a location.

If a Resource is told to work at a given location, the Resource will travel to the node associated with that location.

Interfaces show the relationshipbetween path nodes and locations.Interfaces show the relationshipbetween path nodes and locations.

4. ProModel – Interfaces

Page 18: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

79

Modifikation:Die Einzelteile, die von „Warehouse“ zur Bearbeitungsstation „Mill“ geliefert werden, benötigen zum Transport einen Gabelstapler, diesmal eine dynamische Ressource (� Path Network). Die Transportzeit von „Warehouse“ zu „Mill“ beträgt 7 Minuten.Die erste Einzelteil-Lieferung soll die Station „Mill“ pünktlich um 7:00 Uhr erreichen.

• Wie wirkt sich der Befehl für die Ressource Gabelstapler „Return home if idle“ in diesem Beispiel aus?

Gemeinsames Beispiel „Schreinerei IIIb“

4. ProModel – Gemeinsames Beispiel

Page 19: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

80

4. ProModel – Gemeinsames Beispiel

Übung „Röntgenpraxis IIIb“

Modifikation:Die Patienten, die vom Parkplatz zur Röntgenpraxis gehen, werden wieder von einem Praxismitarbeiter zur Rezeption begleitet. Dort wird der Praxismitarbeiter wieder „freigegeben“. Der Praxismitarbeiter wird nun als dynamische Ressourcemodelliert, die sich auf einem eigenen „Path Network“ bewegt und seinen Platz an der Rezeption nur verlässt, um Patienten abzuholen (Home node: Rezeption). Die Dauer der Strecke vom Parkplatz zur Rezeption beträgt 5 Minuten.Der erste Patient soll pünktlich um 8:00 Uhr an der Rezeption ankommen.

Die Anmeldung an der Rezeption dauert weiterhin 5 Minuten.Im Anschluss erfolgt die 30-minütige Untersuchung durch die Ärztin/den Arzt (statische Ressource), die/der im Anschluss an die Untersuchung wieder freigegeben wird.

Der Patient geht wieder zurück zum Parkplatz (5 Minuten).

Page 20: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

81

Modifikation:Der Gabelstapler wird nun – zusätzlich zum Transport der Einzelteile vom „Warehouse“ zur „Mill“ – auch für den Transport der zusammengesetzten Regale zwischen den Stationen „Mill“ und „Box“ benötigt. Zusätzlich soll die Kapazität von „Warehouse“ – auch am Bildschirm sichtbar –von 1 auf 10 erhöht werden.

• Sollte in diesem Beispiel der Befehl „Return home if idle“ für den Gabelstapler aktiviert werden?

• Macht die Aktivierung dieses Features den Ablauf effizienter, oder wird der Materialfluß dadurch eher behindert? Wieso?

Gemeinsames Beispiel „Schreinerei IVa“

4. ProModel – Gemeinsames Beispiel

Page 21: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

82

4. ProModel – Gemeinsames Beispiel

Übung „Röntgenpraxis IVa“

Modifikation:Der Praxismitarbeiter wird nun – zusätzlich zum Begleitservice der Patienten vom Parkplatz zur Rezeption (Dauer: 5 Minuten) – auch für die Begleitung der Patienten zwischen Rezeption und Untersuchungsraum benötigt.Termine werden nun alle 20 Minuten vergeben. Der Anmeldeprozess dauert nun 10 Minuten. Für die Dauer des Anmeldeprozesses Rezeption wird der Praxismitarbeiter zwischenzeitlich nicht mehr „freigegeben“. Er begleitet den Patienten im Anschluss an die Anmeldung direkt in den Untersuchungsraum (Weg dauert 1 Minute) und bereitet ihn dort für die Untersuchung vor. Dies dauert weitere 4 Minuten. Der Praxismitarbeiter geht dann zurück an die Rezeption (sein „home node“). Die Ärztin (statische Ressource) übernimmt im Anschluss an die Vorbereitung den Patienten.Zusätzlich soll die Kapazität des Parkplatzes – auch am Bildschirm sichtbar – von 1 auf 10 erhöht werden.

Page 22: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

83

Modifikation:Da sich der Gabelstapler als beschränkende Ressource herausgestellt hat, schafft die Schreinerei einen zweiten Gabelstapler an, welcher die anfallenden Transporttätigkeiten unterstützen soll.

Gemeinsames Beispiel „Schreinerei IVb“

4. ProModel – Gemeinsames Beispiel

Page 23: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

84

4. ProModel – Gemeinsames Beispiel

Übung „Röntgenpraxis IVb“

Modifikation:Da sich der Praxismitarbeiter als beschränkende Ressource herausgestellt hat, stellt die Arztpraxis einen zweiten Mitarbeiter ein, welcher die Patienten von der Rezeption zum Untersuchungsraum begleiten soll. Beide Mitarbeiter nutzen denselben Pfad (Path Network). Der erste Mitarbeiter begleitet die Patienten vom Parkplatz zur Rezeption, führt dann direkt die Anmeldung durch und wird freigegeben. Im Anschluss wird der 2. Mitarbeiter aufgerufen.Die Untersuchung wird wieder von der Röntgenärztin (statische Ressource) durchgeführt.

Page 24: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

85

Modifikation:Da die Einzelteile auf der Bearbeitungsstation „Mill“ zu fertigen Regalen zusammengebaut werden, soll das Endprodukt aus diesem Prozess wie ein Regal aussehen und demgemäß ein anderes Aussehen haben als vorher.

Hierzu gibt es mehrere Wege, dies umzusetzen.Zwei davon werden hier vorgestellt:• Graphischer Zusatz unter bestehendem Entity• Einführung eines neuen Entities

Gemeinsames Beispiel „Schreinerei IVc“

4. ProModel – Gemeinsames Beispiel

Page 25: Gliederung - wiwi.uni-sb.de WS 0809...• Particularly useful while learning ProModel logic statements. 3. ProModel – Logic Builder Use the Logic Builder to enter logic when you

86

4. ProModel – Gemeinsames Beispiel

Übung „Röntgenpraxis IVc“

Modifikation:Die Patienten sollen im Anschluss an die Behandlung durch die Ärztin eine andere Grafik für den Rest des Simulationslaufs bekommen. Hierbei sollen in zwei getrennten Modellen beide eben aufgezeigten Wege umgesetzt werden.

Beispiele: • andere Farbe (um Status „behandelt“ hervorzuheben), oder• vorher Patient mit Gips, hinterher ohne Gips