Files
WyanMueller d2e409d10f InitalCommit
2025-11-16 10:30:26 +01:00

33 lines
763 B
C#

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);
}
}
}