andes.core.block.LeadLagLimit#
- class andes.core.block.LeadLagLimit(u, T1, T2, lower, upper, name=None, tex_name=None, info=None)[source]#
Lead-Lag transfer function block with hard limiter (series implementation).
┌─────────┐ upper │ 1 + sT1 │ /¯¯¯¯¯ u -> │ ─────── │ -> ynl / -> y │ 1 + sT2 │ _____/ └─────────┘ lowerExports four variables: state x, output before hard limiter ynl, output y, and AntiWindup lim.
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.