Skip to content

Commit

Permalink
add initial, airation and start of bioreactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiggax committed Feb 18, 2025
1 parent 7af5f44 commit 925bae4
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ pub struct Initial {
pub glucose: f64,
/// Initial Glutamine level in the bioreactor [g / L]
pub glutamine: f64,
/// diluted Oxigen concentration [%]
pub oxygen_part: f64,
}
impl Initial {
Expand All @@ -128,11 +129,18 @@ impl Initial {
}
}

/// Bioreactor feeding struct
/// this contains all of the feeding variables.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Feeding {
pub start: f64, // [day]
pub rate: f64, // [(%"IWV")/"day]
/// Start time of the feeding [day]

Check warning on line 136 in src/model.rs

View workflow job for this annotation

GitHub Actions / build

unresolved link to `day`
pub start: f64, // [day]
/// Feeding rate, at which the feed is added to the reactor in reference to its volume.
/// [(% "IWV")/ day]
pub rate: f64, // [(%"IWV")/"day]
/// Glucose ammount in the feed per litre [g/L]
pub glucose: f64, // [g/L]
/// Glutamine ammount in the feed per litre [g/L]
pub glutamine: f64,
}
impl Feeding {
Expand All @@ -145,7 +153,7 @@ impl Feeding {
}
}
}

/// Struct reprisenting the bioreactor
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Bioreactor {
pub mu_max: f64,
Expand Down

0 comments on commit 925bae4

Please sign in to comment.