You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System analysis: bd.functions() turns a block diagram into the functions f(x,u) and g(x,u), and bd.linearize() gives the A, B, C, D matrices and poles at an operating point; Linearization.ss() hands the result to python-control
Type checking: every wire has a signature recorded at compile time, source blocks emit one type, and the run-time checks catch an output that changes type
New blocks: STATE, STATE_S, SWITCH, SQRT, SIGN, ABS, DEADBAND, HYSTERESIS_S, ANOISE_S and MNOISE_S
Event handling for discontinuous blocks: zero-crossing events for INTEGRATOR limits and enable, and for CLIP, DEADBAND, SIGN, ABS and SWITCH, so the simulation lands on the discontinuity
Block parameters: one registry (Block.set_param, parameters(), --set and --param) with type enforcement, and subsystems forward their parameters to the blocks inside
Subsystem INPORT and OUTPORT blocks are replaced by wires, which fixes #84
A complete set of notebooks for classic control problems: Furuta pendulum, ball and beam, cart and pole, coupled tanks, temperature control, and system analysis; and an index with tags
Behaviour change
A list of numbers is now an ndarray by default, with asarray=False to opt out
Features
--npz writes the results as a NumPy archive (#154) (6ee2a19)
a list of numbers becomes an ndarray by default, with asarray=False to opt out (dd55a75)
a list of numbers becomes an ndarray by default; asarray=False to opt out (93bef9d)
add ANOISE_S and MNOISE_S, clocked additive and multiplicative noise blocks (#184) (8786f82)
add bd.functions() and bd.linearize() (#202) (0e346a2)
add HYSTERESIS_S, a discrete-time hysteresis (relay with memory) block (#182) (6508400)
add icons for SWITCH and the blocks that had none (#188) (dc7c472)
add icons for the new function, hysteresis and noise blocks (#186) (6f33dce)
add Sqrt, Sign, Abs and Deadband function blocks (#178) (e89e173)
add SWITCH, a block that selects one of two signals (#187) (f22fc56)
add the Block.configure() hook, run once per run before start() (70656dc)