functionECreate
creates a new entity of the given entity type
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n | ||
| Real | HCR | Entity Type HoldCostRate | |
| Real | VA | Entity Type VACost | |
| Real | NVA | Entity Type NVACost | |
| Real | W | Entity Type WaitCost | |
| Real | T | Entity Type TranCost | |
| Real | O | Entity Type OtherCost | |
| Integer | ID | Entity Type ID | |
| Real | Time | current time | |
| Integer | attr | reference to the attributes list |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | entity | reference to the new entity |