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

34 lines
823 B
C#

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