-
Notifications
You must be signed in to change notification settings - Fork 3
Functioning Simul8 Agent #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The initial version of Simul8 should be 0.1.0. There's an inconsistency in the 'Releasing a new version' section of the README.md
updated gitignore
|
@Rasmus-M-C The following command is giving error. $python .\use_simul8_agent.py --api-payload docs/examples/batch-simulation/api/simulation_batch.yaml.example
Traceback (most recent call last):
File "C:\Users\foo\git\simulation-bridge\agents\simul8\simul8_agent\resources\use_simul8_agent.py", line 204, in <module>
client = SimpleUsageSimul8Agent(
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\foo\git\simulation-bridge\agents\simul8\simul8_agent\resources\use_simul8_agent.py", line 52, in __init__
self.connection = pika.BlockingConnection(
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\foo\AppData\Local\pypoetry\Cache\virtualenvs\simul8-agent-qKz0Vxb2-py3.12\Lib\site-packages\pika\adapters\blocking_connection.py", line 360, in __init__
Exception in thread Thread-1 (start_listener):
Traceback (most recent call last):
self._impl = self._create_connection(parameters, _impl_class)
File "C:\Python312\Lib\threading.py", line 1073, in _bootstrap_inner
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\foo\AppData\Local\pypoetry\Cache\virtualenvs\simul8-agent-qKz0Vxb2-py3.12\Lib\site-packages\pika\adapters\blocking_connection.py", line 451, in _create_connection
self.run()
File "C:\Python312\Lib\threading.py", line 1010, in run
raise self._reap_last_connection_workflow_error(error)
pika.exceptions.IncompatibleProtocolError: StreamLostError: ('Transport indicated EOF',)The RabbitMQ credentials are correct. I have checked the connectivity using a simple RabbitMQ client program and also from simul8_agent. The simul8 agent connects to the broker successfully. |
…sociation/simulation-bridge into feature/simul8_agent
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #26 +/- ##
=======================================
Coverage ? 88.88%
=======================================
Files ? 2
Lines ? 360
Branches ? 0
=======================================
Hits ? 320
Misses ? 40
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|


Added demo video and example file for simul8 usage
Rewrote readme for simul8 usage.
Created csv parser utility, for creating the input files for simul8 simulations.
None of the tests are rewritten for the simul8 agent, currently, hence they are omitted.