Sequential#

Sequential Operations#

Operator

Class

-> (Initial value)

See BinaryExpr

pre (Unit delay)

See UnaryExpr

pre (Initialized unit delay)

See BinaryExpr

window (Temporal window)

See Window

../../../_images/sequential.svg
class ansys.scadeone.core.swan.Window(size: Expression, init: Group, params: Group)#

Bases: Expression

Temporal window: expr ::= window <<expr>> ( group ) ( group ).

get_full_path() str#

Full path of Swan construct.

static set_owner(owner: Self, children: Self | Iterable[Self])#

Helper to set owner as the owner of each item in the Iterable items.

Parameters:
ownerSwanItem

Owner of the items.

childrenUnion[SwanItem, Iterable[SwanItem]]

Items to set owner.

property init: Group#

Window initial values.

property is_protected: bool#

Tell if a construct item is syntactically protected with some markup and is stored as a string (without the markup).

property model: Model#

Return model containing the Swan item.

property module: ModuleBase#

Module containing the item.

Returns:

ModuleBase: module container, see ModuleBody and ModuleInterface

property owner: Self#

Owner of current Swan construct.

property params: Group#

Window parameters.

property size: Expression#

Window size.