# Action Logic

28 Articles

7 Articles

## What is Action Logic?

ProcessModel allows you to design custom behavior in your model by using action logic in which you enter simple but...

## What are Expressions?

An expression provides a value based on an evaluation of the names, constants, and symbols in the expression. Some expressions...

## What are Distributions?

In the real world, events tend to occur randomly, according to certain statistical patterns or distributions. Distributions allow you to...

## What are Action Logic Functions?

Functions provide you with critical system information at any given time during the simulation. They can be used in an...

## What are Action Logic Statements?

Statements are simply commands to be executed at particular stages in an entity’s progress through the process. The following pages...

## What are Numeric Expressions?

Unless otherwise stated in this manual, expressions refer to numeric expressions which consist of elements (attributes, variables, distributions, and constants)...

## What are Boolean Expressions?

In addition to numeric expressions, you may use logical operators to create Boolean expressions that compare two numeric expressions yielding...

## How do I use the Clock() Function?

Use Clock(min)Clock(sec)Clock(hr)Clock(Day)Clock(Wk) Syntax: CLOCK( ) or CLOCK(time unit) Example: a_Time = Clock( )v_Time_in_System =Clock( ) – CycleStartIf Clock(Hr) > 24Then…...

## How do I use the Contents() Function?

Returns the total number of entities at an activity. Use CONTENTS(name of activity) to make decisions based on how busy...

## How do I use FreeCap() Function?

Returns the available capacity of an activity (an integer). Example Suppose an entity can be routed to one of two...

## How do I use FreeUnits() Function?

Returns the free units of an activity or resource (an integer). Example The example below demonstrates the use of the...

## How do I use GroupQty() Function?

Returns the number of entities in a batched or loaded entity (a loaded entity is an entity with other entities...

## How do I use OwnedResource() Function?

Returns the n th resource currently being used by the entity. Each resource is referenced according to the order it...

## How do I use Percent() Function?

The percent function allows you to execute one or more statements only a certain percentage of the time. Used in...

## How do I use ResQty() Function?

Returns the number of units of a specific resource that the current entity owns. You can use RESQTY() to determine...

### Need Support?

Can't find the answer you're looking for?
Contact Support