using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BaseCellSimulation.Enzyms.Cytosol { public class Aldolase : InternalEnzym { public Aldolase() { Km = 0.1; Vmax = 10; KmRange = new(0.01, 0.3); VmaxRange = new(2, 20); } public override void ApplyChanges(CellRessources res, double dt) { double used = Math.Min(rate * dt, res.Res.Carbon.F1_6BP); res.Res.Carbon.F1_6BP -= used; res.Res.Carbon.GA3P += 2 * used; } public override void ComputeRate(Resources res) { Michaelis_Menten(res.Carbon.F1_6BP); } } }