cohydra.mobility_input.mobility_input¶
Base abstract class for co-simulation positional input.
Classes
A MobilityInput can be used to control multiple node’s positions via an external positional simulation. |
-
class
cohydra.mobility_input.mobility_input.
MobilityInput
(name)[source]¶ Bases:
object
A MobilityInput can be used to control multiple node’s positions via an external positional simulation.
- Parameters
name (str) – The name of the MobilityInput. This does not have to be unique. It is used for logging debugging purposes.
-
name
= None¶ The name of the input.
-
node_mapping
= None¶ The mapping of simulation nodes to IDs identifying the nodes in the external simulation interface
-
prepare
(simulation)[source]¶ Prepare the external simulation if neccessary.
- Parameters
simulation (
Simulation
) – The simulation that is going to run.
Inheritance Diagramm
