aquakin.IdentityTranslator#

class aquakin.IdentityTranslator(model)[source]#

Bases: object

Pass-through translator for when source and target models are the same — the only kind of translator BSM1 needs.

The plant inserts one of these automatically on any connection whose source and target units share a model reference, so users don’t normally need to instantiate it directly.

Parameters:

model (CompiledModel)

__init__(model)[source]#
Parameters:

model (CompiledModel)

Return type:

None

Methods

__init__(model)

coupling_pattern()

The identity map couples each species only to itself.

translate(C_source[, digester_pH])

coupling_pattern()[source]#

The identity map couples each species only to itself.