Jump to content
Simio Forum

ptkolodziejczyk

Members
  • Content Count

    27
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ptkolodziejczyk

Converted

  • LOCATION
    Delft, NL

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. ptkolodziejczyk

    row number

    I am afraid you need to go around and create a state variable within the entity to hold the row number when you set the table row. Then, for a new entity you need just to use it for the SetRow step.
  2. ptkolodziejczyk

    Time TransferNode is occupied

    You can create a list state with 2 values: occupied or empty. Then every time an entity enters you set to occupied and when it leaves you check if it is the last entity and if so then set it to empty. The rest is taken for you and you can access percentage or total times easily. Otherwise, you need to have 3 global variables, call them Sum, Aux (both Real) and and Occupied (Boolean) to keep track if occupied. Then: OnEntered: If not Occupied then Aux = TimeNow, Occupied = True. OnExited: If Node.NumberTravelers == 0, then Sum = Sum + Aux - TimeNow, Occupied = False.
  3. ptkolodziejczyk

    Time TransferNode is occupied

    To know the exact times for individual entities you need to define state variables within you entity and compare the time between OnEntered and OnExited events. If you want to know general statistics of all you entities you should use a Tally Statistics. Then you also measure waiting time OnExited as: TimeNow - ModelEntity.TimeEnteredNode
  4. ptkolodziejczyk

    Arrival Table and property assignment

    A SimBit is a small sample model, explaining a concept. You can find them in the Support tab, first from the left "Sample SimBit Solutions" and then search there.
  5. ptkolodziejczyk

    Arrival Table and property assignment

    Defining table relations with primary and foreign keys is the easiest way to do that. Once a table row is set to one of the tables, Simio automatically uses related rows from other tables and you can reference them just by tablename.columnname. Have a look at SimBit: Using Relational Tables. As for creating entities, you need to set a row in a table before creating an entity, and then use associated fields from that table. For a property associated individually with each entity it is easiest to define a state for the entity and assign in after creation. Why don't you have a look at Appointment Arrivals SimBit, add the property column and go from there?
  6. ptkolodziejczyk

    can I measure the electricity consumption in Simio

    You can set up a level variable and then add a positive rate when it is in use. See e.g. SimBit called Electric Vehicle.
×