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.Nucleus
|
||||
{
|
||||
public class HistoneDeacetylase : InternalEnzym
|
||||
{
|
||||
public HistoneDeacetylase()
|
||||
{
|
||||
Km = 0.02;
|
||||
Vmax = 0.25;
|
||||
}
|
||||
|
||||
public override void ApplyChanges(CellRessources res, double dt)
|
||||
{
|
||||
double dD = Math.Min(rate * dt, Math.Min(res.Res.Nucleus.ChromatinAccessibility / 0.1, res.Res.Energy.NAD));
|
||||
res.Res.Energy.NAD -= dD;
|
||||
res.Res.Energy.NADH += dD * 0.5;
|
||||
res.Res.Nucleus.ChromatinAccessibility = Math.Max(0.0, res.Res.Nucleus.ChromatinAccessibility - dD * 0.1);
|
||||
}
|
||||
|
||||
public override void ComputeRate(Resources res)
|
||||
{
|
||||
Michaelis_Menten(res.Energy.NAD);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user