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

33 lines
786 B
C#

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