realvirtual.io
  • Building Digital Twins with Unity and realvirtual.io
  • Basics
    • Installation
    • Demo Model
      • Old Demo Model
    • Editor User Interface
      • Hierarchy Window
      • 3D Views
      • Quick Edit
      • Move Pivot Points (Pro)
      • Selection Window (Pro)
      • Material Window (Pro)
      • Measurement (Pro)
      • Kinematic Tool (Pro)
      • Model Checker
    • Runtime UI
      • Group Manager
      • Debug Console
      • Responsiveness
      • Runtime Persistence
    • Importing and exporting
    • Folder structure
    • Tutorial
    • Physics
    • CAD import (Pro)
      • CADLink (Pro)
      • CAD Checker (Pro)
      • CAD Updater (Pro)
    • Reusable Components (Prefabs)
    • Cadenas parts4cad
    • Publishing the Digital Twin
    • Revision management
  • News
  • Login & Download Updates (Pro)
  • Components & Scripts
    • Realvirtual
      • Environment Controller
    • MU, Source and Sink
      • Source
      • Sink
    • Motion and Kinematic
      • Drive
      • Kinematic
      • Group
      • Joint
      • CAM
      • TransportSurface
      • Guided Transport
      • KinematicMU (Pro)
      • Drive behavior
      • Chain
      • Chain element
      • Motion for developers
    • Sensors
      • Sensor
      • Measure
      • MeasureRaycast
    • Picking and Placing MUs
      • Grip
      • Gripper
      • Fixer
      • Pattern
    • Changing MUs
      • MaterialChanger
      • PartChanger
      • Cutter
    • Scene Interaction
      • Tooltip (Pro)
      • 3D Buttons
      • Screen Overlay Buttons
      • Scene Selectables (Pro)
      • Lamp
      • Interact3D
      • UI components
      • HMI components (Pro)
        • Start your own HMI
        • HMI Tab
        • HMI DropDown
        • HMI Puschbutton
        • HMI Switch
        • HMI Value
        • HMI Text
        • HMI Slider
        • HMI Message
        • HMI Marker
      • ModelZoo (Pro)
    • Interfaces
      • Interface Tools
        • Signal Manager
        • Signal Importer Exporter
        • Signal Catcher
        • OnValueChangedReconnect
      • Signal Importer / Exporter
      • ABB RobotStudio (Pro)
      • Denso Robotics (Pro)
      • EthernetIP (Pro)
      • Fanuc (Pro)
      • FMI
      • Igus Rebel
      • MQTT (Pro)
      • Modbus (Pro)
      • OPCUA (Pro)
      • PLCSIM Advanced (Pro)
      • RoboDK (Pro)
      • RFSuite (Pro)
      • SEW SimInterface (Pro)
      • Siemens Simit Interface (Pro)
      • Simit Shared Memory (Pro)
      • Simulink (Pro)
      • S7 TCP
      • TwinCAT (Pro)
      • TwinCAT HMI (Pro)
      • UDP (Pro)
      • Universal Robots (Pro)
      • Wandelbots Nova (Pro)
      • Websocket (Pro)
      • Windmod Y200 (Pro)
      • Custom Interfaces
    • Performance Tools
      • Combine Meshes (Pro)
      • Create Prefab (Pro)
      • Hierarchy Cleanup (Pro)
      • Mesh Optimizer (Pro)
      • Performance Optimizer (Pro)
    • Defining Logic
      • Unity Scripting
      • Behavior Graph
      • Logicsteps
      • Unity Visual Scripting
      • Recorder
    • Robot Inverse Kinematics (Pro)
    • Volume Tracking (Pro)
  • Multiplayer (Pro)
  • Extensions
    • ModelZoo
      • Beckhoff TwinCAT
      • Siemens S7
      • Denso Cobotta 1300
      • Wandelbots Nova Fanuc CRX
      • Universal Robots UR10
      • Fanuc Roboguide
    • realvirtual.io AIBuilder
      • realvirtual.io AI Builder Overview
      • Generate AI Training Data
      • AI Training
      • Testing AI in a Digital Twin
      • Deploying the AI
    • realvirtual.io Simulation
      • Conveyor Library
      • Path System
        • Path finding
        • Line
        • Curve
        • Workstation
        • Catcher
        • Pathmover
    • realvirtual.io Industrial Metaverse
      • Setup Guide
      • VR Modules
      • AR Modules
      • Multiuser
    • AGX Physics
    • VR Builder
    • CMC ViewR
  • Advanced Topics
    • Render Pipelines
    • Mixed Reality with Meta Quest3
    • Upgrade Guide
      • Upgrade to 2022
    • Open Digital Twin Interface
    • Usefull Addons
    • Improving Performance
    • Supported Platforms
    • Compiler Defines
    • For Developers
      • Important Classes and Interfaces
      • Assembly Definitions
      • Starting your development
      • Class documentation
      • realvirtual Init Sequence
      • realvirtualBehavior Lifetime Methods
      • Testing
    • Newtonsoft JSON
    • Troubleshooting
  • Release Notes
  • AI Digital Twin Assistant (GPT4)
  • License Conditions
Powered by GitBook
On this page
Edit on GitHub
  1. Extensions
  2. realvirtual.io Simulation
  3. Path System

Workstation

PreviousCurveNextCatcher

Last updated 2 years ago

The Workstation is used to model work processes inside of a path system. The Workstation is detecting the Pathmovers by a box collider. As soon as the distance between the pivot point of the is not decreasing any more the is starting to be stopped (depending of the drive with an deceleration). When the is stopped and the work process is started.

Public properties and methods

Dimension The Dimension of the Workstation (the visualized collider)

Distribution The Distribution of the worktime. If the distribution is not constant you need to define additional parameters. Also it is necessary to define the random seed to get deterministic random seeds.

Mean Time The mean time of the worktime in seconds (on distributed worktime)

Worktime The worktime in seconds (on constant worktime)

Availability The Station is able to simulate failures. The failures are defined by the Availability in percent of the station and the mean time to repair in seconds. For both, the failure distance and for the failure duration a random seed must be defined. The distribution function for the failure distance is negative exponential and the distribution of the failure duration is Erlang. These are the most common distributions to describe technical failures.

During a failure the Pathmovers are able to continue entry and exit out of a station. A current work process will be interrupted by a failure and the Pathmover will not be able to leave before the full time of the workprocess is done.

Defining custom working times

Public Methods

The public methods can be for example used in your custom workstation processes.

void StartWorking() Starts the working process in the workstation. Needs to be started by using this method if it has been blocked by AllowStart.

Defining custom workstation processes

To define your totally custom defined workstation you can define your own component, that implements the Interface IWorkstationProcess. These methods can totally control the workstation behavior. The LoadWorkstationProcess.cs and UnloadWorkstationProcess shows you an example.

void OnFailureStart(WorkStation station) Is called when a failure is starting.

void OnFailureEnd(WorkStation station) Is called when a failure is ending.

void OnStart(WorkStation station,float time) Is called when the work process is started.

The working time can be defined with custom component scripts implementing the interface IGetStationTime. First on the a component which implements the interface IGetStationTime is searched. If there is no implementation on the PathMover an implementation of the interface on the Station itself is searched. If there is no implementation of IGetStationTime available the stationtime the standard worktime which is defined in the properties is used.

void OpenWorkstationEntry() Opens the Workstation Entry, if before the has been blocked by AllowEntry

bool AllowEntry(WorkStation station, PathMover pathMover) If true is returned the can enter the workstation. If false is returned the entry needs to be started by calling the public Method OpenWorkstationEntry()

bool AllowStart(WorkStation station, PathMover pathMover) If true is returned the working process on can start. If false is returned, the start needs to be started by calling the public Method StartWorking()

void OnEnd(WorkStation station, PathMover pathMover) Is called when the work process is ended and the starts leaving the Workstation.

void OnExit(WorkStation station, PathMover pathMover) Is called when the the has totally left the Workstation

© 2022 in2Sight GmbH - All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including printing, saving, photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher.

Path Mover
Path Mover
Path Mover
Path Mover
Path Mover
Path Mover
https://realvirtual.io
Path Mover
Path Mover
Path Mover