Process and Activity Properties

Generate1 Customers
Type:	Generate
Icon:	Generate
Local Attributes
		None Defined.

Entity:	Customer
Quantity:	1.0
Start/End Schedule
	Start:	No date specified	No time specified	
	  End:	No date specified	No time specified	
Schedules
	Cyclical Schedule:	Customer Arrivals
		No Event Event:	Midnight to 8 AM
		Duration:	8	Units:	Hours		Repeat Event:	0
		Comment:	
		Periodic Event:	8 AM to 2 PM
		Entity:	Customer
		Quantity:	1.0
		Interval:	Exp(20.0, 2)		Time Units:	Minutes
		Generate at start of first interval:	true
		Start/End Schedule
			No data specified.
		Comment:	
		Event Duration:	6	Units:	Hours		Event Count Limit:	None
		Both must be reached:	false
		Repeat Event:	0
		Infinite:	false
		Comment:	
		Periodic Event:	2 PM to 8 PM
		Entity:	Customer
		Quantity:	1.0
		Interval:	Exp(10.0, 2)		Time Units:	Minutes
		Generate at start of first interval:	true
		Start/End Schedule
			No data specified.
		Comment:	
		Event Duration:	6	Units:	Hours		Event Count Limit:	None
		Both must be reached:	false
		Repeat Event:	0
		Infinite:	false
		Comment:	
		Periodic Event:	8 PM to 10 PM
		Entity:	Customer
		Quantity:	1.0
		Interval:	Exp(20.0, 2)		Time Units:	Minutes
		Generate at start of first interval:	true
		Start/End Schedule
			No data specified.
		Comment:	
		Event Duration:	2	Units:	Hours		Event Count Limit:	None
		Both must be reached:	false
		Repeat Event:	0
		Infinite:	false
		Comment:	
		No Event Event:	10 PM to Midnight
		Duration:	2	Units:	Hours		Repeat Event:	0
		Comment:	
		Repeat Sequence:	0
		Infinite:	true
		Start/End Schedule
			No data specified.
		Comment:	

Collect Activity Statistics:	false
Collect Activity by Entity Statistics:	false
Comment:	

Pads:
Pad Name: out1 Pad Type: OutputPad


Pay
Type:	Delay
Icon:	Delay
Local Attributes
		None Defined.

Resource Usage
	Resources Required:
		Name:	Order Taker	Units:	1.0
	Policy:	Any One Member
Duration:	Uni(3.0,5.0,3)	Units:	Minutes
Collect Activity Statistics:	false
Collect Activity by Entity Statistics:	false
Comment:	

Pads:
Pad Name: in1 Pad Type: InputPad
Pad Name: out1 Pad Type: OutputPad


Get Truck
Type:	Process
Icon:	DefaultIcon
Local Attributes
		None Defined.


Collect Activity Statistics:	false
Collect Activity by Entity Statistics:	false
Comment:	

Pads:
Pad Name: in1 Pad Type: InputPad
Pad Name: out1 Pad Type: OutputPad


Get Truck C
Type:	GetResource
Icon:	GetResource
Local Attributes
		None Defined.

Resource Usage
	Resources Required:
		Name:	Truck C	Units:	1.0
	Policy:	Any One Member
Expressions
	Expression:	Release Entity
		Entity.TruckType := "Truck C";
Tag:	Truck

Collect Activity Statistics:	false
Collect Activity by Entity Statistics:	false
Comment:	

Pads:
Pad Name: in1 Pad Type: InputPad
Pad Name: out1 Pad Type: OutputPad


Get Truck B
Type:	GetResource
Icon:	GetResource
Local Attributes
		None Defined.

Resource Usage
	Resources Required:
		Name:	Truck B	Units:	1.0
	Policy:	Any One Member
Expressions
	Expression:	Release Entity
		Entity.TruckType := "Truck B";
Tag:	Truck

Collect Activity Statistics:	false
Collect Activity by Entity Statistics:	false
Comment:	

Pads:
Pad Name: in1 Pad Type: InputPad
Pad Name: out1 Pad Type: OutputPad


Get Truck A
Type:	GetResource
Icon:	GetResource
Local Attributes
		None Defined.

Resource Usage
	Resources Required:
		Name:	Truck A	Units:	1.0
	Policy:	Any One Member
Expressions
	Expression:	Release Entity
		Entity.TruckType := "Truck A";
Tag:	Truck

Collect Activity Statistics:	false
Collect Activity by Entity Statistics:	false
Comment:	

Pads:
Pad Name: in1 Pad Type: InputPad
Pad Name: out1 Pad Type: OutputPad


Choose Truck Type
Type:	Branch
Icon:	Branch
Local Attributes
		None Defined.

Resource Usage
	Resources Required:		None selected.
Branch Type:	Probability
Duration:	None	Units:	Hours
Collect Activity Statistics:	false
Collect Activity by Entity Statistics:	false
Comment:	

Pads:
Pad Name: in1 Pad Type: InputPad
Pad Name: out1 Pad Type: OutputPad


Wait Too Long?
Type:	Branch
Icon:	Branch
Local Attributes
		None Defined.

Resource Usage
	Resources Required:		None selected.
Expressions
	Expression:	Accept Entity
		IF Entity.EndWait
		  Entity.PassedMaxWait := TRUE;
		  Entity.EndWait := FALSE;
		END IF;
		{Check to see if entity left without getting truck. If so, this Customer is leaving the system.}
Branch Type:	Attribute PassedMaxWait
Duration:	None	Units:	Hours
Collect Activity Statistics:	false
Collect Activity by Entity Statistics:	false
Comment:	

Pads:
Pad Name: in1 Pad Type: InputPad
Pad Name: out1 Pad Type: OutputPad


Dissatisfied Customers
Type:	Dispose
Icon:	Dispose
Local Attributes
		None Defined.

Maximum Entity Count:	None

Collect Activity Statistics:	true
Collect Activity by Entity Statistics:	false
Comment:	

Pads:
Pad Name: in1 Pad Type: InputPad


Wait Too Long?
Type:	Branch
Icon:	Branch
Local Attributes
		None Defined.

Resource Usage
	Resources Required:		None selected.
Expressions
	Expression:	Accept Entity
		IF Entity.EndWait
		  Entity.PassedMaxWait := TRUE;
		  Entity.EndWait := FALSE;
		END IF;
		{Check to see if entity left without getting truck. If so, this Customer is leaving the system.}
Branch Type:	Attribute PassedMaxWait
Duration:	None	Units:	Hours
Collect Activity Statistics:	false
Collect Activity by Entity Statistics:	false
Comment:	

Pads:
Pad Name: in1 Pad Type: InputPad
Pad Name: out1 Pad Type: OutputPad


Dissatisfied Customers
Type:	Dispose
Icon:	Dispose
Local Attributes
		None Defined.

Maximum Entity Count:	None

Collect Activity Statistics:	true
Collect Activity by Entity Statistics:	false
Comment:	

Pads:
Pad Name: in1 Pad Type: InputPad


Get Truck
Type:	GetResource
Icon:	GetResource
Local Attributes
		None Defined.

Resource Usage
	Resources Required:		None selected.
Expressions
	Expression:	Accept Entity
		truckProb : REAL;
		truckProb := DrawRealSample("Uni(0, 1)");
		IF truckProb <= 0.3
		  Entity.TruckType := "Truck A";
		ELSIF truckProb <= 0.7
		  Entity.TruckType := "Truck B";
		ELSE
		  Entity.TruckType := "Truck C";
		END IF;
		GetResource(Entity.TruckType, 1, "Truck");
Tag:	any tag!

Collect Activity Statistics:	false
Collect Activity by Entity Statistics:	false
Comment:	

Pads:
Pad Name: in1 Pad Type: InputPad
Pad Name: out1 Pad Type: OutputPad


Fill Truck
Type:	Delay
Icon:	Delay
Local Attributes
		None Defined.

Resource Usage
	Resources Required:
		Name:	Pump	Units:	1.0
	Policy:	Any One Member
Duration:		Units:	Minutes
Collect Activity Statistics:	false
Collect Activity by Entity Statistics:	false
Comment:	

Pads:
Pad Name: in1 Pad Type: InputPad
Pad Name: out1 Pad Type: OutputPad


Deliver Water
Type:	Delay
Icon:	Delay
Local Attributes
		None Defined.

Resource Usage
	Resources Required:		None selected.
Duration:	Nor(35.0,2.0,8)	Units:	Minutes
Collect Activity Statistics:	false
Collect Activity by Entity Statistics:	false
Comment:	

Pads:
Pad Name: in1 Pad Type: InputPad
Pad Name: out1 Pad Type: OutputPad


Free Truck
Type:	FreeResource
Icon:	FreeResource
Local Attributes
		None Defined.

Release all Allocated Resources:	true
List of Actions:
	None defined.

Collect Activity Statistics:	false
Collect Activity by Entity Statistics:	false
Comment:	

Pads:
Pad Name: in1 Pad Type: InputPad
Pad Name: out1 Pad Type: OutputPad


Dispose Customer
Type:	Dispose
Icon:	Dispose
Local Attributes
		None Defined.

Maximum Entity Count:	None

Collect Activity Statistics:	false
Collect Activity by Entity Statistics:	false
Comment:	

Pads:
Pad Name: in1 Pad Type: InputPad