To connect odysseus and mosaik, the odysseus query has to run first and after that the simulation in mosaik can be started.
In the mosaik documentation a tutorial can be found which describes the connection between mosaik and odysseus.
- cleanStrings If set to true, all underscores (_) in attribute names are replaced by hyphen (-), so that they can be used in expressions.
connect_many_to_one(world, nodes, odysseus, 'P', 'Vm') connect_many_to_one(world, houses, odysseus, 'P_out') connect_many_to_one(world, pvs, odysseus, 'P')
More details can be found in the mosaik documentation.