andes.core.block.DeadBand1#
- class andes.core.block.DeadBand1(u, center, lower, upper, gain=1.0, enable=True, name=None, tex_name=None, info=None, namespace='local')[source]#
Deadband type 1 (linear, non-step).
Note
DeadBand1.y must remain
Algeb(notObservable) because other models (e.g., DGPRCT1) reference it viaExtAlgeb.- Parameters:
- center
Default value when within the deadband. If the input is an error signal, center should be set to zero.
- gain
Gain multiplied to DeadBand discrete block's output.
Notes
Block diagram
| / ______|__/___ -> Gain -> DeadBand1_y / | / |
- __init__(u, center, lower, upper, gain=1.0, enable=True, name=None, tex_name=None, info=None, namespace='local')[source]#
Methods
define()Notes
enforce_tex_name(fields)Enforce tex_name is not None
export()Method for exporting instances defined in this class in a dictionary.
f_numeric(**kwargs)Function call to update differential equation values.
g_numeric(**kwargs)Function call to update algebraic equation values.
j_numeric(**kwargs)Per-iteration numerical Jacobian update.
j_reset()Helper function to clear the lists holding the numerical Jacobians.
j_setup()One-time Jacobian sparsity pattern and constant value setup.
Attributes
class_nameReturn the class name.