When a trnsys.Simulation steps forward it blocks the current thread until the step is complete. A workaround for users right now is to implement their own thread/process executor that runs a trnsys.Simulation. It may be worth creating a wrapper in TrnPy for a simulation that implements the necessary thread/process coordination and exposes async methods for the user.
When a
trnsys.Simulationsteps forward it blocks the current thread until the step is complete. A workaround for users right now is to implement their own thread/process executor that runs atrnsys.Simulation. It may be worth creating a wrapper in TrnPy for a simulation that implements the necessary thread/process coordination and exposesasyncmethods for the user.