pathsim.blocks.multiplier module

class pathsim.blocks.multiplier.Multiplier[source]

Bases: Block

Multiplies all signals from all input ports (MISO).

\[y(t) = \prod_i u_i(t)\]

Note

This block is purely algebraic and its operation (op_alg) will be called multiple times per timestep, each time when Simulation._update(t) is called in the global simulation loop.

op_alg

internal algebraic operator that wraps ‘prod’

Type:

Operator

update(t)[source]

update system equation

Parameters:

t (float) – evaluation time