(Dec-15-2019, 04:05 PM)georgelza Wrote: A:) I'm trying to simulate 5 factories... 100 sensors min each, maybe more towards 200/300... pushing data every minute, I'll have collector processors that in this case would actually run this random generate code (in real world they would be getting data from the sensors.
I guess you can do this with my example (you've to modify it). You need to know the rate of change. For example a temperature sensor never jumps from 0°C to 100°C.
For gas sensors there is the T50, T70 and T90 value.
Quote:Response Time (T50) refers to the time it takes the sensor to respond with an output signal that is 50% of the full value of the gas being detected; i.e. if the sensor is exposed to a methane concentration of 2% by volume, it would take the sensor 10 seconds to give an output equivalent of 1%
I guess you've already the specification, which sensors to use.
You have too know about the characteristics, then you can model a value-generator for it.
Here is an example: https://cdn.sick.com/media/docs/8/68/668...041668.PDF
Response Time: (T50) 10 seconds
So my example is not enough, because the time is missing.
Measuring temperature is not an easy task.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!