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.emissions_est #34

Closed Kyupii closed 7 months ago

Kyupii commented 7 months ago

For N = [3,1,1,1,2]

We expect CO2 = .6008043 kg/kg SOX = 0.0003138 kg/kg NOX = 0.000402 kg/kg BOD = 1.0007E-10 kg/kg COD = 0.0002045 kg/kg

Kyupii commented 7 months ago
N = np.array([3,1,1,1,2]) 
props.emissions_est(N)

yields

CO2: 600.7489217690558 g/kg SOX: 227.36834468871885 mg/kg NOX: 401.9666292366284 mg/kg BOD: 0.00010006910141682594 mg/kg COD: 204.5125670338924 mg/kg

Kyupii commented 7 months ago

Everything lines up except for SOX (it's straight up wrong), and I cannot for the life of me figure out why. I've double checked the regression equation over and over and I cannot for the life of me figure out why.

Kyupii commented 7 months ago

the slides are supposedly slightly incorrect.