anfeny e75bb3ffe8 Add origin attribute to mqtt messages 3 months ago
..
data_models e75bb3ffe8 Add origin attribute to mqtt messages 3 months ago
devs_models 892d271027 Initial commit with previous projects 3 months ago
pythonpdevs 892d271027 Initial commit with previous projects 3 months ago
test 892d271027 Initial commit with previous projects 3 months ago
utils 892d271027 Initial commit with previous projects 3 months ago
PythonPDEVS-master.zip 892d271027 Initial commit with previous projects 3 months ago
README.md ac4ec4a4f8 Update readmes with setup information 3 months ago
experiment_realtime.py 892d271027 Initial commit with previous projects 3 months ago
fast_simulation.py 892d271027 Initial commit with previous projects 3 months ago
flowchart.md 892d271027 Initial commit with previous projects 3 months ago
realtime_simulation.py 892d271027 Initial commit with previous projects 3 months ago
requirements.txt 892d271027 Initial commit with previous projects 3 months ago

README.md

FischerTechnik-DEVS

A DEVS model of the FischerTechnik Lernfabrik 9V

Requirements

This project was built using Python 3.10 and the following packages. I recommend the same or higher versions of these packages.

  • PyPDEVS 2.4.2
  • loguru 0.7.3
  • PythonPDEVS (delivered in repo)

Flowchart


flowchart LR
	subgraph Generator
		Generator_out("out")
		Generator_mqtt_out("mqtt_out")
	end
	subgraph InputBay
		InputBay_out("out")
		InputBay_inp("inp")
		InputBay_inp ~~~ InputBay_out
	end
	subgraph Transporter
		Transporter_in_B("in_B")
		Transporter_out_B("out_B")
		Transporter_mqtt_out("mqtt_out")
		Transporter_mqtt_in("mqtt_in")
		Transporter_in_A("in_A")
		Transporter_out_A("out_A")
		Transporter_in_A ~~~ Transporter_out_A
		Transporter_in_B ~~~ Transporter_out_B
		Transporter_mqtt_in ~~~ Transporter_mqtt_out
	end
	subgraph Conveyor
		Conveyor_inp("inp")
		Conveyor_out("out")
		Conveyor_inp ~~~ Conveyor_out
	end
	subgraph Collector
		Collector_inp("inp")
	end
	subgraph MQTTControlUnit
		MQTTControlUnit_mqtt_in("mqtt_in")
		MQTTControlUnit_mqtt_out("mqtt_out")
		MQTTControlUnit_mqtt_in ~~~ MQTTControlUnit_mqtt_out
	end
	Generator_out --> InputBay_inp
	Generator_mqtt_out --> MQTTControlUnit_mqtt_in
	InputBay_out --> Transporter_in_A
	Transporter_out_B --> Conveyor_inp
	Conveyor_out --> Collector_inp
	MQTTControlUnit_mqtt_out --> Transporter_mqtt_in