自由度

(函数来自 pyomo.contrib.viewer.report)

pyomo.contrib.viewer.report.degrees_of_freedom(blk)[source]

返回自由度。

Parameters:

blk (BlockBlockData) – 用于计算自由度的块

Returns:

自由度的数量

Return type:

(int)