add_threshold_activation
Add a threshold-based activation to a Petri net model, triggering after a set number of arrivals or processing time. Configure threshold, queue place, distribution, and time unit.
Instructions
Add threshold_activation pattern.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "add_threshold_activation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| threshold | No | ||
| queue_place_id | No | ||
| processing_time | No | ||
| distribution | No | exp | |
| time_unit | No | s |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |