InitalCommit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BaseCellSimulation.Enzyms.Nucleus
|
||||
{
|
||||
public class HistoneAcetyltransferase : InternalEnzym
|
||||
{
|
||||
public HistoneAcetyltransferase()
|
||||
{
|
||||
Km = 0.01;
|
||||
Vmax = 0.3;
|
||||
}
|
||||
|
||||
public override void ApplyChanges(CellRessources res, double dt)
|
||||
{
|
||||
double dA = Math.Min(rate * dt, res.Res.Protein.AcetylCoA);
|
||||
res.Res.Protein.AcetylCoA -= dA;
|
||||
res.Res.Nucleus.ChromatinAccessibility = Math.Min(1.0, res.Res.Nucleus.ChromatinAccessibility + dA * 0.1);
|
||||
}
|
||||
|
||||
public override void ComputeRate(Resources res)
|
||||
{
|
||||
Michaelis_Menten(res.Protein.AcetylCoA);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user