Minimal Simulation Kernel

minimal.directConnect(component_set)[source]

Perform a trimmed down version of the direct connection algorithm.

It does not support transfer functions, but all the rest is the same.

Parameters:component_set – the iterable to direct connect
Returns:the direct connected component_set
class minimal.Simulator(model)[source]

Minimal simulation kernel, offering only setTerminationTime and simulate.

Use this Simulator instead of the normal one to use the minimal kernel. While it has a lot less features, its performance is much higher. The polymorphic scheduler is also used by default.

__init__(model)[source]

Constructor

Parameters:model – the model to simulate
setTerminationTime(time)[source]

Set the termination time of the simulation.

Parameters:time – simulation time at which simulation should terminate
simulate()[source]

Perform the simulation