Add fluid volume and initial component inputs to advanced-reactor node edit dialogue
This commit is contained in:
4
dependencies/reactor_class.js
vendored
4
dependencies/reactor_class.js
vendored
@@ -3,12 +3,12 @@ const math = require('mathjs')
|
||||
|
||||
class Reactor_CSTR {
|
||||
|
||||
constructor(initial_state) {
|
||||
constructor(volume, initial_state) {
|
||||
this.state = initial_state;
|
||||
console.log(this.state);
|
||||
this.asm = new ASM3();
|
||||
|
||||
this.Vl = 10.0; // fluid volume reactor [m3]
|
||||
this.Vl = volume; // fluid volume reactor [m3]
|
||||
this.F = 1.0; // fluid debit [m3 d-1]
|
||||
this.C_in = [0., 30., 100., 16., 0., 0., 5., 25., 75., 30., 0., 0., 125.]; // composition influent
|
||||
this.OTR = 100.0; // oxygen transfer rate [g O2 d-1]
|
||||
|
||||
Reference in New Issue
Block a user