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

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);
}
}
}