Python-Control Export

Export Lynx diagrams to python-control for analysis, simulation, and controller design.

Export Methods

Lynx provides two primary export methods:

# Transfer function representation
sys_tf = diagram.get_tf('from_signal', 'to_signal')

# State-space representation
sys_ss = diagram.get_ss('from_signal', 'to_signal')

Both methods:

  • Take two signal references (from and to)

  • Return python-control objects (TransferFunction or StateSpace)

  • Perform validation before export (raises ValidationError if invalid)

For more information see Subsystem Export.

See Also