Files
CellSimulation/BaseCellSimulation/Enzyms/Cytosol/Enolase.cs
T
WyanMueller d2e409d10f InitalCommit
2025-11-16 10:30:26 +01:00

34 lines
752 B
C#

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