pySimBlocks.gui.blocks.systems.non_linear_state_space¶
- class pySimBlocks.gui.blocks.systems.non_linear_state_space.NonLinearStateSpaceMeta[source]¶
Bases:
BlockMetaDescribe the GUI metadata of the user-defined nonlinear state-space block.
- resolve_port_group(port_meta: PortMeta, direction: Literal['input', 'output'], instance: BlockInstance) list[PortInstance][source]¶
Resolve dynamic input and output ports from configured key lists.
- Parameters:
port_meta – Declared port metadata.
direction – Direction of the port group.
instance – Block instance whose ports are being built.
- Returns:
Concrete ports for the requested port group.
- build_param(session, form: QFormLayout, readonly: bool = False)[source]¶
Build the nonlinear-state-space parameter editor.
- Parameters:
session – Active dialog session.
form – Form layout receiving the widgets.
readonly – Whether the dialog is read-only.