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