InitalCommit
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user