InitalCommit
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
using BaseCellSimulation.Enzyms.Membrane;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using static System.Net.WebRequestMethods;
|
||||
|
||||
namespace BaseCellSimulation.Enzyms.Cytosol
|
||||
{
|
||||
public class Methionin_Adenosyltransferase : InternalEnzym
|
||||
{
|
||||
public double Km_ATP { get; set; }
|
||||
|
||||
public Methionin_Adenosyltransferase()
|
||||
{
|
||||
Km = 0.05;
|
||||
Vmax = 0.5;
|
||||
Km_ATP = 0.2;
|
||||
}
|
||||
|
||||
public override void ApplyChanges(CellRessources res, double dt)
|
||||
{
|
||||
double dSAM = Math.Min(rate * dt,res.Res.Energy.ATP);
|
||||
res.Res.Protein.MET -= dSAM;
|
||||
res.Res.Protein.SAM += dSAM;
|
||||
res.Res.Energy.ATP -= dSAM;
|
||||
res.Res.Phosphate.PPi += dSAM;
|
||||
res.Res.Phosphate.Pi += dSAM;
|
||||
}
|
||||
|
||||
public override void ComputeRate(Resources res)
|
||||
{
|
||||
rate = Vmax * (res.Protein.MET / (Km + res.Protein.MET)) * (res.Energy.ATP / (Km_ATP + res.Energy.ATP));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user