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