constraints

compas_cra.equilibrium.constraints(name, eps=0.0001)

Constraint functions for pyomo.

Parameters:
namestr
  • contact: contact constraint, \({f_{jkn}^i}\: ({\delta d_{jkn}^i} + eps) = 0\)

  • penalty_contact: penalty formulation contact constraint, \({f_{jkn}^{i+}}\:({\delta d_{jkn}^i} + eps) = 0\)

  • fn_np: fn+ and fn- cannot coexist, \({f_{jkn}^{i+}} \: {f_{jkn}^{i-}} = 0\)

  • no_penetration: no penetration constraint, \({f_{jkn}^{i+}}\:({\delta d_{jkn}^i} + eps) = 0\)

  • ft_dt: friction and virtual sliding alignment, \(f_{jkt}^{i} = -{\alpha_{jk}^i} \: \delta{d}_{jkt}^{i}\)

  • penalty_ft_dt: penalty formulation friction and virtual sliding alignment, \(f_{jkt}^{i} = -{\alpha_{jk}^i} \: \delta{d}_{jkt}^{i}\)

epsfloat, optional

epsilon, overlapping parameter

Returns:
Callable

constraint function for pyomo