Skip to content

Consider an async interface #37

@dyreby

Description

@dyreby

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions