ScenarioExtension#
- class wattson.cosimulation.control.scenario_extension.ScenarioExtension(co_simulation_controller: CoSimulationController, **kwargs)#
Bases:
ABC
Methods
Called after the co-simulation has been started and is running.
Called after the initial network creation and after the physical simulator adds its modifications.
Called after the co-simulation has been started, but no services have been started yet.
Called after the initial network creation, but before the physical simulator adds its modifications.
provides_on_run
provides_post_physical
provides_post_start
provides_pre_physical
- __init__(co_simulation_controller: CoSimulationController, **kwargs)#
- extend_on_run()#
Called after the co-simulation has been started and is running.
- extend_post_physical()#
Called after the initial network creation and after the physical simulator adds its modifications. :return:
- extend_post_start()#
Called after the co-simulation has been started, but no services have been started yet.
- extend_pre_physical()#
Called after the initial network creation, but before the physical simulator adds its modifications. :return: