static_equilibrium_constraints

compas_cra.equilibrium.static_equilibrium_constraints(model, aeq, afr, p)

Create equilibrium and friction constraints.

Parameters:
modelmodel, optional

Pyomo model object

aeqcsr_matrix

Aeq matrix for equilibrium equation.

afrcsr_matrix

Afr matrix for friction equation,

pndarray

External force p.

Returns:
Callable, Callable

equilibrium and friction constraint functions for pyomo