using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace BaseCellSimulation.Enzyms.Cytosol { public class Pyrophosphatase : InternalEnzym { public Pyrophosphatase() { Vmax = 2.0; Km = 0.01; VmaxRange = new(1, 10); KmRange = new(0.001, 0.05); } public override void ApplyChanges(CellRessources res, double dt) { double dPPi = Math.Max(rate, res.Res.Phosphate.PPi); res.HydrolyzePPi(dPPi); } public override void ComputeRate(Resources res) { Michaelis_Menten(res.Phosphate.PPi); } } }