33 lines
757 B
C#
33 lines
757 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BaseCellSimulation.Enzyms.Cytosol
|
|
{
|
|
public class Aldolase : InternalEnzym
|
|
{
|
|
public Aldolase()
|
|
{
|
|
Km = 0.1;
|
|
Vmax = 10;
|
|
|
|
KmRange = new(0.01, 0.3);
|
|
VmaxRange = new(2, 20);
|
|
}
|
|
|
|
public override void ApplyChanges(CellRessources res, double dt)
|
|
{
|
|
double used = Math.Min(rate * dt, res.Res.Carbon.FBP);
|
|
res.Res.Carbon.FBP -= used;
|
|
res.Res.Carbon.GAP += 2 * used;
|
|
}
|
|
|
|
public override void ComputeRate(Resources res)
|
|
{
|
|
Michaelis_Menten(res.Carbon.FBP);
|
|
}
|
|
}
|
|
}
|