31 lines
729 B
C#
31 lines
729 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BaseCellSimulation.Enzyms.Cytosol
|
|
{
|
|
public class AHCY : InternalEnzym
|
|
{
|
|
public AHCY()
|
|
{
|
|
Km = 0.02;
|
|
Vmax = 0.3;
|
|
}
|
|
|
|
public override void ApplyChanges(CellRessources res, double dt)
|
|
{
|
|
double dSAH = Math.Min(rate * dt, res.Res.Protein.SAH);
|
|
res.Res.Protein.SAH -= dSAH;
|
|
res.Res.Protein.Homocystein += dSAH;
|
|
res.Res.Protein.Adenosin += dSAH;
|
|
}
|
|
|
|
public override void ComputeRate(Resources res)
|
|
{
|
|
Michaelis_Menten(res.Protein.SAH);
|
|
}
|
|
}
|
|
}
|