Kyupii / CheToolbox

A personal project which packages common Chemical Engineering Calcs & Physical properties libraries.
GNU General Public License v3.0
2 stars 0 forks source link

validate props.greenhouse_emissions_est #35

Closed Kyupii closed 7 months ago

Kyupii commented 7 months ago
n = np.array([[0, 4, 0, 0, 0, 0, 1],
             [0, 1, 0, 0, 1, 1, 0],
             [0, 2, 0, 1, 0, 1, 0],
             [0, 2, 0, 0, 2, 0, 0],
             [0, 0, 0, 0, 2, 0, 0]])

should yield WF's of:

717.13 0.0006 26.254 0.9594 0.0004

Kyupii commented 7 months ago

running

props.greenhouse_emissions_est(n)

returns

 WF: [ 7.181e+02  5.754e-04  2.625e+01  9.594e-01  3.617e-04]

bruh it's still slightly off. Someone have a look over the regression coefficients again too please. I've looked them over and over.

Kyupii commented 7 months ago

This is now returning the correct values (yipee!!)