Attribute Sensor Entry

From Planimate Knowledge Base
Jump to navigation Jump to search

Attribute Sensor Entry

Entry Mode Sensor.jpg

This mode enables you to watch the value of an attribute, and produce an item after a threshold value is reached or exceeded.

After producing the item, the entry will wait until a different threshold has been reached or exceeded before it is ‘reset’ and able to produce another item again.


Sensor Entry Configuration

This entry compares a target attribute (can be a portal attribute or table cell) against a trigger level.

When the target crosses the trigger, an item is produced by the entry.

The entry does not produce another item until a "reset" condition fires, this enables hysteresis to be implemented.

The entry has a very complete paused-click menu which shows everything you'd want to know about its current state.


How to configure the Sensor Trigger

Select the Attribute, or Table Cell Reference that is to be sensed.

Enter the Trigger Level, this can also be an Attribute or Cell reference.

Decide how the trigger is to work.

Use the “Trigger when Target” option to set the condition as follows:

When the Target Attribute Value is becoming: 

  • Less than the Trigger Level
Target Value must be reducing.


  • Less than or equal to the Trigger Level
Target Value must be reducing.


  • Equal to the Trigger Level
Target Value can be declining or increasing.


  • Greater than or equal to the Trigger Level
Target Value must be increasing.


  • Greater than the Trigger Level
Target Value must be increasing.


How to configure the Sensor Reset

Enter the Reset Level, this can also be an Attribute or Cell reference.


Decide how the Reset is to work.

Use the “Reset when Target” option to set the condition as follows:

When the Target Attribute Value is becoming:


  • Less than the Reset Level
Target Value must be reducing.


  • Less than or equal to the Reset Level
Target Value must be reducing.


  • Equal to the Reset Level
Target Value can be declining or increasing.


  • Greater than or equal to the Reset Level
Target Value must be increasing.


  • Greater than the Reset Level
Target Value must be increasing.


Note that for the Sensor mechanism to reset properly, you must ensure the combination of Trigger Condition and Reset Condition is logically valid in the circumstances of its use.


Sensor Entry Delayed Startup

Sensor entries can produce items from the moment the run starts.

If you need to you can disable the Sensor Entry for an interval after the run start. Set the Sensor Delay option to a value (specified in seconds).

This allows you to perform some initialising calculations without risking unwanted sensor entry activity.


Sensor Entry Options

If you want your Sensor Entry to be able to respond while the model is paused, select the option of "immediate move".

This will cause immediate activity when an attribute is changed while the model is paused.