fastcs.demo.simulation.device#

Members

TempController

TempController(name: tickit.core.typedefs.ComponentID, inputs: Dict[tickit.core.typedefs.PortID, tickit.core.typedefs.ComponentPort], num_ramp_controllers: int, default_start: float = 0, default_end: float = 50, host: str = 'localhost', port: int = 25565, type: Literal['fastcs.demo.simulation.device.TempController'] = 'fastcs.demo.simulation.device.TempController')

TempControllerAdapter

TempControllerDevice

handle_exceptions

Log and exit if the wrapped function raises an Exception.

fastcs.demo.simulation.device.handle_exceptions(func)[source]#

Log and exit if the wrapped function raises an Exception.

Tickit does not properly handle exceptions in e.g. update() methods. This wrapper is used to ensure we see the errors as soon as they occur.

class fastcs.demo.simulation.device.TempController(name: tickit.core.typedefs.ComponentID, inputs: Dict[tickit.core.typedefs.PortID, tickit.core.typedefs.ComponentPort], num_ramp_controllers: int, default_start: float = 0, default_end: float = 50, host: str = 'localhost', port: int = 25565, type: Literal['fastcs.demo.simulation.device.TempController'] = 'fastcs.demo.simulation.device.TempController')[source]#