verify_chop_energy_sum | R Documentation |
R and Y chop calculations involve
isolating rows or columns of the R and Y matrices,
performing downstream swims (with new_R_ps()
) and
upstream swims (with new_Y()
), and
creating the ECC portions that
follow from the row or column of R or
support the creation of the row or column of Y.
After performing that downstream or upstream swim, the sum of the
isolated (chopped) ECCs should equal the original ECC.
This function performs that energy balance verification.
verify_chop_energy_sum(
.sut_data = NULL,
tol = 1e-04,
R_mat,
U_mat,
U_feed_mat,
V_mat,
Y_mat,
R_chop_list,
U_chop_list,
U_feed_chop_list,
V_chop_list,
Y_chop_list
)
.sut_data |
An optional data frame of energy conversion chain matrices. |
tol |
The tolerance within which energy balance is assumed to be OK. Default is |
R_mat , U_mat , U_feed_mat , V_mat , Y_mat |
The matrices of the original ECC. |
R_chop_list , U_chop_list , U_feed_chop_list , V_chop_list , Y_chop_list |
Lists of matrices from different upstream swims corresponding to different rows or columns of Y. |
The various *_chop_list
arguments should be lists of matrices
formed by isolating (chopping) different parts of R or Y.
The matrices in R_chop_list
, U_chop_list
, U_feed_chop_list
V_chop_list
, and Y_chop_list
should sum to
R
, U
, U_feed
, V
, and Y
, respectively.
This is not a public function.
It is an internal helper function
for chop_R()
and chop_Y()
.
TRUE
if energy balance is observed, FALSE
otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.