This was posted on 2024-02-10
This is a simple layout simulator capable of simulating any number of stations and robots to find out the movement of payloads through your layout and final output of the layout.
Github source code - iamJohnnySam/Throughput_Calculator (github.com)
To configure your stations we need to edit the stations.json file which has the below json format to edit.
{
'Loading': {
'Time': 0,
'Robot': false,
'Capacity': 100000,
'Stations': 1,
'Buffer': false,
'Attached': ''
},
'Station 1': {
'Time': 5,
'Robot': false,
'Capacity': 1,
'Stations': 1,
'Buffer': false,
'Attached': ''
}
}
The Key on the outside refers to the name of the station. The keys on the inner dictionary refer to the following.
Having needed some additional functionalities I updated my code with the following features.
New json script structure:
{
'Wet Robot': {
'type': 'robot',
'area': 'wet',
'count': 1,
'get_time': 15,
'put_time': 15
},
'Dry Robot': {
'type': 'robot',
'area': 'dry',
'count': 1,
'get_time': 15,
'put_time': 15
},
'Loading': {
'type': 'station',
'process': 'loading',
'area': 'wet',
'time': 0,
'capacity': 100000,
'count': 1,
'buffer': false,
'attach': ''
},
'Station 1': {
'type': 'station',
'process': 'process1',
'area': 'wet',
'time': 5,
'capacity': 2,
'count': 1,
'buffer': false,
'attach': ''
},
'Sta 1 Ext': {
'type': 'station',
'process': 'process2',
'area': 'wet',
'time': 5,
'capacity': 2,
'count': 1,
'buffer': false,
'attach': 'Station 1'
},
'Station 2': {
'type': 'station',
'process': 'process3',
'area': 'dry',
'time': 55,
'capacity': 2,
'count': 2,
'buffer': false,
'attach': ''
},
See other projects and posts in the same category as this post
![]() |
Robot Layout Simulator | |
A simple tool to determine the output of your layout | ||
python | 2024-02-10 | Read More.... |
![]() |
Measuring Repeatability across multiple images with code | |
repeatable, measurement | 2023-05-12 | Read More.... |