Refactor ASM3 module to export ASM_CONSTANTS and update references in Reactor classes
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
const math = require('mathjs')
|
||||
const math = require('mathjs');
|
||||
|
||||
const ASM_CONSTANTS = {
|
||||
S_O_INDEX: 0,
|
||||
NUM_SPECIES: 13
|
||||
};
|
||||
|
||||
/**
|
||||
* ASM3 class for the Activated Sludge Model No. 3 (ASM3). Using Koch et al. 2000 parameters.
|
||||
@@ -208,4 +213,4 @@ class ASM3 {
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ASM3;
|
||||
module.exports = { ASM3, ASM_CONSTANTS };
|
||||
Reference in New Issue
Block a user